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
Commits
e0de90e8
Commit
e0de90e8
authored
7 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[fvassembly] Forward numDofs to gridgeometry. Fixes
#408
.
parent
848dfd5c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!617
[WIP] Next
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/assembly/fvassembler.hh
+1
-3
1 addition, 3 deletions
dumux/assembly/fvassembler.hh
with
1 addition
and
3 deletions
dumux/assembly/fvassembler.hh
+
1
−
3
View file @
e0de90e8
...
@@ -60,8 +60,6 @@ class FVAssembler
...
@@ -60,8 +60,6 @@ class FVAssembler
static
constexpr
int
dim
=
GridView
::
dimension
;
static
constexpr
int
dim
=
GridView
::
dimension
;
static
constexpr
bool
isBox
=
GET_PROP_VALUE
(
TypeTag
,
DiscretizationMethod
)
==
DiscretizationMethods
::
Box
;
static
constexpr
bool
isBox
=
GET_PROP_VALUE
(
TypeTag
,
DiscretizationMethod
)
==
DiscretizationMethods
::
Box
;
static
constexpr
int
dofCodim
=
isBox
?
dim
:
0
;
using
LocalAssembler
=
std
::
conditional_t
<
isBox
,
BoxLocalAssembler
<
TypeTag
,
diffMethod
,
isImplicit
>
,
using
LocalAssembler
=
std
::
conditional_t
<
isBox
,
BoxLocalAssembler
<
TypeTag
,
diffMethod
,
isImplicit
>
,
CCLocalAssembler
<
TypeTag
,
diffMethod
,
isImplicit
>>
;
CCLocalAssembler
<
TypeTag
,
diffMethod
,
isImplicit
>>
;
...
@@ -323,7 +321,7 @@ public:
...
@@ -323,7 +321,7 @@ public:
//! cell-centered schemes have one dof per cell
//! cell-centered schemes have one dof per cell
std
::
size_t
numDofs
()
const
std
::
size_t
numDofs
()
const
{
return
gridView
().
size
(
dofCodim
);
}
{
return
fvGridGeometry_
->
numDofs
(
);
}
const
Problem
&
problem
()
const
const
Problem
&
problem
()
const
{
return
*
problem_
;
}
{
return
*
problem_
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment