From 860e67873cdb94b8c54d29679c8afd002f7899d3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 31 Jan 2020 11:18:08 -0500 Subject: [PATCH] rename lmp_restart.h to lmprestart.h to avoid confusing it with lmp_ files --- src/lmprestart.h | 43 +++++++++++++++++++++++++++++++++++++++++++ src/read_restart.cpp | 2 +- src/write_restart.cpp | 2 +- 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 src/lmprestart.h diff --git a/src/lmprestart.h b/src/lmprestart.h new file mode 100644 index 0000000000..f0d43e70a5 --- /dev/null +++ b/src/lmprestart.h @@ -0,0 +1,43 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ + +#ifndef LMP_RESTART_H +#define LMP_RESTART_H + +#define MAGIC_STRING "LammpS RestartT" +#define ENDIAN 0x0001 +#define ENDIANSWAP 0x1000 +#define FORMAT_REVISION 1 + +enum{VERSION,SMALLINT,TAGINT,BIGINT, + UNITS,NTIMESTEP,DIMENSION,NPROCS,PROCGRID, + NEWTON_PAIR,NEWTON_BOND, + XPERIODIC,YPERIODIC,ZPERIODIC,BOUNDARY, + ATOM_STYLE,NATOMS,NTYPES, + NBONDS,NBONDTYPES,BOND_PER_ATOM, + NANGLES,NANGLETYPES,ANGLE_PER_ATOM, + NDIHEDRALS,NDIHEDRALTYPES,DIHEDRAL_PER_ATOM, + NIMPROPERS,NIMPROPERTYPES,IMPROPER_PER_ATOM, + TRICLINIC,BOXLO,BOXHI,XY,XZ,YZ, + SPECIAL_LJ,SPECIAL_COUL, + MASS,PAIR,BOND,ANGLE,DIHEDRAL,IMPROPER, + MULTIPROC,MPIIO,PROCSPERFILE,PERPROC, + IMAGEINT,BOUNDMIN,TIMESTEP, + ATOM_ID,ATOM_MAP_STYLE,ATOM_MAP_USER,ATOM_SORTFREQ,ATOM_SORTBIN, + COMM_MODE,COMM_CUTOFF,COMM_VEL,NO_PAIR, + EXTRA_BOND_PER_ATOM,EXTRA_ANGLE_PER_ATOM,EXTRA_DIHEDRAL_PER_ATOM, + EXTRA_IMPROPER_PER_ATOM,EXTRA_SPECIAL_PER_ATOM,ATOM_MAXSPECIAL}; + +#define LB_FACTOR 1.1 + +#endif diff --git a/src/read_restart.cpp b/src/read_restart.cpp index 537193c4a4..c05f9c78f2 100644 --- a/src/read_restart.cpp +++ b/src/read_restart.cpp @@ -37,7 +37,7 @@ #include "error.h" #include "utils.h" -#include "lmp_restart.h" +#include "lmprestart.h" using namespace LAMMPS_NS; diff --git a/src/write_restart.cpp b/src/write_restart.cpp index f94b660bfa..04ad16336c 100644 --- a/src/write_restart.cpp +++ b/src/write_restart.cpp @@ -36,7 +36,7 @@ #include "memory.h" #include "error.h" -#include "lmp_restart.h" +#include "lmprestart.h" using namespace LAMMPS_NS;