Fixed some error with the ENUM definitions

This commit is contained in:
Ofir Blumer
2025-01-15 10:35:33 +02:00
parent f16aa8e32e
commit ec504e3324
2 changed files with 9 additions and 9 deletions

View File

@ -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"}};

View File

@ -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 {