Skip to content
Snippets Groups Projects
Commit 4a20c1e0 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[ex-fractures][solution] use correct call to problem()

parent 224ec196
No related branches found
No related tags found
1 merge request!54update dumux-course to dumux 3.0
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment