diff --git a/src/fix_heat.cpp b/src/fix_heat.cpp index e4220c5557..82d16f235d 100644 --- a/src/fix_heat.cpp +++ b/src/fix_heat.cpp @@ -184,7 +184,6 @@ void FixHeat::end_of_step() } 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 // scale = velocity scale factor to accomplish eflux change in energy // vsub = velocity subtracted from each atom to preserve momentum diff --git a/src/write_restart.cpp b/src/write_restart.cpp index cfdd65bb52..19e430e6f9 100644 --- a/src/write_restart.cpp +++ b/src/write_restart.cpp @@ -88,6 +88,7 @@ void WriteRestart::command(int narg, char **arg) sprintf(file,"%s" BIGINT_FORMAT "%s",arg[0],update->ntimestep,ptr+1); } else strcpy(file,arg[0]); + // init entire system since comm->exchange is done // comm::init needs neighbor::init needs pair::init needs kspace::init, etc