From 11708c8f96aa0f020d8c562a577940578ec4882a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 2 Jul 2019 12:07:26 -0400 Subject: [PATCH] continue cleaning up include files based on IWYU --- src/npair_skip_respa.cpp | 3 --- src/npair_skip_size.cpp | 2 -- src/npair_skip_size_off2on.cpp | 2 -- src/npair_skip_size_off2on_oneside.cpp | 2 -- src/nstencil_full_bin_2d.cpp | 2 -- src/nstencil_full_bin_3d.cpp | 2 -- src/nstencil_full_ghost_bin_2d.cpp | 2 -- src/nstencil_full_ghost_bin_3d.cpp | 2 -- src/nstencil_full_multi_2d.cpp | 2 -- src/nstencil_full_multi_3d.cpp | 2 -- src/nstencil_half_bin_2d_newtoff.cpp | 2 -- src/nstencil_half_bin_2d_newton.cpp | 2 -- src/nstencil_half_bin_2d_newton_tri.cpp | 2 -- src/nstencil_half_bin_3d_newtoff.cpp | 2 -- src/nstencil_half_bin_3d_newton.cpp | 2 -- src/nstencil_half_bin_3d_newton_tri.cpp | 2 -- src/nstencil_half_ghost_bin_2d_newtoff.cpp | 2 -- src/nstencil_half_ghost_bin_3d_newtoff.cpp | 2 -- src/nstencil_half_multi_2d_newtoff.cpp | 2 -- src/nstencil_half_multi_2d_newton.cpp | 2 -- src/nstencil_half_multi_2d_newton_tri.cpp | 2 -- src/nstencil_half_multi_3d_newtoff.cpp | 2 -- src/nstencil_half_multi_3d_newton.cpp | 2 -- src/nstencil_half_multi_3d_newton_tri.cpp | 2 -- src/ntopo.cpp | 2 +- src/output.cpp | 3 --- src/pair.cpp | 10 ++-------- src/pair_beck.cpp | 3 +-- src/pair_born.cpp | 3 +-- src/pair_born_coul_dsf.cpp | 4 +--- src/pair_born_coul_wolf.cpp | 4 +--- src/pair_buck.cpp | 3 +-- src/pair_coul_debye.cpp | 6 +----- src/pair_coul_dsf.cpp | 3 +-- src/pair_coul_streitz.cpp | 4 +--- src/pair_coul_wolf.cpp | 4 +--- src/pair_dpd.cpp | 4 +--- src/pair_dpd_tstat.cpp | 1 + src/pair_gauss.cpp | 4 +--- src/pair_hybrid.cpp | 3 +-- src/pair_hybrid_overlay.cpp | 3 --- src/pair_lj96_cut.cpp | 4 +--- src/pair_lj_cubic.cpp | 5 +---- src/pair_lj_cut.cpp | 4 +--- 44 files changed, 19 insertions(+), 107 deletions(-) diff --git a/src/npair_skip_respa.cpp b/src/npair_skip_respa.cpp index 1d4eda5354..68436654b2 100644 --- a/src/npair_skip_respa.cpp +++ b/src/npair_skip_respa.cpp @@ -12,12 +12,9 @@ ------------------------------------------------------------------------- */ #include "npair_skip_respa.h" -#include "neighbor.h" #include "neigh_list.h" #include "atom.h" #include "atom_vec.h" -#include "molecule.h" -#include "domain.h" #include "my_page.h" #include "error.h" diff --git a/src/npair_skip_size.cpp b/src/npair_skip_size.cpp index 67717ae576..436d21f76f 100644 --- a/src/npair_skip_size.cpp +++ b/src/npair_skip_size.cpp @@ -11,9 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include "npair_skip_size.h" -#include "neighbor.h" #include "neigh_list.h" #include "atom.h" #include "atom_vec.h" diff --git a/src/npair_skip_size_off2on.cpp b/src/npair_skip_size_off2on.cpp index 74a80e6d3d..cd674ff777 100644 --- a/src/npair_skip_size_off2on.cpp +++ b/src/npair_skip_size_off2on.cpp @@ -11,9 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include "npair_skip_size_off2on.h" -#include "neighbor.h" #include "neigh_list.h" #include "atom.h" #include "atom_vec.h" diff --git a/src/npair_skip_size_off2on_oneside.cpp b/src/npair_skip_size_off2on_oneside.cpp index a042acd1c6..0540592cba 100644 --- a/src/npair_skip_size_off2on_oneside.cpp +++ b/src/npair_skip_size_off2on_oneside.cpp @@ -11,9 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include "npair_skip_size_off2on_oneside.h" -#include "neighbor.h" #include "neigh_list.h" #include "atom.h" #include "atom_vec.h" diff --git a/src/nstencil_full_bin_2d.cpp b/src/nstencil_full_bin_2d.cpp index 0986c40dd4..b18d990bba 100644 --- a/src/nstencil_full_bin_2d.cpp +++ b/src/nstencil_full_bin_2d.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_full_bin_2d.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_full_bin_3d.cpp b/src/nstencil_full_bin_3d.cpp index b6a2198132..46ec073ddd 100644 --- a/src/nstencil_full_bin_3d.cpp +++ b/src/nstencil_full_bin_3d.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_full_bin_3d.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_full_ghost_bin_2d.cpp b/src/nstencil_full_ghost_bin_2d.cpp index bbbf1a4466..5ac19569c5 100644 --- a/src/nstencil_full_ghost_bin_2d.cpp +++ b/src/nstencil_full_ghost_bin_2d.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_full_ghost_bin_2d.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_full_ghost_bin_3d.cpp b/src/nstencil_full_ghost_bin_3d.cpp index e9abca2174..6ee56516dc 100644 --- a/src/nstencil_full_ghost_bin_3d.cpp +++ b/src/nstencil_full_ghost_bin_3d.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_full_ghost_bin_3d.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_full_multi_2d.cpp b/src/nstencil_full_multi_2d.cpp index ed2ffe11dc..c69c53a761 100644 --- a/src/nstencil_full_multi_2d.cpp +++ b/src/nstencil_full_multi_2d.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_full_multi_2d.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_full_multi_3d.cpp b/src/nstencil_full_multi_3d.cpp index c171bfadc5..df47c1e7e9 100644 --- a/src/nstencil_full_multi_3d.cpp +++ b/src/nstencil_full_multi_3d.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_full_multi_3d.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_bin_2d_newtoff.cpp b/src/nstencil_half_bin_2d_newtoff.cpp index e51db6fe7a..f3a6c5d08b 100644 --- a/src/nstencil_half_bin_2d_newtoff.cpp +++ b/src/nstencil_half_bin_2d_newtoff.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_bin_2d_newtoff.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_bin_2d_newton.cpp b/src/nstencil_half_bin_2d_newton.cpp index 9479bbf0c8..8fdc8f1aa9 100644 --- a/src/nstencil_half_bin_2d_newton.cpp +++ b/src/nstencil_half_bin_2d_newton.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_bin_2d_newton.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_bin_2d_newton_tri.cpp b/src/nstencil_half_bin_2d_newton_tri.cpp index 4f89b1c326..30d064fb29 100644 --- a/src/nstencil_half_bin_2d_newton_tri.cpp +++ b/src/nstencil_half_bin_2d_newton_tri.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_bin_2d_newton_tri.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_bin_3d_newtoff.cpp b/src/nstencil_half_bin_3d_newtoff.cpp index 433de400c2..e44a93d47d 100644 --- a/src/nstencil_half_bin_3d_newtoff.cpp +++ b/src/nstencil_half_bin_3d_newtoff.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_bin_3d_newtoff.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_bin_3d_newton.cpp b/src/nstencil_half_bin_3d_newton.cpp index 24c234c004..998ed28afe 100644 --- a/src/nstencil_half_bin_3d_newton.cpp +++ b/src/nstencil_half_bin_3d_newton.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_bin_3d_newton.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_bin_3d_newton_tri.cpp b/src/nstencil_half_bin_3d_newton_tri.cpp index 691ce0bb80..2aae44ceaf 100644 --- a/src/nstencil_half_bin_3d_newton_tri.cpp +++ b/src/nstencil_half_bin_3d_newton_tri.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_bin_3d_newton_tri.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_ghost_bin_2d_newtoff.cpp b/src/nstencil_half_ghost_bin_2d_newtoff.cpp index 4bb0ecafe2..6f9a7585fe 100644 --- a/src/nstencil_half_ghost_bin_2d_newtoff.cpp +++ b/src/nstencil_half_ghost_bin_2d_newtoff.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_ghost_bin_2d_newtoff.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_ghost_bin_3d_newtoff.cpp b/src/nstencil_half_ghost_bin_3d_newtoff.cpp index 1026b11542..6492fe4a4e 100644 --- a/src/nstencil_half_ghost_bin_3d_newtoff.cpp +++ b/src/nstencil_half_ghost_bin_3d_newtoff.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_ghost_bin_3d_newtoff.h" -#include "neighbor.h" -#include "neigh_list.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_multi_2d_newtoff.cpp b/src/nstencil_half_multi_2d_newtoff.cpp index 567abe2878..63cd3fd524 100644 --- a/src/nstencil_half_multi_2d_newtoff.cpp +++ b/src/nstencil_half_multi_2d_newtoff.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_multi_2d_newtoff.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_multi_2d_newton.cpp b/src/nstencil_half_multi_2d_newton.cpp index 5dc2c37148..f6f6c488a5 100644 --- a/src/nstencil_half_multi_2d_newton.cpp +++ b/src/nstencil_half_multi_2d_newton.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_multi_2d_newton.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_multi_2d_newton_tri.cpp b/src/nstencil_half_multi_2d_newton_tri.cpp index 59a5a1d19e..b44ab36ea0 100644 --- a/src/nstencil_half_multi_2d_newton_tri.cpp +++ b/src/nstencil_half_multi_2d_newton_tri.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_multi_2d_newton_tri.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_multi_3d_newtoff.cpp b/src/nstencil_half_multi_3d_newtoff.cpp index 72b882dddc..5a83c4e002 100644 --- a/src/nstencil_half_multi_3d_newtoff.cpp +++ b/src/nstencil_half_multi_3d_newtoff.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_multi_3d_newtoff.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_multi_3d_newton.cpp b/src/nstencil_half_multi_3d_newton.cpp index 9a5d5cab65..5b0c7f9f63 100644 --- a/src/nstencil_half_multi_3d_newton.cpp +++ b/src/nstencil_half_multi_3d_newton.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_multi_3d_newton.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/nstencil_half_multi_3d_newton_tri.cpp b/src/nstencil_half_multi_3d_newton_tri.cpp index 953beb3211..b25a0d0bdb 100644 --- a/src/nstencil_half_multi_3d_newton_tri.cpp +++ b/src/nstencil_half_multi_3d_newton_tri.cpp @@ -12,8 +12,6 @@ ------------------------------------------------------------------------- */ #include "nstencil_half_multi_3d_newton_tri.h" -#include "neighbor.h" -#include "neigh_list.h" #include "atom.h" using namespace LAMMPS_NS; diff --git a/src/ntopo.cpp b/src/ntopo.cpp index 8a87a5d6e5..05e287e192 100644 --- a/src/ntopo.cpp +++ b/src/ntopo.cpp @@ -11,7 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include +#include #include "ntopo.h" #include "atom.h" #include "neighbor.h" diff --git a/src/output.cpp b/src/output.cpp index 6253d7de37..fb2f9a700d 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -11,8 +11,6 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include -#include #include #include "output.h" #include "style_dump.h" @@ -26,7 +24,6 @@ #include "domain.h" #include "thermo.h" #include "modify.h" -#include "compute.h" #include "force.h" #include "dump.h" #include "write_restart.h" diff --git a/src/pair.cpp b/src/pair.cpp index 2b4863a54c..3d7bdaa62c 100644 --- a/src/pair.cpp +++ b/src/pair.cpp @@ -16,23 +16,17 @@ ------------------------------------------------------------------------- */ #include -#include -#include -#include +#include // IWYU pragma: keep +#include // IWYU pragma: keep #include -#include -#include #include #include "pair.h" #include "atom.h" #include "neighbor.h" -#include "neigh_list.h" #include "domain.h" #include "comm.h" #include "force.h" #include "kspace.h" -#include "update.h" -#include "modify.h" #include "compute.h" #include "suffix.h" #include "atom_masks.h" diff --git a/src/pair_beck.cpp b/src/pair_beck.cpp index 17731ebf0b..8ba3ef80f2 100644 --- a/src/pair_beck.cpp +++ b/src/pair_beck.cpp @@ -15,9 +15,8 @@ Contributing author: Jonathan Zimmerman (Sandia) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include "pair_beck.h" #include "atom.h" #include "comm.h" diff --git a/src/pair_born.cpp b/src/pair_born.cpp index 78434c91f8..ae7456ddbb 100644 --- a/src/pair_born.cpp +++ b/src/pair_born.cpp @@ -15,9 +15,8 @@ Contributing Author: Sai Jayaraman (Sandia) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "pair_born.h" #include "atom.h" diff --git a/src/pair_born_coul_dsf.cpp b/src/pair_born_coul_dsf.cpp index 2e565897b5..51b9a2677d 100644 --- a/src/pair_born_coul_dsf.cpp +++ b/src/pair_born_coul_dsf.cpp @@ -16,10 +16,8 @@ References: Fennell and Gezelter, JCP 124, 234104 (2006) ------------------------------------------------------------------------- */ +#include #include -#include -#include -#include #include "pair_born_coul_dsf.h" #include "atom.h" #include "comm.h" diff --git a/src/pair_born_coul_wolf.cpp b/src/pair_born_coul_wolf.cpp index 3bb0e39e57..f4ccac80a1 100644 --- a/src/pair_born_coul_wolf.cpp +++ b/src/pair_born_coul_wolf.cpp @@ -15,10 +15,8 @@ Contributing author: Yongfeng Zhang (INL), yongfeng.zhang@inl.gov ------------------------------------------------------------------------- */ +#include #include -#include -#include -#include #include "pair_born_coul_wolf.h" #include "atom.h" #include "comm.h" diff --git a/src/pair_buck.cpp b/src/pair_buck.cpp index a3cf1a38d6..b9795fb0ed 100644 --- a/src/pair_buck.cpp +++ b/src/pair_buck.cpp @@ -11,9 +11,8 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "pair_buck.h" #include "atom.h" diff --git a/src/pair_coul_debye.cpp b/src/pair_coul_debye.cpp index c8afdabb93..cd23ef1919 100644 --- a/src/pair_coul_debye.cpp +++ b/src/pair_coul_debye.cpp @@ -11,17 +11,13 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include -#include -#include -#include #include "pair_coul_debye.h" #include "atom.h" #include "comm.h" #include "force.h" -#include "neighbor.h" #include "neigh_list.h" -#include "memory.h" #include "error.h" using namespace LAMMPS_NS; diff --git a/src/pair_coul_dsf.cpp b/src/pair_coul_dsf.cpp index e487ff171c..4c15b5d330 100644 --- a/src/pair_coul_dsf.cpp +++ b/src/pair_coul_dsf.cpp @@ -16,9 +16,8 @@ References: Fennell and Gezelter, JCP 124, 234104 (2006) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "pair_coul_dsf.h" #include "atom.h" diff --git a/src/pair_coul_streitz.cpp b/src/pair_coul_streitz.cpp index 282c855249..f577564ac1 100644 --- a/src/pair_coul_streitz.cpp +++ b/src/pair_coul_streitz.cpp @@ -15,8 +15,8 @@ Contributing author: Ray Shan (Sandia) ------------------------------------------------------------------------- */ +#include #include -#include #include #include #include "pair_coul_streitz.h" @@ -27,8 +27,6 @@ #include "neighbor.h" #include "neigh_list.h" #include "neigh_request.h" -#include "group.h" -#include "update.h" #include "math_const.h" #include "memory.h" #include "error.h" diff --git a/src/pair_coul_wolf.cpp b/src/pair_coul_wolf.cpp index dbf21b8bee..8c15378de8 100644 --- a/src/pair_coul_wolf.cpp +++ b/src/pair_coul_wolf.cpp @@ -15,10 +15,8 @@ Contributing author: Yongfeng Zhang (INL), yongfeng.zhang@inl.gov ------------------------------------------------------------------------- */ +#include #include -#include -#include -#include #include "pair_coul_wolf.h" #include "atom.h" #include "comm.h" diff --git a/src/pair_dpd.cpp b/src/pair_dpd.cpp index 914b4aee17..e5e6cf7dae 100644 --- a/src/pair_dpd.cpp +++ b/src/pair_dpd.cpp @@ -15,12 +15,10 @@ Contributing author: Kurt Smith (U Pittsburgh) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include "pair_dpd.h" #include "atom.h" -#include "atom_vec.h" #include "comm.h" #include "update.h" #include "force.h" diff --git a/src/pair_dpd_tstat.cpp b/src/pair_dpd_tstat.cpp index 1207c954eb..66c8d91ab1 100644 --- a/src/pair_dpd_tstat.cpp +++ b/src/pair_dpd_tstat.cpp @@ -11,6 +11,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ +#include #include #include "pair_dpd_tstat.h" #include "atom.h" diff --git a/src/pair_gauss.cpp b/src/pair_gauss.cpp index 2d157d6cac..7df9a417c3 100644 --- a/src/pair_gauss.cpp +++ b/src/pair_gauss.cpp @@ -15,15 +15,13 @@ Contributing author: Sai Jayaraman (Sandia) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "pair_gauss.h" #include "atom.h" #include "comm.h" #include "force.h" -#include "neighbor.h" #include "neigh_list.h" #include "memory.h" #include "error.h" diff --git a/src/pair_hybrid.cpp b/src/pair_hybrid.cpp index 9aff8a387a..daeee3d2b3 100644 --- a/src/pair_hybrid.cpp +++ b/src/pair_hybrid.cpp @@ -12,8 +12,7 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include -#include +#include #include #include #include "pair_hybrid.h" diff --git a/src/pair_hybrid_overlay.cpp b/src/pair_hybrid_overlay.cpp index 717c0de1d1..496e3d0406 100644 --- a/src/pair_hybrid_overlay.cpp +++ b/src/pair_hybrid_overlay.cpp @@ -11,14 +11,11 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include #include #include "pair_hybrid_overlay.h" #include "atom.h" #include "force.h" -#include "neighbor.h" -#include "neigh_request.h" #include "error.h" using namespace LAMMPS_NS; diff --git a/src/pair_lj96_cut.cpp b/src/pair_lj96_cut.cpp index cefe9b87e0..62e645ef2c 100644 --- a/src/pair_lj96_cut.cpp +++ b/src/pair_lj96_cut.cpp @@ -15,9 +15,8 @@ Contributing author: Chuanfu Luo (luochuanfu@gmail.com) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "pair_lj96_cut.h" #include "atom.h" @@ -27,7 +26,6 @@ #include "neigh_list.h" #include "neigh_request.h" #include "update.h" -#include "integrate.h" #include "respa.h" #include "math_const.h" #include "memory.h" diff --git a/src/pair_lj_cubic.cpp b/src/pair_lj_cubic.cpp index fdbfca608f..8b1b4b7627 100644 --- a/src/pair_lj_cubic.cpp +++ b/src/pair_lj_cubic.cpp @@ -16,15 +16,12 @@ Contributing author: Aidan Thompson (SNL) ------------------------------------------------------------------------- */ +#include #include -#include -#include -#include #include "pair_lj_cubic.h" #include "atom.h" #include "comm.h" #include "force.h" -#include "neighbor.h" #include "neigh_list.h" #include "memory.h" #include "error.h" diff --git a/src/pair_lj_cut.cpp b/src/pair_lj_cut.cpp index 2a0fcde3a5..9284923218 100644 --- a/src/pair_lj_cut.cpp +++ b/src/pair_lj_cut.cpp @@ -15,9 +15,8 @@ Contributing author: Paul Crozier (SNL) ------------------------------------------------------------------------- */ +#include #include -#include -#include #include #include "pair_lj_cut.h" #include "atom.h" @@ -27,7 +26,6 @@ #include "neigh_list.h" #include "neigh_request.h" #include "update.h" -#include "integrate.h" #include "respa.h" #include "math_const.h" #include "memory.h"