This commit is contained in:
James E McClure 2019-03-20 22:14:13 -04:00
parent 3070ce63fd
commit 582bce8a19
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ SubPhase::~SubPhase()
} }
void SubPhase::Write() void SubPhase::Write(int timestep)
{ {
if (Dm->rank()==0){ if (Dm->rank()==0){
fprintf(TIMELOG,"%i %.5g %.5g %.5g %.5g %.5g %.5g %.5g %.5g ",timestep,rho_n,rho_w,nu_n,nu_w,Fx,Fy,Fz,gamma_wn); fprintf(TIMELOG,"%i %.5g %.5g %.5g %.5g %.5g %.5g %.5g %.5g ",timestep,rho_n,rho_w,nu_n,nu_w,Fx,Fy,Fz,gamma_wn);

View File

@ -100,7 +100,7 @@ public:
void SetParams(double rhoA, double rhoB, double tauA, double tauB, double force_x, double force_y, double force_z, double alpha, double beta); void SetParams(double rhoA, double rhoB, double tauA, double tauB, double force_x, double force_y, double force_z, double alpha, double beta);
void Basic(); void Basic();
void Full(); void Full();
void Write(); void Write(int time);
private: private:
FILE *TIMELOG; FILE *TIMELOG;