some more define to static constexpr conversions

This commit is contained in:
Axel Kohlmeyer
2024-01-24 20:42:14 -05:00
parent 77e7a71ded
commit a6261d75b9
49 changed files with 88 additions and 88 deletions

View File

@ -41,11 +41,11 @@ using namespace LAMMPS_NS;
using namespace MathConst;
using namespace MathSpecial;
#define MAXORDER 7
#define OFFSET 16384
#define LARGE 10000.0
#define SMALL 0.00001
#define EPS_HOC 1.0e-7
static constexpr int MAXORDER = 7;
static constexpr int OFFSET = 16384;
static constexpr double LARGE = 10000.0;
static constexpr double SMALL = 0.00001;
static constexpr double EPS_HOC = 1.0e-7;
enum{REVERSE_RHO};
enum{FORWARD_IK,FORWARD_AD,FORWARD_IK_PERATOM,FORWARD_AD_PERATOM};