Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11538b1

Browse files
committedDec 15, 2016
Changed: Register the primary solution field as "displacement" for the
staggered solver, such that input files with initial condition setup for the monolithic version also can be used by the staggered solver without issues
1 parent fb9b399 commit 11538b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎SIMDynElasticity.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ class SIMDynElasticity : public SIMElasticity<Dim>
137137

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

0 commit comments

Comments
 (0)
Please sign in to comment.