changed MathConst inclusion to individual variables

This commit is contained in:
phankl
2022-08-30 10:15:21 +01:00
parent 2803e934d4
commit 330ac4dc5a
4 changed files with 6 additions and 3 deletions

View File

@ -32,6 +32,8 @@
#include <cmath>
using namespace LAMMPS_NS;
using MathConst::DEG2RAD;
using MathConst::RAD2DEG;
using MathConst::MY_PI;
using MathConst::MY_2PI;

View File

@ -31,7 +31,7 @@
#include <cstring>
using namespace LAMMPS_NS;
using namespace MathConst;
using MathConst::MY_2PI;
static constexpr double A_CC = 1.421;

View File

@ -39,8 +39,9 @@
#include <vector>
using namespace LAMMPS_NS;
using namespace MathConst;
using namespace MathExtra;
using MathConst::MY_PI;
using MathConst::MY_2PI;
#define MAXLINE 1024
#define SELF_CUTOFF 3

View File

@ -35,8 +35,8 @@
#include <fstream>
using namespace LAMMPS_NS;
using namespace MathConst;
using namespace MathExtra;
using MathConst::MY_PI;
#define SELF_CUTOFF 3
#define RHOMIN 10.0