git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11935 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -330,7 +330,7 @@ void Atom::create_avec(const char *style, int narg, char **arg, char *suffix)
|
||||
// create instance of AtomVec
|
||||
// use grow() to initialize atom-based arrays to length 1
|
||||
// so that x[0][0] can always be referenced even if proc has no atoms
|
||||
// but reset nmax = 0
|
||||
// but reset nmax = 0 in both Atom and AtomVec
|
||||
// so 2d arrays like bond_type will later be allocated correctly
|
||||
// since currently, 2nd dimension bond_per_atom = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user