From 31cbccda85de0c04dff11eebe97eabc53b57a738 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 28 Jun 2019 21:38:19 -0400 Subject: [PATCH] continue cleaning up include file lists --- src/RIGID/fix_shake.cpp | 4 +--- src/dihedral_hybrid.cpp | 3 +-- src/dihedral_zero.cpp | 3 --- src/displace_atoms.cpp | 2 +- src/domain.cpp | 4 ---- src/domain.h | 2 +- src/dump.cpp | 2 -- src/dump_atom.cpp | 1 - src/dump_cfg.cpp | 8 -------- src/dump_custom.cpp | 1 - src/dump_dcd.cpp | 2 -- src/dump_image.cpp | 4 ++-- src/dump_local.cpp | 1 - src/dump_movie.cpp | 3 --- src/dump_xyz.cpp | 1 - src/error.cpp | 1 - src/finish.cpp | 4 ---- src/fix.cpp | 1 - src/fix_adapt.cpp | 2 -- src/fix_addforce.cpp | 1 + src/fix_ave_atom.cpp | 1 - src/fix_ave_chunk.cpp | 2 ++ src/fix_ave_correlate.cpp | 2 ++ src/fix_ave_histo.cpp | 3 ++- src/fix_ave_histo_weight.cpp | 8 +++----- src/fix_ave_time.cpp | 2 ++ src/fix_aveforce.cpp | 1 - src/fix_balance.cpp | 2 -- src/fix_box_relax.cpp | 1 - src/fix_deform.cpp | 1 - src/fix_drag.cpp | 2 +- src/fix_dt_reset.cpp | 2 +- src/fix_external.cpp | 2 -- src/fix_gravity.cpp | 3 +-- src/fix_halt.cpp | 3 +-- src/fix_heat.cpp | 2 +- src/fix_indent.cpp | 3 +-- src/fix_langevin.cpp | 3 --- src/fix_lineforce.cpp | 1 - src/fix_minimize.cpp | 2 -- src/fix_momentum.cpp | 3 ++- src/fix_move.cpp | 2 -- src/fix_neigh_history.cpp | 4 +--- src/fix_neigh_history.h | 1 - src/fix_nh.cpp | 2 -- src/fix_nh_sphere.cpp | 2 +- src/fix_nve.cpp | 1 - src/fix_nve_limit.cpp | 3 +-- src/fix_nve_noforce.cpp | 1 - src/fix_nve_sphere.cpp | 3 --- src/fix_nvt_sllod.cpp | 1 - src/fix_planeforce.cpp | 1 - src/fix_press_berendsen.cpp | 2 -- src/fix_print.cpp | 2 +- src/fix_property_atom.cpp | 2 -- src/fix_read_restart.cpp | 1 - src/fix_recenter.cpp | 2 +- src/fix_respa.cpp | 1 - src/fix_restrain.cpp | 3 +-- 59 files changed, 32 insertions(+), 101 deletions(-) diff --git a/src/RIGID/fix_shake.cpp b/src/RIGID/fix_shake.cpp index 23ced2d0e7..5c202706af 100644 --- a/src/RIGID/fix_shake.cpp +++ b/src/RIGID/fix_shake.cpp @@ -13,11 +13,9 @@ #include #include -#include +#include #include -#include #include "fix_shake.h" -#include "fix_rattle.h" #include "atom.h" #include "atom_vec.h" #include "molecule.h" diff --git a/src/dihedral_hybrid.cpp b/src/dihedral_hybrid.cpp index f3e4823d53..27fd7084bc 100644 --- a/src/dihedral_hybrid.cpp +++ b/src/dihedral_hybrid.cpp @@ -11,13 +11,12 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include +#include #include #include #include "dihedral_hybrid.h" #include "atom.h" #include "neighbor.h" -#include "domain.h" #include "comm.h" #include "force.h" #include "memory.h" diff --git a/src/dihedral_zero.cpp b/src/dihedral_zero.cpp index 8145d5f32d..0367477267 100644 --- a/src/dihedral_zero.cpp +++ b/src/dihedral_zero.cpp @@ -15,13 +15,10 @@ Contributing author: Carsten Svaneborg (SDU) ------------------------------------------------------------------------- */ -#include -#include #include #include "dihedral_zero.h" #include "atom.h" #include "force.h" -#include "comm.h" #include "memory.h" #include "error.h" diff --git a/src/displace_atoms.cpp b/src/displace_atoms.cpp index 7b29b1d3d5..8bae173a1d 100644 --- a/src/displace_atoms.cpp +++ b/src/displace_atoms.cpp @@ -12,7 +12,7 @@ ------------------------------------------------------------------------- */ #include -#include +#include #include #include "displace_atoms.h" #include "atom.h" diff --git a/src/domain.cpp b/src/domain.cpp index 74d7560c31..197eff514a 100644 --- a/src/domain.cpp +++ b/src/domain.cpp @@ -16,9 +16,7 @@ ------------------------------------------------------------------------- */ #include -#include #include -#include #include #include "domain.h" #include "style_region.h" @@ -37,13 +35,11 @@ #include "output.h" #include "thermo.h" #include "universe.h" -#include "math_const.h" #include "memory.h" #include "error.h" #include "utils.h" using namespace LAMMPS_NS; -using namespace MathConst; #define BIG 1.0e20 #define SMALL 1.0e-4 diff --git a/src/domain.h b/src/domain.h index e131d07a1b..a0bda8ae72 100644 --- a/src/domain.h +++ b/src/domain.h @@ -15,9 +15,9 @@ #define LMP_DOMAIN_H #include -#include "pointers.h" #include #include +#include "pointers.h" namespace LAMMPS_NS { diff --git a/src/dump.cpp b/src/dump.cpp index 8fa07a9cb2..b08a4de2ad 100644 --- a/src/dump.cpp +++ b/src/dump.cpp @@ -12,9 +12,7 @@ ------------------------------------------------------------------------- */ #include -#include #include -#include #include "dump.h" #include "atom.h" #include "irregular.h" diff --git a/src/dump_atom.cpp b/src/dump_atom.cpp index 74583f4013..c95256ac21 100644 --- a/src/dump_atom.cpp +++ b/src/dump_atom.cpp @@ -16,7 +16,6 @@ #include "domain.h" #include "atom.h" #include "update.h" -#include "group.h" #include "memory.h" #include "error.h" diff --git a/src/dump_cfg.cpp b/src/dump_cfg.cpp index ddd662c8a6..eb5329e0d1 100644 --- a/src/dump_cfg.cpp +++ b/src/dump_cfg.cpp @@ -16,18 +16,10 @@ Memory efficiency improved by Ray Shan (Sandia) ------------------------------------------------------------------------- */ -#include -#include #include #include "dump_cfg.h" #include "atom.h" #include "domain.h" -#include "comm.h" -#include "modify.h" -#include "compute.h" -#include "input.h" -#include "fix.h" -#include "variable.h" #include "memory.h" #include "error.h" diff --git a/src/dump_custom.cpp b/src/dump_custom.cpp index 17ad4b89ef..75e4e42bcd 100644 --- a/src/dump_custom.cpp +++ b/src/dump_custom.cpp @@ -11,7 +11,6 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include #include #include "dump_custom.h" diff --git a/src/dump_dcd.cpp b/src/dump_dcd.cpp index 384e9089c0..ce669fecfd 100644 --- a/src/dump_dcd.cpp +++ b/src/dump_dcd.cpp @@ -17,8 +17,6 @@ ------------------------------------------------------------------------- */ #include -#include // requires C++-11 -#include #include #include #include "dump_dcd.h" diff --git a/src/dump_image.cpp b/src/dump_image.cpp index 0d63d2e4cb..0b4ca43879 100644 --- a/src/dump_image.cpp +++ b/src/dump_image.cpp @@ -11,20 +11,20 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include #include -#include #include #include "dump_image.h" #include "image.h" #include "atom.h" +#include "atom_vec.h" #include "atom_vec_line.h" #include "atom_vec_tri.h" #include "atom_vec_body.h" #include "body.h" #include "molecule.h" #include "domain.h" -#include "group.h" #include "force.h" #include "comm.h" #include "modify.h" diff --git a/src/dump_local.cpp b/src/dump_local.cpp index 8dc0554690..f99b7ac06c 100644 --- a/src/dump_local.cpp +++ b/src/dump_local.cpp @@ -15,7 +15,6 @@ #include #include #include "dump_local.h" -#include "atom.h" #include "modify.h" #include "fix.h" #include "compute.h" diff --git a/src/dump_movie.cpp b/src/dump_movie.cpp index 59dfdc3d6e..37d8a37f4d 100644 --- a/src/dump_movie.cpp +++ b/src/dump_movie.cpp @@ -15,13 +15,10 @@ Contributing author: Axel Kohlmeyer (Temple U) ------------------------------------------------------------------------- */ -#include -#include #include #include "dump_movie.h" #include "comm.h" #include "force.h" -#include "memory.h" #include "error.h" using namespace LAMMPS_NS; diff --git a/src/dump_xyz.cpp b/src/dump_xyz.cpp index fd52671d81..4d50cfc2c8 100644 --- a/src/dump_xyz.cpp +++ b/src/dump_xyz.cpp @@ -14,7 +14,6 @@ #include #include "dump_xyz.h" #include "atom.h" -#include "group.h" #include "error.h" #include "memory.h" #include "update.h" diff --git a/src/error.cpp b/src/error.cpp index cc80dcb4d8..8970145b7c 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -16,7 +16,6 @@ #include #include "error.h" #include "universe.h" -#include "update.h" #include "output.h" #include "input.h" diff --git a/src/finish.cpp b/src/finish.cpp index 1baa6d6fda..77c959b945 100644 --- a/src/finish.cpp +++ b/src/finish.cpp @@ -15,12 +15,10 @@ #include #include #include -#include #include "finish.h" #include "timer.h" #include "universe.h" #include "accelerator_kokkos.h" -#include "accelerator_omp.h" #include "atom.h" #include "atom_vec.h" #include "molecule.h" @@ -32,10 +30,8 @@ #include "neighbor.h" #include "neigh_list.h" #include "neigh_request.h" -#include "output.h" #include "memory.h" #include "error.h" -#include "utils.h" #ifdef LMP_USER_OMP #include "modify.h" diff --git a/src/fix.cpp b/src/fix.cpp index 634bc2393d..1913ed483e 100644 --- a/src/fix.cpp +++ b/src/fix.cpp @@ -17,7 +17,6 @@ #include "atom.h" #include "group.h" #include "force.h" -#include "comm.h" #include "atom_masks.h" #include "memory.h" #include "error.h" diff --git a/src/fix_adapt.cpp b/src/fix_adapt.cpp index 9a5b528747..7ac6128558 100644 --- a/src/fix_adapt.cpp +++ b/src/fix_adapt.cpp @@ -11,9 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include -#include #include "fix_adapt.h" #include "atom.h" #include "bond.h" diff --git a/src/fix_addforce.cpp b/src/fix_addforce.cpp index d66457a1f1..e29c4ffe9f 100644 --- a/src/fix_addforce.cpp +++ b/src/fix_addforce.cpp @@ -11,6 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include #include #include "fix_addforce.h" diff --git a/src/fix_ave_atom.cpp b/src/fix_ave_atom.cpp index c8cbad75c9..e6566632de 100644 --- a/src/fix_ave_atom.cpp +++ b/src/fix_ave_atom.cpp @@ -15,7 +15,6 @@ #include #include "fix_ave_atom.h" #include "atom.h" -#include "domain.h" #include "update.h" #include "modify.h" #include "compute.h" diff --git a/src/fix_ave_chunk.cpp b/src/fix_ave_chunk.cpp index 7aed4dcbe7..1533d1fa4f 100644 --- a/src/fix_ave_chunk.cpp +++ b/src/fix_ave_chunk.cpp @@ -11,6 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include +#include // IWYU pragma: keep #include #include #include diff --git a/src/fix_ave_correlate.cpp b/src/fix_ave_correlate.cpp index 5c95f20ec2..555c1ac026 100644 --- a/src/fix_ave_correlate.cpp +++ b/src/fix_ave_correlate.cpp @@ -17,6 +17,8 @@ Reese Jones (Sandia) ------------------------------------------------------------------------- */ +#include +#include // IWYU pragma: keep #include #include #include diff --git a/src/fix_ave_histo.cpp b/src/fix_ave_histo.cpp index 87da5222f0..29fdc21c74 100644 --- a/src/fix_ave_histo.cpp +++ b/src/fix_ave_histo.cpp @@ -11,6 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include +#include // IWYU pragma: keep #include #include #include @@ -19,7 +21,6 @@ #include "update.h" #include "modify.h" #include "compute.h" -#include "group.h" #include "input.h" #include "variable.h" #include "memory.h" diff --git a/src/fix_ave_histo_weight.cpp b/src/fix_ave_histo_weight.cpp index c78f4fa1e3..5eeb074472 100644 --- a/src/fix_ave_histo_weight.cpp +++ b/src/fix_ave_histo_weight.cpp @@ -14,21 +14,19 @@ /* ---------------------------------------------------------------------- Contributing author: Shawn Coleman (ARL) ------------------------------------------------------------------------- */ - -#include -#include +#include +#include // IWYU pragma: keep #include +#include "fix.h" #include "fix_ave_histo_weight.h" #include "atom.h" #include "update.h" #include "modify.h" #include "compute.h" -#include "group.h" #include "input.h" #include "variable.h" #include "memory.h" #include "error.h" -#include "force.h" using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/fix_ave_time.cpp b/src/fix_ave_time.cpp index 50654b6561..4820215f46 100644 --- a/src/fix_ave_time.cpp +++ b/src/fix_ave_time.cpp @@ -15,6 +15,8 @@ Contributing author: Pieter in 't Veld (SNL) ------------------------------------------------------------------------- */ +#include +#include // IWYU pragma: keep #include #include #include diff --git a/src/fix_aveforce.cpp b/src/fix_aveforce.cpp index 1c87ba5785..4791a8b022 100644 --- a/src/fix_aveforce.cpp +++ b/src/fix_aveforce.cpp @@ -13,7 +13,6 @@ #include #include -#include #include "fix_aveforce.h" #include "atom.h" #include "update.h" diff --git a/src/fix_balance.cpp b/src/fix_balance.cpp index ddaf42b49d..f9c32e8df0 100644 --- a/src/fix_balance.cpp +++ b/src/fix_balance.cpp @@ -12,7 +12,6 @@ ------------------------------------------------------------------------- */ #include -#include #include "fix_balance.h" #include "balance.h" #include "update.h" @@ -26,7 +25,6 @@ #include "modify.h" #include "fix_store.h" #include "rcb.h" -#include "timer.h" #include "error.h" using namespace LAMMPS_NS; diff --git a/src/fix_box_relax.cpp b/src/fix_box_relax.cpp index a315330d14..c73c0ade88 100644 --- a/src/fix_box_relax.cpp +++ b/src/fix_box_relax.cpp @@ -17,7 +17,6 @@ #include #include -#include #include "fix_box_relax.h" #include "atom.h" #include "domain.h" diff --git a/src/fix_deform.cpp b/src/fix_deform.cpp index 909ead3e2a..96d7580c39 100644 --- a/src/fix_deform.cpp +++ b/src/fix_deform.cpp @@ -16,7 +16,6 @@ ------------------------------------------------------------------------- */ #include -#include #include #include "fix_deform.h" #include "atom.h" diff --git a/src/fix_drag.cpp b/src/fix_drag.cpp index e4cf12d1ff..006d1c46d0 100644 --- a/src/fix_drag.cpp +++ b/src/fix_drag.cpp @@ -11,8 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include #include #include "fix_drag.h" #include "atom.h" diff --git a/src/fix_dt_reset.cpp b/src/fix_dt_reset.cpp index 7566094b48..4e6195c4fa 100644 --- a/src/fix_dt_reset.cpp +++ b/src/fix_dt_reset.cpp @@ -11,8 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include #include #include "fix_dt_reset.h" #include "atom.h" diff --git a/src/fix_external.cpp b/src/fix_external.cpp index b1ffa65e49..2c926e26b5 100644 --- a/src/fix_external.cpp +++ b/src/fix_external.cpp @@ -11,9 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include -#include #include "fix_external.h" #include "atom.h" #include "update.h" diff --git a/src/fix_gravity.cpp b/src/fix_gravity.cpp index bc10eb2807..8508a92cc4 100644 --- a/src/fix_gravity.cpp +++ b/src/fix_gravity.cpp @@ -11,9 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "fix_gravity.h" #include "atom.h" diff --git a/src/fix_halt.cpp b/src/fix_halt.cpp index 5fda4c30d6..133494fb8e 100644 --- a/src/fix_halt.cpp +++ b/src/fix_halt.cpp @@ -11,13 +11,12 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include #include #include "fix_halt.h" #include "update.h" #include "force.h" -#include "update.h" #include "input.h" #include "variable.h" #include "atom.h" diff --git a/src/fix_heat.cpp b/src/fix_heat.cpp index f34845785c..f78a9c0860 100644 --- a/src/fix_heat.cpp +++ b/src/fix_heat.cpp @@ -15,8 +15,8 @@ Contributing author: Paul Crozier (SNL) ------------------------------------------------------------------------- */ +#include #include -#include #include #include "fix_heat.h" #include "atom.h" diff --git a/src/fix_indent.cpp b/src/fix_indent.cpp index b8e07dfd53..6a42cadefd 100644 --- a/src/fix_indent.cpp +++ b/src/fix_indent.cpp @@ -15,9 +15,9 @@ Contributing author: Ravi Agrawal (Northwestern U) ------------------------------------------------------------------------- */ +#include #include #include -#include #include "fix_indent.h" #include "atom.h" #include "input.h" @@ -26,7 +26,6 @@ #include "lattice.h" #include "update.h" #include "modify.h" -#include "output.h" #include "respa.h" #include "error.h" #include "force.h" diff --git a/src/fix_langevin.cpp b/src/fix_langevin.cpp index 36ea47daf6..0f48562048 100644 --- a/src/fix_langevin.cpp +++ b/src/fix_langevin.cpp @@ -19,7 +19,6 @@ #include #include #include -#include #include "fix_langevin.h" #include "math_extra.h" #include "atom.h" @@ -28,8 +27,6 @@ #include "update.h" #include "modify.h" #include "compute.h" -#include "domain.h" -#include "region.h" #include "respa.h" #include "comm.h" #include "input.h" diff --git a/src/fix_lineforce.cpp b/src/fix_lineforce.cpp index aea1a2a25b..61c6341aa6 100644 --- a/src/fix_lineforce.cpp +++ b/src/fix_lineforce.cpp @@ -13,7 +13,6 @@ #include #include -#include #include "fix_lineforce.h" #include "atom.h" #include "update.h" diff --git a/src/fix_minimize.cpp b/src/fix_minimize.cpp index fa39643a1b..df2dfb02a7 100644 --- a/src/fix_minimize.cpp +++ b/src/fix_minimize.cpp @@ -11,12 +11,10 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include "fix_minimize.h" #include "atom.h" #include "domain.h" #include "memory.h" -#include "error.h" using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/fix_momentum.cpp b/src/fix_momentum.cpp index 680251e670..bf94a94362 100644 --- a/src/fix_momentum.cpp +++ b/src/fix_momentum.cpp @@ -11,7 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include +#include +#include #include #include "fix_momentum.h" #include "atom.h" diff --git a/src/fix_move.cpp b/src/fix_move.cpp index 0a5f506ab2..646f943ef9 100644 --- a/src/fix_move.cpp +++ b/src/fix_move.cpp @@ -12,11 +12,9 @@ ------------------------------------------------------------------------- */ #include -#include #include #include "fix_move.h" #include "atom.h" -#include "group.h" #include "update.h" #include "modify.h" #include "force.h" diff --git a/src/fix_neigh_history.cpp b/src/fix_neigh_history.cpp index 207c409596..ca593f29df 100644 --- a/src/fix_neigh_history.cpp +++ b/src/fix_neigh_history.cpp @@ -13,16 +13,14 @@ #include #include -#include #include "fix_neigh_history.h" +#include "my_page.h" #include "atom.h" #include "comm.h" #include "neighbor.h" #include "neigh_list.h" #include "force.h" #include "pair.h" -#include "update.h" -#include "modify.h" #include "memory.h" #include "error.h" diff --git a/src/fix_neigh_history.h b/src/fix_neigh_history.h index 601e8a55a2..51d03f5b12 100644 --- a/src/fix_neigh_history.h +++ b/src/fix_neigh_history.h @@ -21,7 +21,6 @@ FixStyle(NEIGH_HISTORY,FixNeighHistory) #define LMP_FIX_NEIGH_HISTORY_H #include "fix.h" -#include "my_page.h" namespace LAMMPS_NS { diff --git a/src/fix_nh.cpp b/src/fix_nh.cpp index deca0ad83d..3ffdff54cf 100644 --- a/src/fix_nh.cpp +++ b/src/fix_nh.cpp @@ -16,10 +16,8 @@ ------------------------------------------------------------------------- */ #include -#include #include #include "fix_nh.h" -#include "math_extra.h" #include "atom.h" #include "force.h" #include "group.h" diff --git a/src/fix_nh_sphere.cpp b/src/fix_nh_sphere.cpp index f176493242..0f1024700a 100644 --- a/src/fix_nh_sphere.cpp +++ b/src/fix_nh_sphere.cpp @@ -16,10 +16,10 @@ ------------------------------------------------------------------------- */ #include +#include #include "fix_nh_sphere.h" #include "atom.h" #include "atom_vec.h" -#include "group.h" #include "error.h" #include "force.h" #include "domain.h" diff --git a/src/fix_nve.cpp b/src/fix_nve.cpp index 959483230e..3396f3ca47 100644 --- a/src/fix_nve.cpp +++ b/src/fix_nve.cpp @@ -11,7 +11,6 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include #include "fix_nve.h" #include "atom.h" diff --git a/src/fix_nve_limit.cpp b/src/fix_nve_limit.cpp index 68ff0665a1..49bed2e3dd 100644 --- a/src/fix_nve_limit.cpp +++ b/src/fix_nve_limit.cpp @@ -11,9 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "fix_nve_limit.h" #include "atom.h" diff --git a/src/fix_nve_noforce.cpp b/src/fix_nve_noforce.cpp index d4fca9e676..7b61aac18e 100644 --- a/src/fix_nve_noforce.cpp +++ b/src/fix_nve_noforce.cpp @@ -11,7 +11,6 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include #include "fix_nve_noforce.h" #include "atom.h" diff --git a/src/fix_nve_sphere.cpp b/src/fix_nve_sphere.cpp index 0bee8b8685..94e8aa88ac 100644 --- a/src/fix_nve_sphere.cpp +++ b/src/fix_nve_sphere.cpp @@ -12,14 +12,11 @@ ------------------------------------------------------------------------- */ #include -#include #include #include "fix_nve_sphere.h" #include "atom.h" #include "domain.h" #include "atom_vec.h" -#include "update.h" -#include "respa.h" #include "force.h" #include "error.h" #include "math_vector.h" diff --git a/src/fix_nvt_sllod.cpp b/src/fix_nvt_sllod.cpp index c7d23364a7..16e2fb1d3d 100644 --- a/src/fix_nvt_sllod.cpp +++ b/src/fix_nvt_sllod.cpp @@ -15,7 +15,6 @@ Contributing author: Pieter in 't Veld (SNL) ------------------------------------------------------------------------- */ -#include #include #include "fix_nvt_sllod.h" #include "math_extra.h" diff --git a/src/fix_planeforce.cpp b/src/fix_planeforce.cpp index 45dc782fcf..a83d00a506 100644 --- a/src/fix_planeforce.cpp +++ b/src/fix_planeforce.cpp @@ -13,7 +13,6 @@ #include #include -#include #include "fix_planeforce.h" #include "atom.h" #include "update.h" diff --git a/src/fix_press_berendsen.cpp b/src/fix_press_berendsen.cpp index 95db004436..ad3e3d1e1c 100644 --- a/src/fix_press_berendsen.cpp +++ b/src/fix_press_berendsen.cpp @@ -12,7 +12,6 @@ ------------------------------------------------------------------------- */ #include -#include #include #include "fix_press_berendsen.h" #include "atom.h" @@ -23,7 +22,6 @@ #include "compute.h" #include "kspace.h" #include "update.h" -#include "respa.h" #include "domain.h" #include "error.h" diff --git a/src/fix_print.cpp b/src/fix_print.cpp index f6db88114a..da2e2b54f3 100644 --- a/src/fix_print.cpp +++ b/src/fix_print.cpp @@ -11,7 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include +#include #include #include "fix_print.h" #include "update.h" diff --git a/src/fix_property_atom.cpp b/src/fix_property_atom.cpp index c89419f850..62c3ec985b 100644 --- a/src/fix_property_atom.cpp +++ b/src/fix_property_atom.cpp @@ -19,8 +19,6 @@ #include "memory.h" #include "error.h" -#include "update.h" - using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/fix_read_restart.cpp b/src/fix_read_restart.cpp index 3c3178f4af..afedf9c12c 100644 --- a/src/fix_read_restart.cpp +++ b/src/fix_read_restart.cpp @@ -11,7 +11,6 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include "fix_read_restart.h" #include "atom.h" #include "memory.h" diff --git a/src/fix_recenter.cpp b/src/fix_recenter.cpp index 75b383d67a..cd50d7dc34 100644 --- a/src/fix_recenter.cpp +++ b/src/fix_recenter.cpp @@ -15,7 +15,7 @@ Contributing author: Naveen Michaud-Agrawal (Johns Hopkins U) ------------------------------------------------------------------------- */ -#include +#include #include #include "fix_recenter.h" #include "atom.h" diff --git a/src/fix_respa.cpp b/src/fix_respa.cpp index 64461ba7ca..ea2eb5050a 100644 --- a/src/fix_respa.cpp +++ b/src/fix_respa.cpp @@ -11,7 +11,6 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include #include "fix_respa.h" #include "atom.h" diff --git a/src/fix_restrain.cpp b/src/fix_restrain.cpp index 08485d65b3..3b9980d567 100644 --- a/src/fix_restrain.cpp +++ b/src/fix_restrain.cpp @@ -16,9 +16,9 @@ support for bond and angle restraints by Andres Jaramillo-Botero (Caltech) ------------------------------------------------------------------------- */ +#include #include #include -#include #include "fix_restrain.h" #include "atom.h" #include "force.h" @@ -26,7 +26,6 @@ #include "domain.h" #include "comm.h" #include "respa.h" -#include "input.h" #include "math_const.h" #include "memory.h" #include "error.h"