@@ -113,13 +113,13 @@ CRKSPHBase<Dimension>::
113113initializeProblemStartupDependencies (DataBase<Dimension>& dataBase,
114114 State<Dimension>& state,
115115 StateDerivatives<Dimension>& derivs) {
116- ADV_TIME_BEGIN (" CRKBaseInitializeProblemStartupDependencies" );
116+ TIME_BEGIN (" CRKBaseInitializeProblemStartupDependencies" );
117117
118118 // Initialize the pressure, sound speed, and entropy.
119119 updateStateFields<Dimension>(HydroFieldNames::pressure, state, derivs);
120120 updateStateFields<Dimension>(HydroFieldNames::soundSpeed, state, derivs);
121121 updateStateFields<Dimension>(HydroFieldNames::entropy, state, derivs);
122- ADV_TIME_END (" CRKBaseInitializeProblemStartupDependencies" );
122+ TIME_END (" CRKBaseInitializeProblemStartupDependencies" );
123123}
124124
125125// ------------------------------------------------------------------------------
130130CRKSPHBase<Dimension>::
131131registerState (DataBase<Dimension>& dataBase,
132132 State<Dimension>& state) {
133- ADV_TIME_BEGIN (" CRKBaseRegisterState" );
133+ TIME_BEGIN (" CRKBaseRegisterState" );
134134
135135 // Create the local storage for time step mask, pressure, sound speed, and correction fields.
136136 dataBase.resizeFluidFieldList (mTimeStepMask , 1 , HydroFieldNames::timeStepMask);
@@ -183,7 +183,7 @@ registerState(DataBase<Dimension>& dataBase,
183183 // Register the pressure and sound speed.
184184 state.enroll (mPressure , make_policy<PressurePolicy<Dimension>>());
185185 state.enroll (mSoundSpeed , make_policy<SoundSpeedPolicy<Dimension>>());
186- ADV_TIME_END (" CRKBaseRegisterState" );
186+ TIME_END (" CRKBaseRegisterState" );
187187}
188188
189189// ------------------------------------------------------------------------------
194194CRKSPHBase<Dimension>::
195195registerDerivatives (DataBase<Dimension>& dataBase,
196196 StateDerivatives<Dimension>& derivs) {
197- ADV_TIME_BEGIN (" CRKBaseRegisterDerivatives" );
197+ TIME_BEGIN (" CRKBaseRegisterDerivatives" );
198198
199199 const auto DxDtName = IncrementState<Dimension, Vector>::prefix () + HydroFieldNames::position;
200200 const auto DvDtName = HydroFieldNames::hydroAcceleration;
@@ -223,7 +223,7 @@ registerDerivatives(DataBase<Dimension>& dataBase,
223223 derivs.enroll (mDspecificThermalEnergyDt );
224224 derivs.enroll (mDvDx );
225225 derivs.enroll (mInternalDvDx );
226- ADV_TIME_END (" CRKBaseRegisterDerivatives" );
226+ TIME_END (" CRKBaseRegisterDerivatives" );
227227}
228228
229229// ------------------------------------------------------------------------------
@@ -235,7 +235,7 @@ CRKSPHBase<Dimension>::
235235preStepInitialize (const DataBase<Dimension>& dataBase,
236236 State<Dimension>& state,
237237 StateDerivatives<Dimension>& /* derivs*/ ) {
238- ADV_TIME_BEGIN (" CRKBasePreStepInitialize" );
238+ TIME_BEGIN (" CRKBasePreStepInitialize" );
239239
240240 // Depending on the mass density advancement selected, we may want to replace the
241241 // mass density.
@@ -258,7 +258,7 @@ preStepInitialize(const DataBase<Dimension>& dataBase,
258258 for (auto boundaryPtr: range (this ->boundaryBegin (), this ->boundaryEnd ())) boundaryPtr->applyFieldListGhostBoundary (massDensity);
259259 for (auto boundaryPtr: range (this ->boundaryBegin (), this ->boundaryEnd ())) boundaryPtr->finalizeGhostBoundary ();
260260 }
261- ADV_TIME_END (" CRKBasePreStepInitialize" );
261+ TIME_END (" CRKBasePreStepInitialize" );
262262}
263263
264264// ------------------------------------------------------------------------------
@@ -272,7 +272,7 @@ finalizeDerivatives(const typename Dimension::Scalar /*time*/,
272272 const DataBase<Dimension>& /* dataBase*/ ,
273273 const State<Dimension>& /* state*/ ,
274274 StateDerivatives<Dimension>& derivs) const {
275- ADV_TIME_BEGIN (" CRKBaseFinalizeDerivatives" );
275+ TIME_BEGIN (" CRKBaseFinalizeDerivatives" );
276276
277277 // If we're using the compatible energy discretization, we need to enforce
278278 // boundary conditions on the accelerations.
@@ -285,7 +285,7 @@ finalizeDerivatives(const typename Dimension::Scalar /*time*/,
285285 }
286286 for (auto boundaryPtr: range (this ->boundaryBegin (), this ->boundaryEnd ())) boundaryPtr->finalizeGhostBoundary ();
287287 }
288- ADV_TIME_END (" CRKBaseFinalizeDerivatives" );
288+ TIME_END (" CRKBaseFinalizeDerivatives" );
289289}
290290
291291// ------------------------------------------------------------------------------
296296CRKSPHBase<Dimension>::
297297applyGhostBoundaries (State<Dimension>& state,
298298 StateDerivatives<Dimension>& /* derivs*/ ) {
299- ADV_TIME_BEGIN (" CRKBaseApplyGhostBoundaries" );
299+ TIME_BEGIN (" CRKBaseApplyGhostBoundaries" );
300300
301301 // Apply boundary conditions to the basic fluid state Fields.
302302 // volume, mass, and massDensity handled by RKCorrections
@@ -313,7 +313,7 @@ applyGhostBoundaries(State<Dimension>& state,
313313 boundaryPtr->applyFieldListGhostBoundary (soundSpeed);
314314 boundaryPtr->applyFieldListGhostBoundary (entropy);
315315 }
316- ADV_TIME_END (" CRKBaseApplyGhostBoundaries" );
316+ TIME_END (" CRKBaseApplyGhostBoundaries" );
317317}
318318
319319// ------------------------------------------------------------------------------
324324CRKSPHBase<Dimension>::
325325enforceBoundaries (State<Dimension>& state,
326326 StateDerivatives<Dimension>& /* derivs*/ ) {
327- ADV_TIME_BEGIN (" CRKBaseEnforceBoundaries" );
327+ TIME_BEGIN (" CRKBaseEnforceBoundaries" );
328328
329329 // Enforce boundary conditions on the fluid state Fields.
330330 // volume, mass, and massDensity handled by RKCorrections
@@ -341,7 +341,7 @@ enforceBoundaries(State<Dimension>& state,
341341 boundaryPtr->enforceFieldListBoundary (soundSpeed);
342342 boundaryPtr->enforceFieldListBoundary (entropy);
343343 }
344- ADV_TIME_END (" CRKBaseEnforceBoundaries" );
344+ TIME_END (" CRKBaseEnforceBoundaries" );
345345}
346346
347347// ------------------------------------------------------------------------------
0 commit comments