update for consistency with docs
This commit is contained in:
@ -174,13 +174,13 @@ void ReadData::command(int narg, char **arg)
|
||||
addflag = VALUE;
|
||||
bigint offset = utils::bnumeric(FLERR, arg[iarg + 1], false, lmp);
|
||||
if (offset > MAXTAGINT)
|
||||
error->all(FLERR, "Read data add atomID offset {} is too big", offset);
|
||||
error->all(FLERR, "Read data add IDoffset {} is too big", offset);
|
||||
id_offset = offset;
|
||||
|
||||
if (atom->molecule_flag) {
|
||||
offset = utils::bnumeric(FLERR, arg[iarg + 2], false, lmp);
|
||||
if (offset > MAXTAGINT)
|
||||
error->all(FLERR, "Read data add molID offset {} is too big", offset);
|
||||
error->all(FLERR, "Read data add MOLoffset {} is too big", offset);
|
||||
mol_offset = offset;
|
||||
iarg++;
|
||||
}
|
||||
|
||||
@ -211,7 +211,7 @@ void ResetAtomsMol::reset()
|
||||
|
||||
// if offset < 0 (default), reset it
|
||||
// if group = all, offset = 0
|
||||
// else offset = largest molID of non-group atoms
|
||||
// else offset = largest molecule ID of non-group atoms
|
||||
|
||||
if (offset < 0) {
|
||||
if (groupbit != 1) {
|
||||
|
||||
Reference in New Issue
Block a user