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

This commit is contained in:
sjplimp
2013-03-07 15:35:07 +00:00
parent d296cb9eb1
commit 7309370570
3 changed files with 7 additions and 3 deletions

View File

@ -86,8 +86,8 @@ elif (test $1 = "Makefile.lib") then
list=`ls -1 *.h | tr "[:cntrl:]" " "`
sed -i -e "s/INC = .*/INC = $list/" Makefile.lib
# edit Makefile.lib, for creating non-shared lib
# called by "make makelib"
# edit Makefile.shlib, for creating shared lib
# called by "make makeshlib"
# use current list of *.cpp and *.h files in src dir w/out main.cpp
elif (test $1 = "Makefile.shlib") then

View File

@ -272,9 +272,14 @@ void Atom::create_avec(const char *style, int narg, char **arg, char *suffix)
rmass_flag = radius_flag = omega_flag = torque_flag = angmom_flag = 0;
vfrac_flag = spin_flag = eradius_flag = ervel_flag = erforce_flag = 0;
// create instance of AtomVec
// use grow to initialize atom-based arrays to length 1
// so that x[0][0] can be referenced even if proc has no atoms
int sflag;
avec = new_avec(style,suffix,sflag);
avec->settings(narg,arg);
avec->grow(1);
if (sflag) {
char estyle[256];

View File

@ -854,7 +854,6 @@ void Comm::exchange()
}
atom->nlocal = nlocal;
// send/recv atoms in both directions
// if 1 proc in dimension, no send/recv, set recv buf to send buf
// if 2 procs in dimension, single send/recv