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
56de0233
Commit
56de0233
authored
8 years ago
by
Beatrix Becker
Browse files
Options
Downloads
Patches
Plain Diff
[interiorboundarydata] move makro outside of assert and remove bug MpfaFaceType -> MpfaFaceTypes
parent
670219fc
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/discretization/cellcentered/mpfa/interiorboundarydata.hh
+5
-4
5 additions, 4 deletions
.../discretization/cellcentered/mpfa/interiorboundarydata.hh
with
5 additions
and
4 deletions
dumux/discretization/cellcentered/mpfa/interiorboundarydata.hh
+
5
−
4
View file @
56de0233
...
@@ -123,12 +123,13 @@ public:
...
@@ -123,12 +123,13 @@ public:
VolumeVariables
facetVolVars
(
const
FVElementGeometry
&
fvGeometry
)
const
VolumeVariables
facetVolVars
(
const
FVElementGeometry
&
fvGeometry
)
const
{
{
//! This cannot be called when FacetCoupling is active
//! This cannot be called when FacetCoupling is active
assert
(
!
GET_PROP_VALUE
(
TypeTag
,
MpfaFacetCoupling
)
&&
"For models with a coupled problem on the element facets you have to"
static
const
bool
isFacetCoupling
=
GET_PROP_VALUE
(
TypeTag
,
MpfaFacetCoupling
);
"provide a suitable implementation of the InteriorBoundaryData class"
);
assert
(
!
isFacetCoupling
&&
"For models with a coupled problem on the element facets you have to"
"provide a suitable implementation of the InteriorBoundaryData class"
);
//! This can only be called for interior Dirichlet boundaries
//! This can only be called for interior Dirichlet boundaries
assert
(
faceType_
==
MpfaFaceType
::
interiorDirichlet
&&
"requesting Dirichlet vol vars for a face which is"
assert
(
faceType_
==
MpfaFaceType
s
::
interiorDirichlet
&&
"requesting Dirichlet vol vars for a face which is"
"not marked as interior Dirichlet face."
);
"not marked as interior Dirichlet face."
);
auto
element
=
problem_
().
model
().
globalFvGeometry
().
element
(
elementIndex
());
auto
element
=
problem_
().
model
().
globalFvGeometry
().
element
(
elementIndex
());
auto
priVars
=
problem_
().
dirichlet
(
element
,
fvGeometry
.
scvf
(
scvfIndex
()));
auto
priVars
=
problem_
().
dirichlet
(
element
,
fvGeometry
.
scvf
(
scvfIndex
()));
...
...
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