Fixed some error with the ENUM definitions
This commit is contained in:
@ -53,15 +53,6 @@ using MathConst::MY_SQRT2;
|
|||||||
using MathConst::THIRD;
|
using MathConst::THIRD;
|
||||||
using MathSpecial::powint;
|
using MathSpecial::powint;
|
||||||
|
|
||||||
enum { PIMD, NMPIMD };
|
|
||||||
enum { PHYSICAL, NORMAL };
|
|
||||||
enum { BAOAB, OBABO };
|
|
||||||
enum { ISO, ANISO, TRICLINIC };
|
|
||||||
enum { PILE_L };
|
|
||||||
enum { MTTK, BZP };
|
|
||||||
enum { NVE, NVT, NPH, NPT };
|
|
||||||
enum { SINGLE_PROC, MULTI_PROC };
|
|
||||||
|
|
||||||
static std::map<int, std::string> Barostats{{MTTK, "MTTK"}, {BZP, "BZP"}};
|
static std::map<int, std::string> Barostats{{MTTK, "MTTK"}, {BZP, "BZP"}};
|
||||||
static std::map<int, std::string> Ensembles{{NVE, "NVE"}, {NVT, "NVT"}, {NPH, "NPH"}, {NPT, "NPT"}};
|
static std::map<int, std::string> Ensembles{{NVE, "NVE"}, {NVT, "NVT"}, {NPH, "NPH"}, {NPT, "NPT"}};
|
||||||
|
|
||||||
|
|||||||
@ -22,6 +22,15 @@ FixStyle(pimd/langevin,FixPIMDLangevin);
|
|||||||
|
|
||||||
#include "fix.h"
|
#include "fix.h"
|
||||||
|
|
||||||
|
enum { PIMD, NMPIMD };
|
||||||
|
enum { PHYSICAL, NORMAL };
|
||||||
|
enum { BAOAB, OBABO };
|
||||||
|
enum { ISO, ANISO, TRICLINIC };
|
||||||
|
enum { PILE_L };
|
||||||
|
enum { MTTK, BZP };
|
||||||
|
enum { NVE, NVT, NPH, NPT };
|
||||||
|
enum { SINGLE_PROC, MULTI_PROC };
|
||||||
|
|
||||||
namespace LAMMPS_NS {
|
namespace LAMMPS_NS {
|
||||||
|
|
||||||
class FixPIMDLangevin : public Fix {
|
class FixPIMDLangevin : public Fix {
|
||||||
|
|||||||
Reference in New Issue
Block a user