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-course
Commits
4a20c1e0
Commit
4a20c1e0
authored
Dec 17, 2018
by
Dennis Gläser
Browse files
[ex-fractures][solution] use correct call to problem()
parent
224ec196
Changes
1
Hide whitespace changes
Inline
Side-by-side
exercises/solution/exercise-fractures/matrixproblem.hh
View file @
4a20c1e0
...
...
@@ -198,8 +198,8 @@ public:
// we need to obtain the domain marker of the fracture element that is coupled to this face
// therefore we first get the fracture problem from the coupling manager. For this test, we
// know that the fracture domain id is 1 (see main file)
static
constexpr
std
::
size_t
fractureDomainId
=
1
;
const
auto
&
fractureProblem
=
couplingManager
().
template
problem
<
fractureDomainId
>(
);
static
constexpr
auto
fractureDomainId
=
Dune
::
index_constant
<
1
>
()
;
const
auto
&
fractureProblem
=
couplingManager
().
problem
(
fractureDomainId
);
// use helper function in coupling manager to obtain the element this face couples to
const
auto
fractureElement
=
couplingManager
().
getLowDimElement
(
element
,
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