Skip to content
Snippets Groups Projects
Commit 48b9358e authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Fix building EmbeddedGlobalGFEFunction with the 2.9 branch of dune-fufem

parent d4da6401
No related branches found
No related tags found
1 merge request!181Improve handling of local functions
Pipeline #17519 failed
......@@ -177,7 +177,8 @@ namespace Dune::GFE
localCoeff[i] = this->dofs()[localView.index(i)];
// create local gfe function
LocalInterpolationRule localInterpolationRule(localView.tree().finiteElement(),localCoeff);
LocalInterpolationRule localInterpolationRule(localView.globalBasis());
localInterpolationRule.bind(element,localCoeff);
return localInterpolationRule.evaluate(local).globalCoordinates();
}
......@@ -201,7 +202,8 @@ namespace Dune::GFE
localCoeff[i] = this->dofs()[localView.index(i)];
// create local gfe function
LocalInterpolationRule localInterpolationRule(localView.tree().finiteElement(),localCoeff);
LocalInterpolationRule localInterpolationRule(localView.globalBasis());
localInterpolationRule.bind(element,localCoeff);
// use it to evaluate the derivative
auto refJac = localInterpolationRule.evaluateDerivative(local);
......
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