Added call to TwoPhase::WriteSurfaces to lbpm_color_simulator so that surfaces are written at the end of simulation

This commit is contained in:
James E McClure
2015-07-20 14:39:33 -04:00
parent e3fa2da3b6
commit bba6e5c33b

View File

@@ -926,6 +926,8 @@ int main(int argc, char **argv)
DeviceBarrier();
CopyToHost(Averages.Phase.get(),Phi,N*sizeof(double));
Averages.WriteSurfaces(0);
sprintf(LocalRankFilename,"%s%s","Phase.",LocalRankString);
FILE *PHASE;
PHASE = fopen(LocalRankFilename,"wb");