changes to enable atom_style hybrid to work
This commit is contained in:
@ -60,12 +60,12 @@ AtomVecBody::AtomVecBody(LAMMPS *lmp) : AtomVec(lmp)
|
||||
|
||||
// strings with peratom variables to include in each AtomVec method
|
||||
// strings cannot contain fields in corresponding AtomVec default strings
|
||||
// order of fields in the string does not matter
|
||||
// except fields_data_atom and fields_data_vel which must match data file
|
||||
// order of fields in a string does not matter
|
||||
// except: fields_data_atom & fields_data_vel must match data file
|
||||
|
||||
fields_grow = (char *) "radius rmass angmom torque body";
|
||||
fields_copy = (char *) "radius rmass angmom";
|
||||
fields_comm = NULL;
|
||||
fields_comm = (char *) "";
|
||||
fields_comm_vel = (char *) "angmom";
|
||||
fields_reverse = (char *) "torque";
|
||||
fields_border = (char *) "radius rmass";
|
||||
@ -74,7 +74,7 @@ AtomVecBody::AtomVecBody(LAMMPS *lmp) : AtomVec(lmp)
|
||||
fields_restart = (char *) "radius rmass angmom";
|
||||
fields_create = (char *) "radius rmass angmom tri";
|
||||
fields_data_atom = (char *) "id type body rmass x";
|
||||
fields_data_vel = (char *) "angmom";
|
||||
fields_data_vel = (char *) "id v angmom";
|
||||
|
||||
setup_fields();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user