Reset the averaging interval to 5000 timesteps in lbpm_color_simulator

This commit is contained in:
James E McClure
2015-06-26 21:48:55 -04:00
parent e2141e52fb
commit c3f1f6570d

View File

@@ -1561,7 +1561,7 @@ int main(int argc, char **argv)
// Timestep completed!
timestep++;
//...................................................................
if (timestep%100 == 95){
if (timestep%5000 == 4995){
//...........................................................................
// Copy the phase indicator field for the earlier timestep
DeviceBarrier();
@@ -1569,7 +1569,7 @@ int main(int argc, char **argv)
// Averages.ColorToSignedDistance(beta,Averages.Phase,Averages.Phase_tplus);
//...........................................................................
}
if (timestep%100 == 0){
if (timestep%5000 == 0){
//...........................................................................
// Copy the data for for the analysis timestep
//...........................................................................
@@ -1584,7 +1584,7 @@ int main(int argc, char **argv)
CopyToHost(Averages.Vel_z.get(),&Velocity[2*N],N*sizeof(double));
MPI_Barrier(MPI_COMM_WORLD);
}
if (timestep%100 == 5){
if (timestep%5000 == 5){
//...........................................................................
// Copy the phase indicator field for the later timestep
DeviceBarrier();