git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6945 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-09-13 22:07:53 +00:00
parent a34506c420
commit dfa59d7cb0
4 changed files with 7 additions and 6 deletions

View File

@ -1118,7 +1118,7 @@ void FixNH::remap()
void FixNH::write_restart(FILE *fp)
{
int nsize = size_restart();
int nsize = size_restart_global();
double *list;
memory->create(list,nsize,"nh:list");
@ -1138,7 +1138,7 @@ void FixNH::write_restart(FILE *fp)
calculate the number of data to be packed
------------------------------------------------------------------------- */
int FixNH::size_restart()
int FixNH::size_restart_global()
{
int nsize = 2;
if (tstat_flag) nsize += 1 + 2*mtchain;