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 Sep 10, 2018
1 parent 8cad770 commit b9ebafc
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 @@ -90,7 +90,8 @@ class SIMDynElasticity : public Sim

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 b9ebafc

Please sign in to comment.