make enum use consistent by moving it to the header
This commit is contained in:
@ -21,8 +21,6 @@
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace FixConst;
|
||||
|
||||
enum{SETCOMMAND,FIXSET}; // also used in Set class
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixSet::FixSet(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
|
||||
@ -45,7 +43,7 @@ FixSet::FixSet(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
|
||||
// NOTE: could also allow when set style = region,
|
||||
// since atoms may move in/out of regions
|
||||
|
||||
set->process_args(FIXSET,narg-5,&arg[5]);
|
||||
set->process_args(Set::FIXSET, narg-5, &arg[5]);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -42,8 +42,6 @@
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace MathConst;
|
||||
|
||||
enum{SETCOMMAND,FIXSET}; // also used in FixSet class
|
||||
|
||||
enum{ATOM_SELECT,MOL_SELECT,TYPE_SELECT,GROUP_SELECT,REGION_SELECT};
|
||||
|
||||
enum{ANGLE,ANGMOM,APIP_LAMBDA,BOND,CC,CHARGE,DENSITY,DIAMETER,DIHEDRAL,DIPOLE,
|
||||
|
||||
Reference in New Issue
Block a user