Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Merge requests
!1005
[cc][fvelemgeom] make numScv() constexpr
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
[cc][fvelemgeom] make numScv() constexpr
feature/make-cc-numScv-constexpr
into
master
Overview
4
Commits
1
Pipelines
0
Changes
2
Closed
Dennis Gläser
requested to merge
feature/make-cc-numScv-constexpr
into
master
6 years ago
Overview
4
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
029aaaab
1 commit,
6 years ago
2 files
+
12
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
dumux/discretization/cellcentered/mpfa/fvelementgeometry.hh
+
6
−
6
Options
@@ -126,10 +126,10 @@ public:
ScvfIterator
(
g
.
scvfIndicesOfScv
(
scvIdx
).
end
(),
fvGeometry
));
}
//! number of sub control volumes in this fv element geometry
std
::
size_t
numScv
()
const
//! number of sub control volumes in this fv element geometry
(always one for cc schemes)
static
constexpr
std
::
size_t
numScv
()
{
return
scvIndices_
.
size
()
;
return
1
;
}
//! number of sub control volumes in this fv element geometry
@@ -247,9 +247,9 @@ public:
return
Dune
::
IteratorRange
<
IteratorType
>
(
g
.
scvfs_
.
begin
(),
g
.
scvfs_
.
end
());
}
//! number of sub control volumes in this fv element geometry
std
::
size_t
numScv
()
const
{
return
scvs_
.
size
()
;
}
//! number of sub control volumes in this fv element geometry
(always one for cc schemes)
static
constexpr
std
::
size_t
numScv
()
{
return
1
;
}
//! number of sub control volumes in this fv element geometry
std
::
size_t
numScvf
()
const
Loading