git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8226 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
Copyright (2003) Sandia Corporation. Under the terms of Contract
|
||||
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
||||
certain rights in this software. This software is distributed under
|
||||
certain rights in this software. This software is distributed under
|
||||
the GNU General Public License.
|
||||
|
||||
See the README file in the top-level LAMMPS directory.
|
||||
@ -110,7 +110,7 @@ void FixMinimize::reset_coords()
|
||||
{
|
||||
box_swap();
|
||||
domain->set_global_box();
|
||||
|
||||
|
||||
double **x = atom->x;
|
||||
double *x0 = vectors[0];
|
||||
int nlocal = atom->nlocal;
|
||||
@ -127,7 +127,7 @@ void FixMinimize::reset_coords()
|
||||
if (dz != dz0) x0[n+2] = x[i][2] - dz;
|
||||
n += 3;
|
||||
}
|
||||
|
||||
|
||||
box_swap();
|
||||
domain->set_global_box();
|
||||
}
|
||||
@ -162,7 +162,7 @@ void FixMinimize::box_swap()
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
memory usage of local atom-based arrays
|
||||
memory usage of local atom-based arrays
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
double FixMinimize::memory_usage()
|
||||
@ -174,7 +174,7 @@ double FixMinimize::memory_usage()
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
allocate local atom-based arrays
|
||||
allocate local atom-based arrays
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void FixMinimize::grow_arrays(int nmax)
|
||||
@ -184,7 +184,7 @@ void FixMinimize::grow_arrays(int nmax)
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
copy values within local atom-based arrays
|
||||
copy values within local atom-based arrays
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void FixMinimize::copy_arrays(int i, int j)
|
||||
@ -200,7 +200,7 @@ void FixMinimize::copy_arrays(int i, int j)
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
pack values in local atom-based arrays for exchange with another proc
|
||||
pack values in local atom-based arrays for exchange with another proc
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
int FixMinimize::pack_exchange(int i, double *buf)
|
||||
@ -217,7 +217,7 @@ int FixMinimize::pack_exchange(int i, double *buf)
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
unpack values in local atom-based arrays from exchange with another proc
|
||||
unpack values in local atom-based arrays from exchange with another proc
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
int FixMinimize::unpack_exchange(int nlocal, double *buf)
|
||||
|
||||
Reference in New Issue
Block a user