add typelabel support to neigh_modify exclude type
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||||
https://www.lammps.org/, Sandia National Laboratories
|
https://www.lammps.org/, Sandia National Laboratories
|
||||||
@ -2705,8 +2705,8 @@ void Neighbor::modify_params(int narg, char **arg)
|
|||||||
memory->grow(ex1_type,maxex_type,"neigh:ex1_type");
|
memory->grow(ex1_type,maxex_type,"neigh:ex1_type");
|
||||||
memory->grow(ex2_type,maxex_type,"neigh:ex2_type");
|
memory->grow(ex2_type,maxex_type,"neigh:ex2_type");
|
||||||
}
|
}
|
||||||
ex1_type[nex_type] = utils::inumeric(FLERR,arg[iarg+2],false,lmp);
|
ex1_type[nex_type] = utils::expand_type_int(FLERR, arg[iarg+2], 0, lmp);
|
||||||
ex2_type[nex_type] = utils::inumeric(FLERR,arg[iarg+3],false,lmp);
|
ex2_type[nex_type] = utils::expand_type_int(FLERR, arg[iarg+3], 0, lmp);
|
||||||
nex_type++;
|
nex_type++;
|
||||||
iarg += 4;
|
iarg += 4;
|
||||||
} else if (strcmp(arg[iarg+1],"group") == 0) {
|
} else if (strcmp(arg[iarg+1],"group") == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user