Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
c5b3c40c
Commit
c5b3c40c
authored
Sep 09, 2021
by
Timo Koch
Browse files
[fcstaggered][bugfix] Create boundary volvars whenever there is at least one Dirichlet BC
parent
ecc9eaea
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/facecentered/staggered/elementvolumevariables.hh
View file @
c5b3c40c
...
...
@@ -133,7 +133,7 @@ public:
boundaryVolVarIndices_
.
push_back
(
scvFace
.
outsideScvIdx
());
};
if
(
bcTypes
.
has
Only
Dirichlet
())
if
(
bcTypes
.
hasDirichlet
())
{
addBoundaryVolVars
(
scvf
);
continue
;
...
...
@@ -141,7 +141,7 @@ public:
// treat domain corners
if
(
const
auto
&
orthogonalScvf
=
fvGeometry
.
lateralOrthogonalScvf
(
scvf
);
orthogonalScvf
.
boundary
())
if
(
problem
.
boundaryTypes
(
element
,
orthogonalScvf
).
has
Only
Dirichlet
())
if
(
problem
.
boundaryTypes
(
element
,
orthogonalScvf
).
hasDirichlet
())
addBoundaryVolVars
(
scvf
);
}
...
...
@@ -364,7 +364,7 @@ private:
volVarIndices_
.
push_back
(
scvFace
.
outsideScvIdx
());
};
if
(
bcTypes
.
has
Only
Dirichlet
())
if
(
bcTypes
.
hasDirichlet
())
{
addBoundaryVolVars
(
scvf
);
continue
;
...
...
@@ -372,7 +372,7 @@ private:
// treat domain corners
if
(
const
auto
&
orthogonalScvf
=
fvGeometry
.
lateralOrthogonalScvf
(
scvf
);
orthogonalScvf
.
boundary
())
if
(
problem
.
boundaryTypes
(
element
,
orthogonalScvf
).
has
Only
Dirichlet
())
if
(
problem
.
boundaryTypes
(
element
,
orthogonalScvf
).
hasDirichlet
())
addBoundaryVolVars
(
scvf
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment