From 03418be6452b62299638122a183f016751c19cf3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 8 Jul 2019 15:43:57 -0400 Subject: [PATCH] minor tweaks to already processed files --- src/ASPHERE/pair_line_lj.cpp | 3 --- src/ASPHERE/pair_resquared.cpp | 5 +---- src/ASPHERE/pair_tri_lj.cpp | 3 --- src/CORESHELL/pair_born_coul_long_cs.cpp | 1 - src/GRANULAR/fix_wall_gran_region.cpp | 1 - src/KSPACE/msm.h | 3 --- src/KSPACE/pair_coul_msm.cpp | 1 - src/angle.h | 2 +- src/dump.h | 1 - src/kspace.h | 3 +-- src/mpiio.h | 2 +- src/region.h | 2 +- src/timer.cpp | 1 - src/write_restart.cpp | 1 - 14 files changed, 5 insertions(+), 24 deletions(-) diff --git a/src/ASPHERE/pair_line_lj.cpp b/src/ASPHERE/pair_line_lj.cpp index 0cb603c4fa..fdeb09aac4 100644 --- a/src/ASPHERE/pair_line_lj.cpp +++ b/src/ASPHERE/pair_line_lj.cpp @@ -13,9 +13,6 @@ #include "pair_line_lj.h" #include -#include -#include -#include #include "atom.h" #include "atom_vec_line.h" #include "force.h" diff --git a/src/ASPHERE/pair_resquared.cpp b/src/ASPHERE/pair_resquared.cpp index ba73c5ba0c..f139564320 100644 --- a/src/ASPHERE/pair_resquared.cpp +++ b/src/ASPHERE/pair_resquared.cpp @@ -16,10 +16,8 @@ ------------------------------------------------------------------------- */ #include "pair_resquared.h" +#include #include -#include -#include -#include #include "math_extra.h" #include "atom.h" #include "atom_vec_ellipsoid.h" @@ -27,7 +25,6 @@ #include "force.h" #include "neighbor.h" #include "neigh_list.h" -#include "integrate.h" #include "memory.h" #include "error.h" diff --git a/src/ASPHERE/pair_tri_lj.cpp b/src/ASPHERE/pair_tri_lj.cpp index 3dde2a4f44..0984b0a30c 100644 --- a/src/ASPHERE/pair_tri_lj.cpp +++ b/src/ASPHERE/pair_tri_lj.cpp @@ -13,9 +13,6 @@ #include "pair_tri_lj.h" #include -#include -#include -#include #include "math_extra.h" #include "atom.h" #include "atom_vec_tri.h" diff --git a/src/CORESHELL/pair_born_coul_long_cs.cpp b/src/CORESHELL/pair_born_coul_long_cs.cpp index f6262fa9e7..b56389e180 100644 --- a/src/CORESHELL/pair_born_coul_long_cs.cpp +++ b/src/CORESHELL/pair_born_coul_long_cs.cpp @@ -17,7 +17,6 @@ #include "pair_born_coul_long_cs.h" #include -#include #include "atom.h" #include "force.h" #include "neigh_list.h" diff --git a/src/GRANULAR/fix_wall_gran_region.cpp b/src/GRANULAR/fix_wall_gran_region.cpp index a4b798d6aa..95553b83b7 100644 --- a/src/GRANULAR/fix_wall_gran_region.cpp +++ b/src/GRANULAR/fix_wall_gran_region.cpp @@ -21,7 +21,6 @@ #include "atom.h" #include "domain.h" #include "update.h" -#include "pair.h" #include "memory.h" #include "error.h" #include "comm.h" diff --git a/src/KSPACE/msm.h b/src/KSPACE/msm.h index 0f81eb9c3f..bf393473e7 100644 --- a/src/KSPACE/msm.h +++ b/src/KSPACE/msm.h @@ -20,9 +20,6 @@ KSpaceStyle(msm,MSM) #ifndef LMP_MSM_H #define LMP_MSM_H -#include "lmptype.h" -#include - #include "kspace.h" namespace LAMMPS_NS { diff --git a/src/KSPACE/pair_coul_msm.cpp b/src/KSPACE/pair_coul_msm.cpp index 0917bb9275..5d42e1f046 100644 --- a/src/KSPACE/pair_coul_msm.cpp +++ b/src/KSPACE/pair_coul_msm.cpp @@ -22,7 +22,6 @@ #include "force.h" #include "kspace.h" #include "neigh_list.h" -#include "memory.h" #include "error.h" using namespace LAMMPS_NS; diff --git a/src/angle.h b/src/angle.h index 3e6812c4fd..7a008f7ca7 100644 --- a/src/angle.h +++ b/src/angle.h @@ -14,7 +14,7 @@ #ifndef LMP_ANGLE_H #define LMP_ANGLE_H -#include "pointers.h" +#include "pointers.h" // IWYU pragma: export namespace LAMMPS_NS { diff --git a/src/dump.h b/src/dump.h index 0173aa3112..bc7fd2d5a5 100644 --- a/src/dump.h +++ b/src/dump.h @@ -14,7 +14,6 @@ #ifndef LMP_DUMP_H #define LMP_DUMP_H -#include #include "pointers.h" // IWYU pragma: export namespace LAMMPS_NS { diff --git a/src/kspace.h b/src/kspace.h index 83ce19cd87..c04a0db989 100644 --- a/src/kspace.h +++ b/src/kspace.h @@ -14,8 +14,7 @@ #ifndef LMP_KSPACE_H #define LMP_KSPACE_H -#include -#include "pointers.h" +#include "pointers.h" // IWYU pragma: export #ifdef FFT_SINGLE typedef float FFT_SCALAR; diff --git a/src/mpiio.h b/src/mpiio.h index 4953ade185..0098fca0e1 100644 --- a/src/mpiio.h +++ b/src/mpiio.h @@ -23,7 +23,7 @@ #error "The MPIIO package cannot be compiled in serial with MPI STUBS" #endif -#include "restart_mpiio.h" +#include "restart_mpiio.h" // IWYU pragma: export #else diff --git a/src/region.h b/src/region.h index 6a3806fed7..0dce004a5b 100644 --- a/src/region.h +++ b/src/region.h @@ -14,7 +14,7 @@ #ifndef LMP_REGION_H #define LMP_REGION_H -#include "pointers.h" +#include "pointers.h" // IWYU pragma: export namespace LAMMPS_NS { diff --git a/src/timer.cpp b/src/timer.cpp index 0dad8fb756..0a5e56ab35 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -18,7 +18,6 @@ #include "comm.h" #include "error.h" #include "force.h" -#include "memory.h" #ifdef _WIN32 #include diff --git a/src/write_restart.cpp b/src/write_restart.cpp index 5adb39067c..4b84e790b8 100644 --- a/src/write_restart.cpp +++ b/src/write_restart.cpp @@ -16,7 +16,6 @@ #include #include "atom.h" #include "atom_vec.h" -#include "atom_vec_hybrid.h" #include "group.h" #include "force.h" #include "pair.h"