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 FixConst;
|
||||
|
||||
enum{MOLECULE,CHARGE,RMASS,INTEGER,DOUBLE};
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixPropertyAtomKokkos::FixPropertyAtomKokkos(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
@ -25,8 +25,6 @@
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace FixConst;
|
||||
|
||||
enum { MOLECULE, CHARGE, RMASS, TEMPERATURE, HEATFLOW, IVEC, DVEC, IARRAY, DARRAY };
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
@ -27,11 +27,12 @@ namespace LAMMPS_NS {
|
||||
class FixPropertyAtom : public Fix {
|
||||
public:
|
||||
FixPropertyAtom(class LAMMPS *, int, char **);
|
||||
|
||||
~FixPropertyAtom() override;
|
||||
int setmask() override;
|
||||
void init() override;
|
||||
|
||||
enum { MOLECULE, CHARGE, RMASS, TEMPERATURE, HEATFLOW, IVEC, DVEC, IARRAY, DARRAY };
|
||||
|
||||
void read_data_section(char *, int, char *, tagint) override;
|
||||
bigint read_data_skip_lines(char *) override;
|
||||
void write_data_section_size(int, int &, int &) override;
|
||||
|
||||
Reference in New Issue
Block a user