git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9604 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -270,6 +270,8 @@ void Atom::create_avec(const char *style, int narg, char **arg, char *suffix)
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user