apply include file conventions

This commit is contained in:
Axel Kohlmeyer
2022-07-03 06:54:22 -04:00
parent 82c467d79f
commit 6579728622
17 changed files with 103 additions and 80 deletions

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -12,10 +13,12 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include <cmath>
#include "atom.h"
#include "neigh_list.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>
using namespace LAMMPS_NS;

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -12,14 +13,15 @@
------------------------------------------------------------------------- */
#include "amoeba_convolution.h"
#include "domain.h"
#include "comm.h"
#include "update.h"
#include "neighbor.h"
#include "domain.h"
#include "fft3d_wrap.h"
#include "remap_wrap.h"
#include "gridcomm.h"
#include "memory.h"
#include "neighbor.h"
#include "remap_wrap.h"
#include "update.h"
using namespace LAMMPS_NS;

View File

@ -81,7 +81,5 @@ class AmoebaConvolution : protected Pointers {
void debug_scalar(int, const char *);
void debug_file(int, const char *);
};
} // namespace LAMMPS_NS
#endif

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -17,11 +18,11 @@
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "neigh_list.h"
#include "fft3d_wrap.h"
#include "math_const.h"
#include "math_special.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel ator
https://www.lammps.org/ Sandia National Laboratories
@ -12,16 +13,17 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include <mpi.h>
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "memory.h"
#include "utils.h"
#include <cmath>
#include <cstring>
#include <cctype>
#include "domain.h"
#include "comm.h"
#include "force.h"
#include "memory.h"
#include "error.h"
#include "utils.h"
using namespace LAMMPS_NS;

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -12,10 +13,12 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include <cmath>
#include "atom.h"
#include "neigh_list.h"
#include "error.h"
#include "neigh_list.h"
#include <cmath>
using namespace LAMMPS_NS;

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -15,15 +16,15 @@
#include "amoeba_convolution.h"
#include "atom.h"
#include "domain.h"
#include "comm.h"
#include "fix_store.h"
#include "neigh_list.h"
#include "domain.h"
#include "error.h"
#include "fft3d_wrap.h"
#include "my_page.h"
#include "fix_store.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
#include <cmath>
#include <cstring>

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -12,12 +13,14 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include <cmath>
#include "atom.h"
#include "domain.h"
#include "math_const.h"
#include "memory.h"
#include <cmath>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -15,12 +16,12 @@
#include "amoeba_convolution.h"
#include "atom.h"
#include "domain.h"
#include "comm.h"
#include "neigh_list.h"
#include "domain.h"
#include "fft3d_wrap.h"
#include "math_const.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>
#include <cstring>

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -12,15 +13,15 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include "amoeba_convolution.h"
#include "amoeba_convolution.h"
#include "atom.h"
#include "domain.h"
#include "comm.h"
#include "neigh_list.h"
#include "domain.h"
#include "fft3d_wrap.h"
#include "math_const.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>
#include <cstring>

View File

@ -1,3 +1,4 @@
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
https://www.lammps.org/ Sandia National Laboratories
@ -12,11 +13,13 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include <cmath>
#include "atom.h"
#include "comm.h"
#include "neigh_list.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>
using namespace LAMMPS_NS;

View File

@ -12,13 +12,15 @@
------------------------------------------------------------------------- */
#include "pair_amoeba.h"
#include <cmath>
#include "atom.h"
#include "domain.h"
#include "comm.h"
#include "neigh_list.h"
#include "fix_store.h"
#include "domain.h"
#include "error.h"
#include "fix_store.h"
#include "neigh_list.h"
#include <cmath>
using namespace LAMMPS_NS;

View File

@ -14,17 +14,18 @@
#include "angle_amoeba.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "neighbor.h"
#include "domain.h"
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "pair.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "neighbor.h"
#include "pair.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -12,6 +12,7 @@
------------------------------------------------------------------------- */
#include "atom_vec_amoeba.h"
#include "atom.h"
using namespace LAMMPS_NS;

View File

@ -14,19 +14,19 @@
#include "fix_amoeba_bitorsion.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "update.h"
#include "respa.h"
#include "domain.h"
#include "force.h"
#include "pair.h"
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "pair.h"
#include "respa.h"
#include "update.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;
@ -40,22 +40,22 @@ using namespace MathConst;
// spline weighting factors
static constexpr double WT[16][16] = {
{ 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{-3.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0,-2.0, 0.0, 0.0,-1.0, 0.0, 0.0, 0.0, 0.0},
{ 2.0, 0.0, 0.0,-2.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0,-3.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0,-2.0, 0.0, 0.0,-1.0},
{ 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0,-2.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0},
{-3.0, 3.0, 0.0, 0.0,-2.0,-1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,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0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0,-3.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0, 0.0,-2.0, 0.0, 0.0,-1.0},
{ 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0,-2.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0},
{-3.0, 3.0, 0.0, 0.0,-2.0,-1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,-3.0, 3.0, 0.0, 0.0,-2.0,-1.0, 0.0, 0.0},
{ 9.0,-9.0, 9.0,-9.0, 6.0, 3.0,-3.0,-6.0, 6.0,-6.0,-3.0, 3.0, 4.0, 2.0, 1.0, 2.0},
{-6.0, 6.0,-6.0, 6.0,-4.0,-2.0, 2.0, 4.0,-3.0, 3.0, 3.0,-3.0,-2.0,-1.0,-1.0,-2.0},
{ 2.0,-2.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0},
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.0,-2.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0},
{-6.0, 6.0,-6.0, 6.0,-3.0,-3.0, 3.0, 3.0,-4.0, 4.0, 2.0,-2.0,-2.0,-2.0,-1.0,-1.0},
{ 4.0,-4.0, 4.0,-4.0, 2.0, 2.0,-2.0,-2.0, 2.0,-2.0,-2.0, 2.0, 1.0, 1.0, 1.0, 1.0}
};
/* ---------------------------------------------------------------------- */

View File

@ -14,19 +14,19 @@
#include "fix_amoeba_pitorsion.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "update.h"
#include "respa.h"
#include "domain.h"
#include "force.h"
#include "pair.h"
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "pair.h"
#include "respa.h"
#include "update.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -14,16 +14,17 @@
#include "improper_amoeba.h"
#include <cmath>
#include "atom.h"
#include "comm.h"
#include "update.h"
#include "neighbor.h"
#include "error.h"
#include "force.h"
#include "pair.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "neighbor.h"
#include "pair.h"
#include "update.h"
#include <cmath>
using namespace LAMMPS_NS;
using namespace MathConst;