fix bug
This commit is contained in:
parent
3070ce63fd
commit
582bce8a19
@ -79,7 +79,7 @@ SubPhase::~SubPhase()
|
||||
|
||||
}
|
||||
|
||||
void SubPhase::Write()
|
||||
void SubPhase::Write(int timestep)
|
||||
{
|
||||
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);
|
||||
|
@ -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 Basic();
|
||||
void Full();
|
||||
void Write();
|
||||
void Write(int time);
|
||||
|
||||
private:
|
||||
FILE *TIMELOG;
|
||||
|
Loading…
Reference in New Issue
Block a user