initialze omega and angmom when read data file

This commit is contained in:
Steve Plimpton
2020-05-15 13:07:34 -06:00
parent 20ad924a54
commit f1a9eab5da
6 changed files with 14 additions and 2 deletions

View File

@ -56,7 +56,7 @@ AtomVecSpin::AtomVecSpin(LAMMPS *lmp) : AtomVec(lmp)
fields_restart = (char *) "sp";
fields_create = (char *) "sp";
fields_data_atom = (char *) "id type x sp";
fields_data_vel = (char *) "id v omega";
fields_data_vel = (char *) "id v";
setup_fields();
}