From f80df9ae41bf44162759125711f8d21cee989ba0 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 19 Sep 2021 09:41:23 -0400 Subject: [PATCH] a few more (final?) IWYU updates --- src/DRUDE/fix_drude.cpp | 1 - src/DRUDE/fix_tgnh_drude.cpp | 1 + src/DRUDE/fix_tgnh_drude.h | 1 - src/GPU/fix_gpu.cpp | 3 --- src/GPU/fix_nh_gpu.cpp | 1 - src/GPU/pppm_gpu.cpp | 1 + src/GRANULAR/compute_fabric.cpp | 1 - src/MESONT/pair_mesocnt.cpp | 1 - src/PERI/compute_dilatation_atom.cpp | 1 - src/fix_nvt_sllod.cpp | 1 - src/force.cpp | 18 ++++++++---------- src/table_file_reader.cpp | 1 - 12 files changed, 10 insertions(+), 21 deletions(-) diff --git a/src/DRUDE/fix_drude.cpp b/src/DRUDE/fix_drude.cpp index 39b0158e06..20d6749c8a 100644 --- a/src/DRUDE/fix_drude.cpp +++ b/src/DRUDE/fix_drude.cpp @@ -25,7 +25,6 @@ #include #include #include -#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/DRUDE/fix_tgnh_drude.cpp b/src/DRUDE/fix_tgnh_drude.cpp index 475a81e843..fe8cf448f0 100644 --- a/src/DRUDE/fix_tgnh_drude.cpp +++ b/src/DRUDE/fix_tgnh_drude.cpp @@ -24,6 +24,7 @@ #include "domain.h" #include "error.h" #include "fix_deform.h" +#include "fix_drude.h" #include "force.h" #include "irregular.h" #include "kspace.h" diff --git a/src/DRUDE/fix_tgnh_drude.h b/src/DRUDE/fix_tgnh_drude.h index 617a99f856..598a407ff4 100644 --- a/src/DRUDE/fix_tgnh_drude.h +++ b/src/DRUDE/fix_tgnh_drude.h @@ -15,7 +15,6 @@ #define LMP_FIX_TGNH_DRUDE_H #include "fix.h" -#include "fix_drude.h" namespace LAMMPS_NS { diff --git a/src/GPU/fix_gpu.cpp b/src/GPU/fix_gpu.cpp index 17ce64d3f3..8c856d095b 100644 --- a/src/GPU/fix_gpu.cpp +++ b/src/GPU/fix_gpu.cpp @@ -17,16 +17,13 @@ #include "atom.h" #include "citeme.h" #include "comm.h" -#include "domain.h" #include "error.h" #include "force.h" #include "gpu_extra.h" -#include "input.h" #include "modify.h" #include "neighbor.h" #include "pair.h" #include "pair_hybrid.h" -#include "pair_hybrid_overlay.h" #include "respa.h" #include "timer.h" #include "universe.h" diff --git a/src/GPU/fix_nh_gpu.cpp b/src/GPU/fix_nh_gpu.cpp index 82d1717597..fb09245fa4 100644 --- a/src/GPU/fix_nh_gpu.cpp +++ b/src/GPU/fix_nh_gpu.cpp @@ -28,7 +28,6 @@ #include "neighbor.h" #include "update.h" -#include #include using namespace LAMMPS_NS; diff --git a/src/GPU/pppm_gpu.cpp b/src/GPU/pppm_gpu.cpp index a3d39a57b0..d5f7e6c5af 100644 --- a/src/GPU/pppm_gpu.cpp +++ b/src/GPU/pppm_gpu.cpp @@ -28,6 +28,7 @@ #include "gridcomm.h" #include "math_const.h" #include "memory.h" +#include "modify.h" #include "neighbor.h" #include "remap_wrap.h" #include "universe.h" diff --git a/src/GRANULAR/compute_fabric.cpp b/src/GRANULAR/compute_fabric.cpp index 3e7754ce8c..ac8d434b7a 100644 --- a/src/GRANULAR/compute_fabric.cpp +++ b/src/GRANULAR/compute_fabric.cpp @@ -17,7 +17,6 @@ #include "error.h" #include "force.h" #include "memory.h" -#include "modify.h" #include "neigh_list.h" #include "neigh_request.h" #include "neighbor.h" diff --git a/src/MESONT/pair_mesocnt.cpp b/src/MESONT/pair_mesocnt.cpp index 390f1758f7..9ba677b31d 100644 --- a/src/MESONT/pair_mesocnt.cpp +++ b/src/MESONT/pair_mesocnt.cpp @@ -20,7 +20,6 @@ #include "pair_mesocnt.h" #include "atom.h" -#include "comm.h" #include "error.h" #include "force.h" #include "math_const.h" diff --git a/src/PERI/compute_dilatation_atom.cpp b/src/PERI/compute_dilatation_atom.cpp index ae43bf5503..7735bbbaac 100644 --- a/src/PERI/compute_dilatation_atom.cpp +++ b/src/PERI/compute_dilatation_atom.cpp @@ -21,7 +21,6 @@ #include "atom.h" #include "comm.h" #include "error.h" -#include "fix.h" #include "force.h" #include "memory.h" #include "modify.h" diff --git a/src/fix_nvt_sllod.cpp b/src/fix_nvt_sllod.cpp index cd819f8705..bc5d3f7298 100644 --- a/src/fix_nvt_sllod.cpp +++ b/src/fix_nvt_sllod.cpp @@ -22,7 +22,6 @@ #include "compute.h" #include "domain.h" #include "error.h" -#include "fix.h" #include "fix_deform.h" #include "group.h" #include "math_extra.h" diff --git a/src/force.cpp b/src/force.cpp index b815019546..62d9738206 100644 --- a/src/force.cpp +++ b/src/force.cpp @@ -21,18 +21,16 @@ #include "style_kspace.h" // IWYU pragma: keep #include "style_pair.h" // IWYU pragma: keep -#include "angle.h" -#include "atom.h" -#include "bond.h" +#include "angle_hybrid.h" #include "bond_hybrid.h" -#include "comm.h" -#include "dihedral.h" -#include "error.h" -#include "improper.h" -#include "kspace.h" -#include "pair.h" +#include "dihedral_hybrid.h" +#include "improper_hybrid.h" #include "pair_hybrid.h" -#include "pair_hybrid_overlay.h" +#include "kspace.h" + +#include "atom.h" +#include "comm.h" +#include "error.h" #include diff --git a/src/table_file_reader.cpp b/src/table_file_reader.cpp index 9ee0c33649..bcd4e91886 100644 --- a/src/table_file_reader.cpp +++ b/src/table_file_reader.cpp @@ -19,7 +19,6 @@ #include "table_file_reader.h" #include "text_file_reader.h" -#include "tokenizer.h" using namespace LAMMPS_NS;