Commit 51c49e8f authored by jonathan.froehlich's avatar jonathan.froehlich
Browse files

Fixed Main assemble generation

parent 7eb0131b
......@@ -117,7 +117,9 @@ void MainElasticity::initAssemble() {
int degree = 1;
bool isStatic = false;
config.get("MechPolynomialDegree", degree);
mechA = std::make_unique<LagrangeElasticity>(*elasticityProblem, *pressureProblem, *meshes, degree, isStatic);
mechA = CreateFiniteElasticityAssemble(*elasticityProblem, *pressureProblem, *meshes, degree, isStatic);
}
double MainElasticity::EvaluateQuantity(const Vector &solution, const std::string &quantity) const {
......
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