allow dynamic groups for some standard walls interacting with point particles
This commit is contained in:
@ -22,7 +22,10 @@ using namespace FixConst;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixWallHarmonic::FixWallHarmonic(LAMMPS *lmp, int narg, char **arg) :
|
||||
FixWall(lmp, narg, arg) {}
|
||||
FixWall(lmp, narg, arg)
|
||||
{
|
||||
dynamic_group_allow = 1;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
interaction of all particles in group with a wall
|
||||
|
||||
@ -26,7 +26,10 @@ using namespace MathConst;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixWallLJ1043::FixWallLJ1043(LAMMPS *lmp, int narg, char **arg) :
|
||||
FixWall(lmp, narg, arg) {}
|
||||
FixWall(lmp, narg, arg)
|
||||
{
|
||||
dynamic_group_allow = 1;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@ -22,7 +22,10 @@ using namespace FixConst;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixWallLJ126::FixWallLJ126(LAMMPS *lmp, int narg, char **arg) :
|
||||
FixWall(lmp, narg, arg) {}
|
||||
FixWall(lmp, narg, arg)
|
||||
{
|
||||
dynamic_group_allow = 1;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@ -22,7 +22,10 @@ using namespace FixConst;
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixWallLJ93::FixWallLJ93(LAMMPS *lmp, int narg, char **arg) :
|
||||
FixWall(lmp, narg, arg) {}
|
||||
FixWall(lmp, narg, arg)
|
||||
{
|
||||
dynamic_group_allow = 1;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@ -39,6 +39,8 @@ FixWallReflect::FixWallReflect(LAMMPS *lmp, int narg, char **arg) :
|
||||
{
|
||||
if (narg < 4) error->all(FLERR,"Illegal fix wall/reflect command");
|
||||
|
||||
dynamic_group_allow = 1;
|
||||
|
||||
// parse args
|
||||
|
||||
nwall = 0;
|
||||
|
||||
@ -67,6 +67,8 @@ FixWallRegion::FixWallRegion(LAMMPS *lmp, int narg, char **arg) :
|
||||
else if (strcmp(arg[4],"harmonic") == 0) style = HARMONIC;
|
||||
else error->all(FLERR,"Illegal fix wall/region command");
|
||||
|
||||
if (style != COLLOID) dynamic_group_allow = 1;
|
||||
|
||||
epsilon = force->numeric(FLERR,arg[5]);
|
||||
sigma = force->numeric(FLERR,arg[6]);
|
||||
cutoff = force->numeric(FLERR,arg[7]);
|
||||
|
||||
Reference in New Issue
Block a user