We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef50a56 commit 43984a5Copy full SHA for 43984a5
1 file changed
src/SPH/SPHBase.cc
@@ -213,6 +213,10 @@ registerState(DataBase<Dimension>& dataBase,
213
State<Dimension>& state) {
214
TIME_BEGIN("SPHBaseRegister");
215
216
+ // Create inital conditions for time step mask and omega correction
217
+ dataBase.resizeFluidFieldList(mTimeStepMask, 1, HydroFieldNames::timeStepMask);
218
+ dataBase.resizeFluidFieldList(mOmegaGradh, 1.0, HydroFieldNames::omegaGradh);
219
+
220
// We may need the volume per node as well.
221
const bool updateVolume = (this->densityUpdate() == MassDensityType::VoronoiCellDensity or
222
this->densityUpdate() == MassDensityType::SumVoronoiCellDensity);
0 commit comments