Skip to content
Snippets Groups Projects
Commit 5fb2979d authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

allow dynamic groups for some standard walls interacting with point particles

parent 948f4783
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment