1 //======================================================================
2 void USERD_set_time_set_and_step
9 Info << "Entering: USERD_set_time_set_and_step" << endl << flush;
11 // update the global pointers and variables
12 // to the current time-step
14 // at exit time_step < 0
17 Time& runTime = *runTimePtr;
18 Current_time_step = time_step;
19 // add 1, since the first timestep is 'constant'
23 runTime.setTime(TimeList[Current_time_step], Current_time_step);
29 TimeList[Current_time_step + 1], Current_time_step + 1
33 meshPtr->readUpdate();
37 secondMeshPtr->readUpdate();
40 // fvMesh motion done via a meshObject. HJ, 8/Aug/2011
43 // faMeshPtr->movePoints(meshPtr->points());
50 TimeList[Current_time_step + 1], Current_time_step + 1
54 // if (Numparts_available > nPatches+1)
58 sprayPtr = new Cloud<passiveParticle>(*meshPtr);