git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5520 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#include "stdlib.h"
|
||||
#include "string.h"
|
||||
#include "fix_tmd.h"
|
||||
#include "lmptype.h"
|
||||
#include "atom.h"
|
||||
#include "update.h"
|
||||
#include "modify.h"
|
||||
@ -284,8 +285,9 @@ void FixTMD::initial_integrate(int vflag)
|
||||
work_lambda += lambda*(rho_target - rho_old);
|
||||
if (!(update->ntimestep % nfileevery) &&
|
||||
(previous_stat != update->ntimestep)) {
|
||||
fprintf(fp,"%d %g %g %g %g %g %g %g\n",
|
||||
update->ntimestep,rho_target,rho_old,
|
||||
char fstr[64];
|
||||
sprintf(fstr,"%s %%g %%g %%g %%g %%g %%g %%g\n",BIGINT_FORMAT);
|
||||
fprintf(fp,fstr,update->ntimestep,rho_target,rho_old,
|
||||
gamma_back,gamma_forward,lambda,work_lambda,work_analytical);
|
||||
fflush(fp);
|
||||
previous_stat = update->ntimestep;
|
||||
|
||||
Reference in New Issue
Block a user