Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
dorie
dorie
Commits
192a42d5
Commit
192a42d5
authored
Nov 06, 2018
by
Lukas Riedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Match cases for LOP BC type enums
parent
a8a230c4
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dune/dorie/model/richards/local_operator.hh
dune/dorie/model/richards/local_operator.hh
+3
-3
No files found.
dune/dorie/model/richards/local_operator.hh
View file @
192a42d5
...
...
@@ -60,7 +60,7 @@ struct RichardsDGWeights
struct
BCType
{
enum
Type
{
Neumann
,
//!< Fixed flux at boundary
d
irichlet
,
//!< Fixed matric head at boundary
D
irichlet
,
//!< Fixed matric head at boundary
none
//!< No BC specified
};
};
...
...
@@ -583,7 +583,7 @@ public:
else
if
(
BoundaryCondition
::
isDirichlet
(
bc
))
{
bcType
=
BCType
::
d
irichlet
;
bcType
=
BCType
::
D
irichlet
;
}
else
if
(
BoundaryCondition
::
isOther
(
bc
))
...
...
@@ -603,7 +603,7 @@ public:
continue
;
}
else
if
(
bcType
==
BCType
::
d
irichlet
)
else
if
(
bcType
==
BCType
::
D
irichlet
)
{
// evaluate gradient of basis functions (we assume Galerkin method lfsu = lfsv)
const
auto
&
gradphi_s
=
cache
[
order_s
].
evaluateJacobian
(
p_local_s
,
lfsu_s
.
finiteElement
().
localBasis
());
...
...
Write
Preview
Markdown
is supported
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