Skip to content

Commit

Permalink
Changed: Register the primary solution field as "displacement" for the
Browse files Browse the repository at this point in the history
staggered solver, such that input files with initial condition setup for the
monolithic version also can be used by the staggered solver without issues
  • Loading branch information
kmokstad committed Dec 20, 2017
1 parent 7f4a85b commit 5d7188e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SIMDynElasticity.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ class SIMDynElasticity : public SIMElasticity<Dim>

bool ok = this->setMode(SIM::INIT);
this->setQuadratureRule(Dim::opt.nGauss[0],true);
this->registerField("solution",dSim.getSolution());
this->registerField(phOrder > 1 ? "solution" : "displacement",
dSim.getSolution());
return this->setInitialConditions() && ok;
}

Expand Down

0 comments on commit 5d7188e

Please sign in to comment.