move fix property/atom property type enumerator to class definition in header
This commit is contained in:
@ -24,8 +24,6 @@
|
|||||||
using namespace LAMMPS_NS;
|
using namespace LAMMPS_NS;
|
||||||
using namespace FixConst;
|
using namespace FixConst;
|
||||||
|
|
||||||
enum{MOLECULE,CHARGE,RMASS,INTEGER,DOUBLE};
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
FixPropertyAtomKokkos::FixPropertyAtomKokkos(LAMMPS *lmp, int narg, char **arg) :
|
FixPropertyAtomKokkos::FixPropertyAtomKokkos(LAMMPS *lmp, int narg, char **arg) :
|
||||||
|
|||||||
@ -25,8 +25,6 @@
|
|||||||
using namespace LAMMPS_NS;
|
using namespace LAMMPS_NS;
|
||||||
using namespace FixConst;
|
using namespace FixConst;
|
||||||
|
|
||||||
enum { MOLECULE, CHARGE, RMASS, TEMPERATURE, HEATFLOW, IVEC, DVEC, IARRAY, DARRAY };
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) :
|
FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||||
|
|||||||
@ -27,11 +27,12 @@ namespace LAMMPS_NS {
|
|||||||
class FixPropertyAtom : public Fix {
|
class FixPropertyAtom : public Fix {
|
||||||
public:
|
public:
|
||||||
FixPropertyAtom(class LAMMPS *, int, char **);
|
FixPropertyAtom(class LAMMPS *, int, char **);
|
||||||
|
|
||||||
~FixPropertyAtom() override;
|
~FixPropertyAtom() override;
|
||||||
int setmask() override;
|
int setmask() override;
|
||||||
void init() override;
|
void init() override;
|
||||||
|
|
||||||
|
enum { MOLECULE, CHARGE, RMASS, TEMPERATURE, HEATFLOW, IVEC, DVEC, IARRAY, DARRAY };
|
||||||
|
|
||||||
void read_data_section(char *, int, char *, tagint) override;
|
void read_data_section(char *, int, char *, tagint) override;
|
||||||
bigint read_data_skip_lines(char *) override;
|
bigint read_data_skip_lines(char *) override;
|
||||||
void write_data_section_size(int, int &, int &) override;
|
void write_data_section_size(int, int &, int &) override;
|
||||||
|
|||||||
Reference in New Issue
Block a user