Commit 4a20c1e0 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

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

parent 224ec196
...@@ -198,8 +198,8 @@ public: ...@@ -198,8 +198,8 @@ public:
// we need to obtain the domain marker of the fracture element that is coupled to this face // 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 // 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) // know that the fracture domain id is 1 (see main file)
static constexpr std::size_t fractureDomainId = 1; static constexpr auto fractureDomainId = Dune::index_constant<1>();
const auto& fractureProblem = couplingManager().template problem<fractureDomainId>(); const auto& fractureProblem = couplingManager().problem(fractureDomainId);
// use helper function in coupling manager to obtain the element this face couples to // use helper function in coupling manager to obtain the element this face couples to
const auto fractureElement = couplingManager().getLowDimElement(element, scvf); const auto fractureElement = couplingManager().getLowDimElement(element, scvf);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment