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'
25 timeDirs[Current_time_step],
33 timeDirs[Current_time_step + 1],
38 meshPtr->readUpdate();
44 timeDirs[Current_time_step + 1],
49 if (Numparts_available > nPatches+1)
52 sprayPtr = new Cloud<passiveParticle>(*meshPtr);