49 |
|
delete[] moving; |
50 |
|
delete[] moved; |
51 |
|
delete[] prePos; |
52 |
– |
k |
52 |
|
} |
53 |
|
|
54 |
|
} |
214 |
|
currStatus = statusTime; |
215 |
|
currTime = 0.0;; |
216 |
|
|
217 |
+ |
|
218 |
+ |
readyCheck(); |
219 |
+ |
|
220 |
+ |
#ifdef IS_MPI |
221 |
+ |
strcpy( checkPointMsg, |
222 |
+ |
"The integrator is ready to go." ); |
223 |
+ |
MPIcheckPoint(); |
224 |
+ |
#endif // is_mpi |
225 |
+ |
|
226 |
|
while( currTime < runTime ){ |
227 |
|
|
228 |
|
if( (currTime+dt) >= currStatus ){ |
252 |
|
calcStress = 0; |
253 |
|
currStatus += statusTime; |
254 |
|
} |
255 |
+ |
|
256 |
+ |
#ifdef IS_MPI |
257 |
+ |
strcpy( checkPointMsg, |
258 |
+ |
"successfully took a time step." ); |
259 |
+ |
MPIcheckPoint(); |
260 |
+ |
#endif // is_mpi |
261 |
+ |
|
262 |
|
} |
263 |
|
|
264 |
|
dump_out->writeFinal(); |