git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11090 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -184,7 +184,6 @@ void FixHeat::end_of_step()
|
|||||||
}
|
}
|
||||||
double vcmsq = vcm[0]*vcm[0] + vcm[1]*vcm[1] + vcm[2]*vcm[2];
|
double vcmsq = vcm[0]*vcm[0] + vcm[1]*vcm[1] + vcm[2]*vcm[2];
|
||||||
|
|
||||||
|
|
||||||
// add heat via scale factor on velocities for CONSTANT and EQUAL cases
|
// add heat via scale factor on velocities for CONSTANT and EQUAL cases
|
||||||
// scale = velocity scale factor to accomplish eflux change in energy
|
// scale = velocity scale factor to accomplish eflux change in energy
|
||||||
// vsub = velocity subtracted from each atom to preserve momentum
|
// vsub = velocity subtracted from each atom to preserve momentum
|
||||||
|
|||||||
@ -88,6 +88,7 @@ void WriteRestart::command(int narg, char **arg)
|
|||||||
sprintf(file,"%s" BIGINT_FORMAT "%s",arg[0],update->ntimestep,ptr+1);
|
sprintf(file,"%s" BIGINT_FORMAT "%s",arg[0],update->ntimestep,ptr+1);
|
||||||
} else strcpy(file,arg[0]);
|
} else strcpy(file,arg[0]);
|
||||||
|
|
||||||
|
|
||||||
// init entire system since comm->exchange is done
|
// init entire system since comm->exchange is done
|
||||||
// comm::init needs neighbor::init needs pair::init needs kspace::init, etc
|
// comm::init needs neighbor::init needs pair::init needs kspace::init, etc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user