diff --git a/src/KIM/kim_param.cpp b/src/KIM/kim_param.cpp index ae4ca9b13d..6f4ac5cc21 100644 --- a/src/KIM/kim_param.cpp +++ b/src/KIM/kim_param.cpp @@ -57,7 +57,6 @@ #include "kim_param.h" -#include "comm.h" #include "error.h" #include "fix_store_kim.h" #include "force.h" diff --git a/src/KIM/pair_kim.cpp b/src/KIM/pair_kim.cpp index 3422f93f3a..7ed70972c5 100644 --- a/src/KIM/pair_kim.cpp +++ b/src/KIM/pair_kim.cpp @@ -55,21 +55,20 @@ Designed for use with the kim-api-2.0.2 (and newer) package ------------------------------------------------------------------------- */ #include "pair_kim.h" -#include - -#include #include "atom.h" #include "comm.h" +#include "domain.h" +#include "error.h" #include "force.h" -#include "neighbor.h" +#include "memory.h" #include "neigh_list.h" #include "neigh_request.h" +#include "neighbor.h" #include "update.h" -#include "memory.h" -#include "domain.h" -#include "error.h" +#include +#include using namespace LAMMPS_NS; diff --git a/src/MISC/fix_orient_fcc.cpp b/src/MISC/fix_orient_fcc.cpp index bcbdcfabc5..f391eab91e 100644 --- a/src/MISC/fix_orient_fcc.cpp +++ b/src/MISC/fix_orient_fcc.cpp @@ -16,25 +16,21 @@ ------------------------------------------------------------------------- */ #include "fix_orient_fcc.h" -#include -#include - - #include "atom.h" -#include "update.h" -#include "respa.h" -#include "neighbor.h" +#include "citeme.h" +#include "comm.h" +#include "error.h" +#include "math_const.h" +#include "memory.h" #include "neigh_list.h" #include "neigh_request.h" -#include "comm.h" -#include "force.h" -#include "math_const.h" -#include "citeme.h" -#include "memory.h" -#include "error.h" - +#include "neighbor.h" +#include "respa.h" +#include "update.h" +#include +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/MLIAP/mliap_model.cpp b/src/MLIAP/mliap_model.cpp index ac82a671d4..b731e1c9f8 100644 --- a/src/MLIAP/mliap_model.cpp +++ b/src/MLIAP/mliap_model.cpp @@ -13,7 +13,6 @@ #include "mliap_model.h" -#include "atom.h" #include "comm.h" #include "error.h" #include "memory.h" diff --git a/src/SPIN/min_spin.cpp b/src/SPIN/min_spin.cpp index df7fc71f8b..f36f11f2a9 100644 --- a/src/SPIN/min_spin.cpp +++ b/src/SPIN/min_spin.cpp @@ -18,17 +18,17 @@ ------------------------------------------------------------------------- */ #include "min_spin.h" -#include -#include -#include -#include "universe.h" + #include "atom.h" -#include "force.h" -#include "update.h" -#include "output.h" -#include "timer.h" #include "error.h" #include "math_const.h" +#include "output.h" +#include "timer.h" +#include "universe.h" +#include "update.h" + +#include +#include using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/SPIN/min_spin_cg.cpp b/src/SPIN/min_spin_cg.cpp index a658713d1b..4b8b745419 100644 --- a/src/SPIN/min_spin_cg.cpp +++ b/src/SPIN/min_spin_cg.cpp @@ -21,25 +21,22 @@ preprint arXiv:1904.02669. ------------------------------------------------------------------------- */ -#include -#include -#include -#include #include "min_spin_cg.h" -#include "universe.h" + #include "atom.h" #include "citeme.h" #include "comm.h" +#include "error.h" #include "force.h" -#include "update.h" +#include "math_const.h" +#include "memory.h" #include "output.h" #include "timer.h" -#include "error.h" -#include "memory.h" -#include "modify.h" -#include "math_special.h" -#include "math_const.h" #include "universe.h" +#include "update.h" + +#include +#include using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/SPIN/min_spin_lbfgs.cpp b/src/SPIN/min_spin_lbfgs.cpp index f92fc69e04..40029b7e71 100644 --- a/src/SPIN/min_spin_lbfgs.cpp +++ b/src/SPIN/min_spin_lbfgs.cpp @@ -21,24 +21,22 @@ preprint arXiv:1904.02669. ------------------------------------------------------------------------- */ -#include -#include -#include -#include #include "min_spin_lbfgs.h" + #include "atom.h" #include "citeme.h" #include "comm.h" +#include "error.h" #include "force.h" -#include "update.h" +#include "math_const.h" +#include "memory.h" #include "output.h" #include "timer.h" -#include "error.h" -#include "memory.h" -#include "modify.h" -#include "math_special.h" -#include "math_const.h" #include "universe.h" +#include "update.h" + +#include +#include using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/SPIN/neb_spin.cpp b/src/SPIN/neb_spin.cpp index 96808b7f10..a89ca403ce 100644 --- a/src/SPIN/neb_spin.cpp +++ b/src/SPIN/neb_spin.cpp @@ -22,29 +22,26 @@ ------------------------------------------------------------------------- */ #include "neb_spin.h" -#include -#include -#include -#include -#include "citeme.h" -#include "force.h" -#include "universe.h" + #include "atom.h" -#include "update.h" -#include "domain.h" +#include "citeme.h" #include "comm.h" -#include "min.h" -#include "modify.h" +#include "domain.h" +#include "error.h" +#include "finish.h" #include "fix.h" #include "fix_neb_spin.h" +#include "memory.h" +#include "min.h" +#include "modify.h" #include "output.h" #include "thermo.h" -#include "finish.h" #include "timer.h" -#include "memory.h" -#include "error.h" -#include "math_const.h" -#include "utils.h" +#include "universe.h" +#include "update.h" + +#include +#include using namespace LAMMPS_NS; diff --git a/src/SPIN/pair_spin_dipole_cut.cpp b/src/SPIN/pair_spin_dipole_cut.cpp index 4da05c57cb..b27c9736b2 100644 --- a/src/SPIN/pair_spin_dipole_cut.cpp +++ b/src/SPIN/pair_spin_dipole_cut.cpp @@ -23,19 +23,16 @@ #include "pair_spin_dipole_cut.h" -#include -#include #include "atom.h" #include "comm.h" -#include "neigh_list.h" -#include "fix.h" +#include "error.h" #include "force.h" #include "math_const.h" #include "memory.h" -#include "modify.h" -#include "error.h" -#include "update.h" +#include "neigh_list.h" +#include +#include using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/SPIN/pair_spin_dipole_long.cpp b/src/SPIN/pair_spin_dipole_long.cpp index 605370f7f1..d4b1b8e43e 100644 --- a/src/SPIN/pair_spin_dipole_long.cpp +++ b/src/SPIN/pair_spin_dipole_long.cpp @@ -18,20 +18,17 @@ #include "pair_spin_dipole_long.h" -#include -#include #include "atom.h" #include "comm.h" -#include "neigh_list.h" -#include "fix.h" +#include "error.h" #include "force.h" #include "kspace.h" #include "math_const.h" #include "memory.h" -#include "modify.h" -#include "error.h" -#include "update.h" +#include "neigh_list.h" +#include +#include using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/SPIN/pair_spin_dmi.cpp b/src/SPIN/pair_spin_dmi.cpp index 0a5bde2c9f..e27f9fad7d 100644 --- a/src/SPIN/pair_spin_dmi.cpp +++ b/src/SPIN/pair_spin_dmi.cpp @@ -23,18 +23,15 @@ #include "pair_spin_dmi.h" -#include -#include #include "atom.h" #include "comm.h" #include "error.h" #include "force.h" -#include "fix.h" -#include "neigh_list.h" #include "memory.h" -#include "modify.h" -#include "update.h" +#include "neigh_list.h" +#include +#include using namespace LAMMPS_NS; diff --git a/src/SPIN/pair_spin_exchange.cpp b/src/SPIN/pair_spin_exchange.cpp index a932aa5c54..27da47dd0f 100644 --- a/src/SPIN/pair_spin_exchange.cpp +++ b/src/SPIN/pair_spin_exchange.cpp @@ -23,18 +23,15 @@ #include "pair_spin_exchange.h" -#include -#include #include "atom.h" #include "comm.h" #include "error.h" -#include "fix.h" #include "force.h" -#include "neigh_list.h" #include "memory.h" -#include "modify.h" -#include "update.h" +#include "neigh_list.h" +#include +#include using namespace LAMMPS_NS; diff --git a/src/SPIN/pair_spin_magelec.cpp b/src/SPIN/pair_spin_magelec.cpp index 65a2904228..2242cf985d 100644 --- a/src/SPIN/pair_spin_magelec.cpp +++ b/src/SPIN/pair_spin_magelec.cpp @@ -23,18 +23,15 @@ #include "pair_spin_magelec.h" -#include -#include #include "atom.h" #include "comm.h" #include "error.h" -#include "fix.h" #include "force.h" -#include "neigh_list.h" #include "memory.h" -#include "modify.h" -#include "update.h" +#include "neigh_list.h" +#include +#include using namespace LAMMPS_NS; diff --git a/src/SPIN/pair_spin_neel.cpp b/src/SPIN/pair_spin_neel.cpp index ceb487d378..33ea904c0c 100644 --- a/src/SPIN/pair_spin_neel.cpp +++ b/src/SPIN/pair_spin_neel.cpp @@ -23,18 +23,15 @@ #include "pair_spin_neel.h" -#include -#include #include "atom.h" #include "comm.h" #include "error.h" -#include "fix.h" #include "force.h" -#include "neigh_list.h" #include "memory.h" -#include "modify.h" -#include "update.h" +#include "neigh_list.h" +#include +#include using namespace LAMMPS_NS; diff --git a/src/SRD/fix_wall_srd.cpp b/src/SRD/fix_wall_srd.cpp index 461dc5f5ad..8ffd764447 100644 --- a/src/SRD/fix_wall_srd.cpp +++ b/src/SRD/fix_wall_srd.cpp @@ -13,17 +13,17 @@ #include "fix_wall_srd.h" -#include -#include "fix.h" #include "domain.h" -#include "lattice.h" +#include "error.h" +#include "fix.h" #include "input.h" +#include "lattice.h" +#include "memory.h" #include "modify.h" #include "update.h" #include "variable.h" -#include "memory.h" -#include "error.h" -#include "force.h" + +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-ATC/fix_atc.cpp b/src/USER-ATC/fix_atc.cpp index 2165132856..dd02676466 100644 --- a/src/USER-ATC/fix_atc.cpp +++ b/src/USER-ATC/fix_atc.cpp @@ -12,23 +12,15 @@ ------------------------------------------------------------------------- */ #include "fix_atc.h" -#include -#include -#include -#include "fix_nve.h" + #include "atom.h" -#include "force.h" -#include "update.h" -#include "respa.h" -#include "error.h" -#include "neighbor.h" -#include "neigh_request.h" -#include "pointers.h" #include "comm.h" +#include "error.h" #include "group.h" +#include "neigh_request.h" +#include "neighbor.h" #include "ATC_Method.h" -#include "ATC_Transfer.h" #include "ATC_TransferKernel.h" #include "ATC_TransferPartitionOfUnity.h" #include "ATC_CouplingEnergy.h" @@ -37,6 +29,8 @@ #include "ATC_CouplingMomentumEnergy.h" #include "LammpsInterface.h" +#include + using namespace LAMMPS_NS; using namespace FixConst; using std::string; diff --git a/src/USER-ATC/fix_atc.h b/src/USER-ATC/fix_atc.h index 2512c658db..5bf26f6eaa 100644 --- a/src/USER-ATC/fix_atc.h +++ b/src/USER-ATC/fix_atc.h @@ -8,7 +8,6 @@ FixStyle(atc,FixATC) #define FIX_ATC_H #include "fix.h" -#include "pointers.h" // access to lammps pointers namespace ATC { class ATC_Method; diff --git a/src/USER-AWPMD/atom_vec_wavepacket.cpp b/src/USER-AWPMD/atom_vec_wavepacket.cpp index 0d11e983ad..46b239be08 100644 --- a/src/USER-AWPMD/atom_vec_wavepacket.cpp +++ b/src/USER-AWPMD/atom_vec_wavepacket.cpp @@ -16,9 +16,10 @@ ------------------------------------------------------------------------- */ #include "atom_vec_wavepacket.h" -#include + #include "atom.h" -#include "error.h" + +#include using namespace LAMMPS_NS; diff --git a/src/USER-AWPMD/pair_awpmd_cut.cpp b/src/USER-AWPMD/pair_awpmd_cut.cpp index d492cd082d..5e23b7fc69 100644 --- a/src/USER-AWPMD/pair_awpmd_cut.cpp +++ b/src/USER-AWPMD/pair_awpmd_cut.cpp @@ -17,28 +17,29 @@ #include "pair_awpmd_cut.h" -#include -#include -#include -#include #include "atom.h" -#include "update.h" -#include "min.h" -#include "domain.h" #include "comm.h" +#include "domain.h" +#include "error.h" #include "force.h" -#include "neighbor.h" +#include "memory.h" +#include "min.h" #include "neigh_list.h" #include "neigh_request.h" -#include "memory.h" -#include "error.h" - +#include "neighbor.h" +#include "update.h" #include "logexc.h" #include "vector_3.h" #include "TCP/wpmd.h" #include "TCP/wpmd_split.h" +#include +#include +#include +#include +#include + using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ diff --git a/src/USER-BOCS/compute_pressure_bocs.cpp b/src/USER-BOCS/compute_pressure_bocs.cpp index 4af2356e1a..a4b8de84bd 100644 --- a/src/USER-BOCS/compute_pressure_bocs.cpp +++ b/src/USER-BOCS/compute_pressure_bocs.cpp @@ -16,11 +16,6 @@ #include "compute_pressure_bocs.h" - -#include -#include - - #include "angle.h" #include "atom.h" #include "bond.h" @@ -28,15 +23,15 @@ #include "domain.h" #include "error.h" #include "fix.h" - #include "force.h" #include "improper.h" #include "kspace.h" -#include "memory.h" #include "modify.h" #include "pair.h" #include "update.h" +#include +#include using namespace LAMMPS_NS; diff --git a/src/USER-COLVARS/fix_colvars.cpp b/src/USER-COLVARS/fix_colvars.cpp index fc575c2e79..fcbfb58456 100644 --- a/src/USER-COLVARS/fix_colvars.cpp +++ b/src/USER-COLVARS/fix_colvars.cpp @@ -26,28 +26,25 @@ #include "fix_colvars.h" - -#include -#include - -#include -#include - #include "atom.h" +#include "citeme.h" #include "comm.h" #include "domain.h" #include "error.h" -#include "force.h" #include "memory.h" #include "modify.h" #include "respa.h" #include "universe.h" #include "update.h" -#include "citeme.h" #include "colvarproxy_lammps.h" #include "colvarmodule.h" +#include +#include +#include +#include + static const char colvars_pub[] = "fix colvars command:\n\n" "@Article{fiorin13,\n" diff --git a/src/USER-COLVARS/fix_colvars.h b/src/USER-COLVARS/fix_colvars.h index 2486446f35..fff61ce218 100644 --- a/src/USER-COLVARS/fix_colvars.h +++ b/src/USER-COLVARS/fix_colvars.h @@ -34,7 +34,6 @@ FixStyle(colvars,FixColvars) #define LMP_FIX_COLVARS_H #include "fix.h" -#include class colvarproxy_lammps; diff --git a/src/USER-COLVARS/group_ndx.cpp b/src/USER-COLVARS/group_ndx.cpp index 1e37e2de9c..07a8ac2d5c 100644 --- a/src/USER-COLVARS/group_ndx.cpp +++ b/src/USER-COLVARS/group_ndx.cpp @@ -17,12 +17,11 @@ ------------------------------------------------------------------------- */ #include "group_ndx.h" -#include -#include + #include "atom.h" #include "comm.h" -#include "group.h" #include "error.h" +#include "group.h" using namespace LAMMPS_NS; diff --git a/src/USER-COLVARS/ndx_group.cpp b/src/USER-COLVARS/ndx_group.cpp index feab2f22b2..bab1592b1e 100644 --- a/src/USER-COLVARS/ndx_group.cpp +++ b/src/USER-COLVARS/ndx_group.cpp @@ -17,13 +17,13 @@ ------------------------------------------------------------------------- */ #include "ndx_group.h" -#include -#include -#include + #include "atom.h" #include "comm.h" -#include "group.h" #include "error.h" +#include "group.h" + +#include using namespace LAMMPS_NS; #define BUFLEN 4096 diff --git a/src/USER-DIFFRACTION/compute_saed.cpp b/src/USER-DIFFRACTION/compute_saed.cpp index 677bf62a25..d16fbf2876 100644 --- a/src/USER-DIFFRACTION/compute_saed.cpp +++ b/src/USER-DIFFRACTION/compute_saed.cpp @@ -15,23 +15,23 @@ Contributing authors: Shawn Coleman & Douglas Spearot (Arkansas) ------------------------------------------------------------------------- */ -#include "omp_compat.h" #include "compute_saed.h" -#include - -#include -#include "math_const.h" -#include "compute_saed_consts.h" #include "atom.h" -#include "comm.h" -#include "update.h" -#include "domain.h" -#include "group.h" #include "citeme.h" -#include "memory.h" +#include "comm.h" +#include "compute_saed_consts.h" +#include "domain.h" #include "error.h" +#include "group.h" +#include "math_const.h" +#include "memory.h" +#include "update.h" +#include +#include + +#include "omp_compat.h" using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/USER-DIFFRACTION/compute_xrd.cpp b/src/USER-DIFFRACTION/compute_xrd.cpp index 0dac7aca5e..b48de49c81 100644 --- a/src/USER-DIFFRACTION/compute_xrd.cpp +++ b/src/USER-DIFFRACTION/compute_xrd.cpp @@ -16,23 +16,23 @@ Updated: 06/17/2015-2 ------------------------------------------------------------------------- */ -#include "omp_compat.h" #include "compute_xrd.h" +#include "compute_xrd_consts.h" + +#include "atom.h" +#include "citeme.h" +#include "comm.h" +#include "domain.h" +#include "error.h" +#include "group.h" +#include "math_const.h" +#include "memory.h" +#include "update.h" #include - #include -#include "math_const.h" -#include "compute_xrd_consts.h" -#include "atom.h" -#include "comm.h" -#include "update.h" -#include "domain.h" -#include "group.h" -#include "citeme.h" -#include "memory.h" -#include "error.h" +#include "omp_compat.h" using namespace LAMMPS_NS; using namespace MathConst; diff --git a/src/USER-DIFFRACTION/fix_saed_vtk.cpp b/src/USER-DIFFRACTION/fix_saed_vtk.cpp index 08833db224..39382264c4 100644 --- a/src/USER-DIFFRACTION/fix_saed_vtk.cpp +++ b/src/USER-DIFFRACTION/fix_saed_vtk.cpp @@ -18,17 +18,16 @@ #include "fix_saed_vtk.h" -#include -#include -#include "update.h" -#include "modify.h" #include "compute.h" #include "compute_saed.h" -#include "memory.h" -#include "error.h" -#include "force.h" #include "domain.h" +#include "error.h" +#include "memory.h" +#include "modify.h" +#include "update.h" +#include +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-DPD/fix_eos_cv.cpp b/src/USER-DPD/fix_eos_cv.cpp index bd0e334ffc..db9b877b1c 100644 --- a/src/USER-DPD/fix_eos_cv.cpp +++ b/src/USER-DPD/fix_eos_cv.cpp @@ -16,9 +16,9 @@ ------------------------------------------------------------------------- */ #include "fix_eos_cv.h" + #include "atom.h" #include "error.h" -#include "force.h" using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-DPD/fix_eos_table.cpp b/src/USER-DPD/fix_eos_table.cpp index 7134eaca22..57cfe03dc8 100644 --- a/src/USER-DPD/fix_eos_table.cpp +++ b/src/USER-DPD/fix_eos_table.cpp @@ -17,13 +17,11 @@ #include "fix_eos_table.h" - -#include #include "atom.h" #include "error.h" -#include "force.h" #include "memory.h" +#include #define MAXLINE 1024 diff --git a/src/USER-DPD/fix_shardlow.cpp b/src/USER-DPD/fix_shardlow.cpp index e533140dd6..c4480a0373 100644 --- a/src/USER-DPD/fix_shardlow.cpp +++ b/src/USER-DPD/fix_shardlow.cpp @@ -35,26 +35,25 @@ #include "fix_shardlow.h" -#include -#include -#include #include "atom.h" -#include "force.h" -#include "update.h" -#include "error.h" +#include "citeme.h" #include "comm.h" -#include "neighbor.h" +#include "domain.h" +#include "error.h" +#include "force.h" +#include "memory.h" +#include "modify.h" #include "neigh_list.h" #include "neigh_request.h" +#include "neighbor.h" #include "npair.h" -#include "memory.h" -#include "domain.h" -#include "modify.h" +#include "npair_half_bin_newton_ssa.h" #include "pair_dpd_fdt.h" #include "pair_dpd_fdt_energy.h" -#include "npair_half_bin_newton_ssa.h" -#include "citeme.h" +#include "update.h" +#include +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-DPD/pair_dpd_fdt.cpp b/src/USER-DPD/pair_dpd_fdt.cpp index c988f4205c..1d3d952e9f 100644 --- a/src/USER-DPD/pair_dpd_fdt.cpp +++ b/src/USER-DPD/pair_dpd_fdt.cpp @@ -17,20 +17,19 @@ #include "pair_dpd_fdt.h" -#include -#include #include "atom.h" #include "comm.h" -#include "update.h" +#include "error.h" #include "fix.h" #include "force.h" -#include "neighbor.h" -#include "neigh_list.h" -#include "random_mars.h" #include "memory.h" #include "modify.h" -#include "error.h" +#include "neigh_list.h" +#include "neighbor.h" +#include "random_mars.h" +#include "update.h" +#include using namespace LAMMPS_NS; diff --git a/src/USER-DPD/pair_dpd_fdt_energy.cpp b/src/USER-DPD/pair_dpd_fdt_energy.cpp index 9231ab7ba3..b843e4601a 100644 --- a/src/USER-DPD/pair_dpd_fdt_energy.cpp +++ b/src/USER-DPD/pair_dpd_fdt_energy.cpp @@ -17,20 +17,19 @@ #include "pair_dpd_fdt_energy.h" -#include -#include #include "atom.h" #include "comm.h" -#include "update.h" +#include "error.h" #include "fix.h" #include "force.h" -#include "neighbor.h" -#include "neigh_list.h" -#include "random_mars.h" #include "memory.h" #include "modify.h" -#include "error.h" +#include "neigh_list.h" +#include "neighbor.h" +#include "random_mars.h" +#include "update.h" +#include using namespace LAMMPS_NS; diff --git a/src/USER-EFF/atom_vec_electron.cpp b/src/USER-EFF/atom_vec_electron.cpp index 0912fb0498..65923d2e75 100644 --- a/src/USER-EFF/atom_vec_electron.cpp +++ b/src/USER-EFF/atom_vec_electron.cpp @@ -16,10 +16,11 @@ ------------------------------------------------------------------------- */ #include "atom_vec_electron.h" -#include + #include "atom.h" #include "citeme.h" -#include "error.h" + +#include using namespace LAMMPS_NS; diff --git a/src/USER-EFF/fix_nh_eff.cpp b/src/USER-EFF/fix_nh_eff.cpp index 9fdbc6a0bf..d5b574510c 100644 --- a/src/USER-EFF/fix_nh_eff.cpp +++ b/src/USER-EFF/fix_nh_eff.cpp @@ -17,8 +17,8 @@ #include "fix_nh_eff.h" + #include "atom.h" -#include "atom_vec.h" #include "error.h" #include "domain.h" diff --git a/src/USER-MANIFOLD/fix_manifoldforce.cpp b/src/USER-MANIFOLD/fix_manifoldforce.cpp index b016dd8ecb..732ba0909e 100644 --- a/src/USER-MANIFOLD/fix_manifoldforce.cpp +++ b/src/USER-MANIFOLD/fix_manifoldforce.cpp @@ -13,16 +13,15 @@ #include "fix_manifoldforce.h" // For stuff -#include -#include "atom.h" -#include "update.h" -#include "respa.h" -#include "error.h" -#include "force.h" - #include "manifold.h" #include "manifold_factory.h" // For constructing manifold +#include "atom.h" +#include "error.h" +#include "respa.h" +#include "update.h" + +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-MANIFOLD/manifold_gaussian_bump.cpp b/src/USER-MANIFOLD/manifold_gaussian_bump.cpp index b9b7ae7279..ef26999295 100644 --- a/src/USER-MANIFOLD/manifold_gaussian_bump.cpp +++ b/src/USER-MANIFOLD/manifold_gaussian_bump.cpp @@ -3,6 +3,8 @@ #include "comm.h" #include "error.h" +#include + using namespace LAMMPS_NS; using namespace user_manifold; diff --git a/src/USER-MEAMC/meam.h b/src/USER-MEAMC/meam.h index b4f8fd341b..b974ce5bc8 100644 --- a/src/USER-MEAMC/meam.h +++ b/src/USER-MEAMC/meam.h @@ -1,9 +1,23 @@ +/* -*- c++ -*- ---------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ + #ifndef LMP_MEAM_H #define LMP_MEAM_H +#include "math_const.h" // IWYU pragma: export + #include #include -#include "math_const.h" #define maxelt 5 diff --git a/src/USER-MEAMC/meam_dens_final.cpp b/src/USER-MEAMC/meam_dens_final.cpp index fe9e74ca7c..02c461e6b7 100644 --- a/src/USER-MEAMC/meam_dens_final.cpp +++ b/src/USER-MEAMC/meam_dens_final.cpp @@ -1,3 +1,15 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ #include "meam.h" using namespace LAMMPS_NS; diff --git a/src/USER-MEAMC/meam_dens_init.cpp b/src/USER-MEAMC/meam_dens_init.cpp index dcaa5866de..7a5ee7a651 100644 --- a/src/USER-MEAMC/meam_dens_init.cpp +++ b/src/USER-MEAMC/meam_dens_init.cpp @@ -1,3 +1,15 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ #include "meam.h" #include "math_special.h" diff --git a/src/USER-MEAMC/meam_force.cpp b/src/USER-MEAMC/meam_force.cpp index df1f8f9a1d..eba4f79ea9 100644 --- a/src/USER-MEAMC/meam_force.cpp +++ b/src/USER-MEAMC/meam_force.cpp @@ -1,3 +1,15 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ #include "meam.h" #include "math_special.h" diff --git a/src/USER-MEAMC/meam_setup_done.cpp b/src/USER-MEAMC/meam_setup_done.cpp index f493d9dcac..ddbb40310c 100644 --- a/src/USER-MEAMC/meam_setup_done.cpp +++ b/src/USER-MEAMC/meam_setup_done.cpp @@ -1,3 +1,15 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ #include "meam.h" #include "math_special.h" diff --git a/src/USER-MEAMC/meam_setup_global.cpp b/src/USER-MEAMC/meam_setup_global.cpp index c5f3115249..93b866a14f 100644 --- a/src/USER-MEAMC/meam_setup_global.cpp +++ b/src/USER-MEAMC/meam_setup_global.cpp @@ -1,3 +1,15 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ #include "meam.h" #include diff --git a/src/USER-MEAMC/meam_setup_param.cpp b/src/USER-MEAMC/meam_setup_param.cpp index ea76ee896c..f2c44504de 100644 --- a/src/USER-MEAMC/meam_setup_param.cpp +++ b/src/USER-MEAMC/meam_setup_param.cpp @@ -1,3 +1,15 @@ +/* ---------------------------------------------------------------------- + LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator + http://lammps.sandia.gov, Sandia National Laboratories + Steve Plimpton, sjplimp@sandia.gov + + Copyright (2003) Sandia Corporation. Under the terms of Contract + DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains + certain rights in this software. This software is distributed under + the GNU General Public License. + + See the README file in the top-level LAMMPS directory. +------------------------------------------------------------------------- */ #include "meam.h" diff --git a/src/USER-MESODPD/atom_vec_edpd.cpp b/src/USER-MESODPD/atom_vec_edpd.cpp index c3fae823ea..1542c73604 100644 --- a/src/USER-MESODPD/atom_vec_edpd.cpp +++ b/src/USER-MESODPD/atom_vec_edpd.cpp @@ -12,16 +12,13 @@ ------------------------------------------------------------------------- */ #include "atom_vec_edpd.h" -#include -#include "atom.h" -#include "comm.h" -#include "domain.h" -#include "modify.h" -#include "fix.h" -#include "update.h" -#include "memory.h" -#include "error.h" +#include "atom.h" +#include "error.h" +#include "modify.h" +#include "update.h" + +#include using namespace LAMMPS_NS; diff --git a/src/USER-MESODPD/compute_tdpd_cc_atom.cpp b/src/USER-MESODPD/compute_tdpd_cc_atom.cpp index bc02c93e1a..7e9d5eb29e 100644 --- a/src/USER-MESODPD/compute_tdpd_cc_atom.cpp +++ b/src/USER-MESODPD/compute_tdpd_cc_atom.cpp @@ -11,15 +11,16 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include #include "compute_tdpd_cc_atom.h" + #include "atom.h" -#include "update.h" -#include "modify.h" #include "comm.h" -#include "force.h" -#include "memory.h" #include "error.h" +#include "memory.h" +#include "modify.h" +#include "update.h" + +#include using namespace LAMMPS_NS; diff --git a/src/USER-MESODPD/fix_edpd_source.cpp b/src/USER-MESODPD/fix_edpd_source.cpp index 9d31e5f410..c84f2f29a2 100644 --- a/src/USER-MESODPD/fix_edpd_source.cpp +++ b/src/USER-MESODPD/fix_edpd_source.cpp @@ -12,11 +12,12 @@ ------------------------------------------------------------------------- */ #include "fix_edpd_source.h" -#include -#include + #include "atom.h" #include "error.h" -#include "force.h" + +#include +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-MESODPD/fix_tdpd_source.cpp b/src/USER-MESODPD/fix_tdpd_source.cpp index 7c19d78b1f..440c5055fb 100644 --- a/src/USER-MESODPD/fix_tdpd_source.cpp +++ b/src/USER-MESODPD/fix_tdpd_source.cpp @@ -12,11 +12,12 @@ ------------------------------------------------------------------------- */ #include "fix_tdpd_source.h" -#include -#include + #include "atom.h" #include "error.h" -#include "force.h" + +#include +#include using namespace LAMMPS_NS; using namespace FixConst; diff --git a/src/USER-MESODPD/pair_mdpd_rhosum.cpp b/src/USER-MESODPD/pair_mdpd_rhosum.cpp index def61dea8f..2f25177b0a 100644 --- a/src/USER-MESODPD/pair_mdpd_rhosum.cpp +++ b/src/USER-MESODPD/pair_mdpd_rhosum.cpp @@ -20,16 +20,16 @@ ------------------------------------------------------------------------- */ #include "pair_mdpd_rhosum.h" -#include + #include "atom.h" -#include "force.h" #include "comm.h" +#include "error.h" +#include "memory.h" #include "neigh_list.h" #include "neigh_request.h" -#include "memory.h" -#include "error.h" #include "neighbor.h" +#include using namespace LAMMPS_NS; diff --git a/src/USER-MISC/fix_propel_self.cpp b/src/USER-MISC/fix_propel_self.cpp index 522c2eb4a5..1b0d780c69 100644 --- a/src/USER-MISC/fix_propel_self.cpp +++ b/src/USER-MISC/fix_propel_self.cpp @@ -22,7 +22,6 @@ #include "atom.h" #include "atom_vec_ellipsoid.h" #include "error.h" -#include "math.h" #include "math_const.h" #include "math_extra.h"