replace defines with static constexpr declarations
This commit is contained in:
@ -36,10 +36,9 @@
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
#define BUFFACTOR 1.5
|
||||
#define BUFFACTOR 1.5
|
||||
#define BUFMIN 1024
|
||||
#define EPSILON 1.0e-6
|
||||
static constexpr double BUFFACTOR = 1.5;
|
||||
static constexpr int BUFMIN = 1024;
|
||||
static constexpr double EPSILON = 1.0e-6;
|
||||
|
||||
#define DELTA_PROCS 16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user