forked from lijiext/lammps
add comment to indicate code intended for backward compatibility only
This commit is contained in:
parent
a942d8b3ba
commit
952e52982e
|
@ -924,11 +924,13 @@ void ReadRestart::header(int incompatible)
|
|||
atom->extra_dihedral_per_atom = read_int();
|
||||
} else if (flag == EXTRA_IMPROPER_PER_ATOM) {
|
||||
atom->extra_improper_per_atom = read_int();
|
||||
} else if (flag == EXTRA_SPECIAL_PER_ATOM) {
|
||||
force->special_extra = read_int();
|
||||
} else if (flag == ATOM_MAXSPECIAL) {
|
||||
atom->maxspecial = read_int();
|
||||
|
||||
// for backward compatibility
|
||||
} else if (flag == EXTRA_SPECIAL_PER_ATOM) {
|
||||
force->special_extra = read_int();
|
||||
|
||||
} else error->all(FLERR,"Invalid flag in header section of restart file");
|
||||
|
||||
flag = read_int();
|
||||
|
|
Loading…
Reference in New Issue