replace defines with static constexpr declarations

This commit is contained in:
Axel Kohlmeyer
2024-01-21 14:51:35 -05:00
parent a473d6f347
commit 12422ff510
358 changed files with 636 additions and 561 deletions

View File

@ -49,7 +49,7 @@
using namespace LAMMPS_NS;
using MathConst::DEG2RAD;
#define BIG 1.0e20
static constexpr double BIG = 1.0e20;
enum{NUMERIC,ATOM,TYPE,ELEMENT,ATTRIBUTE};
enum{SPHERE,LINE,TRI}; // also in some Body and Fix child classes