From 2eff15d1e66ed14ebced8ed6633721d36392c09f Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 18 Jul 2021 17:41:14 -0400 Subject: [PATCH] move data type enum to header so it can be used in dump netcdf --- src/thermo.cpp | 1 - src/thermo.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermo.cpp b/src/thermo.cpp index 1fa6f18d2c..6e326e6891 100644 --- a/src/thermo.cpp +++ b/src/thermo.cpp @@ -73,7 +73,6 @@ using namespace MathConst; #define MULTI "etotal ke temp pe ebond eangle edihed eimp evdwl ecoul elong press" enum{ONELINE,MULTILINE}; -enum{INT,FLOAT,BIGINT}; enum{SCALAR,VECTOR,ARRAY}; diff --git a/src/thermo.h b/src/thermo.h index 9439b0ef53..89678614a7 100644 --- a/src/thermo.h +++ b/src/thermo.h @@ -31,6 +31,7 @@ class Thermo : protected Pointers { int lostbond; // ditto for atoms in bonds enum { IGNORE, WARN, ERROR }; + enum { INT, FLOAT, BIGINT }; Thermo(class LAMMPS *, int, char **); ~Thermo();