forked from lijiext/lammps
need to copy maxspecial and "extra" data to do a proper recreation
This commit is contained in:
parent
0766350838
commit
1c15ba88f3
|
@ -196,6 +196,12 @@ void Replicate::command(int narg, char **arg)
|
|||
atom->dihedral_per_atom = old->dihedral_per_atom;
|
||||
atom->improper_per_atom = old->improper_per_atom;
|
||||
|
||||
atom->extra_bond_per_atom = old->extra_bond_per_atom;
|
||||
atom->extra_angle_per_atom = old->extra_angle_per_atom;
|
||||
atom->extra_dihedral_per_atom = old->extra_dihedral_per_atom;
|
||||
atom->extra_improper_per_atom = old->extra_improper_per_atom;
|
||||
atom->maxspecial = old->maxspecial;
|
||||
|
||||
// store old simulation box
|
||||
|
||||
int triclinic = domain->triclinic;
|
||||
|
|
Loading…
Reference in New Issue