provide Command base class in command.h for deriving command styles from

This commit is contained in:
Axel Kohlmeyer
2021-04-13 17:47:00 -04:00
parent f07fa3d266
commit b53822da46
74 changed files with 203 additions and 180 deletions

View File

@ -11,10 +11,6 @@
See the README file in the top-level LAMMPS directory.
------------------------------------------------------------------------- */
// lmptype.h must be first b/c this file uses MAXBIGINT and includes mpi.h
// due to OpenMPI bug which sets INT64_MAX via its mpi.h
// before lmptype.h can set flags to insure it is done correctly
#include "read_data.h"
#include "angle.h"
@ -66,7 +62,7 @@ const char *suffixes[] = {"/cuda","/gpu","/opt","/omp","/kk",
/* ---------------------------------------------------------------------- */
ReadData::ReadData(LAMMPS *lmp) : Pointers(lmp)
ReadData::ReadData(LAMMPS *lmp) : Command(lmp)
{
MPI_Comm_rank(world,&me);
line = new char[MAXLINE];