IWYU reported header updates

This commit is contained in:
Axel Kohlmeyer
2021-04-13 00:32:11 -04:00
parent 02612047c3
commit fab571cf6b
52 changed files with 84 additions and 119 deletions

View File

@ -12,7 +12,6 @@
------------------------------------------------------------------------- */
#include "body.h"
#include <cstring>
using namespace LAMMPS_NS;

View File

@ -22,7 +22,6 @@
#include "modify.h"
#include <cstring>
#include <cctype>
using namespace LAMMPS_NS;

View File

@ -23,6 +23,8 @@
#include "modify.h"
#include "update.h"
#include <cstring>
using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */

View File

@ -25,6 +25,8 @@
#include "update.h"
#include "variable.h"
#include <cstring>
using namespace LAMMPS_NS;
#define BIG 1.0e20

View File

@ -13,15 +13,14 @@
#include "compute_temp_region.h"
#include <cstring>
#include "atom.h"
#include "update.h"
#include "force.h"
#include "domain.h"
#include "region.h"
#include "error.h"
#include "force.h"
#include "group.h"
#include "memory.h"
#include "error.h"
#include "region.h"
#include "update.h"
using namespace LAMMPS_NS;

View File

@ -21,7 +21,6 @@
#include "memory.h"
#include <cstring>
#include <cctype>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -21,8 +21,6 @@
#include "update.h"
#include "variable.h"
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -12,14 +12,13 @@
------------------------------------------------------------------------- */
#include "fix_enforce2d.h"
#include <cstring>
#include "atom.h"
#include "update.h"
#include "domain.h"
#include "error.h"
#include "modify.h"
#include "respa.h"
#include "error.h"
#include "update.h"
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -19,7 +19,6 @@
#include "update.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -16,8 +16,6 @@
#include "error.h"
#include "modify.h"
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -16,8 +16,6 @@
#include "error.h"
#include "modify.h"
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -13,16 +13,15 @@
#include "fix_nve_limit.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "force.h"
#include "update.h"
#include "respa.h"
#include "modify.h"
#include "comm.h"
#include "error.h"
#include "force.h"
#include "modify.h"
#include "respa.h"
#include "update.h"
#include <cmath>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "fix_nve_noforce.h"
#include <cstring>
#include "atom.h"
#include "update.h"
#include "respa.h"
#include "error.h"
#include "respa.h"
#include "update.h"
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -19,7 +19,6 @@
#include "update.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -12,12 +12,12 @@
------------------------------------------------------------------------- */
#include "fix_store_force.h"
#include <cstring>
#include "atom.h"
#include "update.h"
#include "respa.h"
#include "memory.h"
#include "error.h"
#include "memory.h"
#include "respa.h"
#include "update.h"
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -22,8 +22,6 @@
#include "update.h"
#include "variable.h"
#include <cstring>
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -35,7 +35,6 @@
#include <cstring>
#include <map>
#include <utility>
#include <vector>
using namespace LAMMPS_NS;

View File

@ -16,8 +16,6 @@
#include "atom.h"
#include "error.h"
#include <cstring>
using namespace LAMMPS_NS;
/* -------------------------------------------------------------------- */

View File

@ -20,8 +20,6 @@
#include "memory.h"
#include "variable.h"
#include <cstring>
using namespace LAMMPS_NS;
/* -------------------------------------------------------------------- */

View File

@ -39,7 +39,6 @@
#include "pair.h"
#include "pair_hybrid.h"
#include "region.h"
#include "universe.h"
#include "update.h"
#include "variable.h"

View File

@ -31,7 +31,6 @@
#include "group.h"
#include "info.h"
#include "input.h"
#include "integrate.h"
#include "memory.h"
#include "modify.h"
#include "molecule.h"

View File

@ -18,7 +18,9 @@
#include "math_eigen.h"
#include "math_eigen_impl.h"
#include<array>
#include <array>
#include <utility>
#include <vector>
using std::vector;
using std::array;

View File

@ -4,8 +4,6 @@
#include <cstdint> // IWYU pragma: keep
#include <limits>
#include "error.h"
using namespace LAMMPS_NS;
static constexpr int nmaxfactorial = 167;

View File

@ -14,7 +14,6 @@
#include "my_pool_chunk.h"
#include <cstdlib>
#include <cstdio>
#if defined(LMP_USER_INTEL) && !defined(LAMMPS_MEMALIGN) && !defined(_WIN32)
#define LAMMPS_MEMALIGN 64

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_full_bin_atomonly.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_bin_atomonly_newton.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_size_bin_newtoff.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_size_bin_newton.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_size_bin_newton_tri.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_size_multi_newtoff.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_size_multi_newton.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_half_size_multi_newton_tri.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,12 +12,12 @@
------------------------------------------------------------------------- */
#include "npair_half_size_nsq_newtoff.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "error.h"
#include "group.h"
#include "my_page.h"
#include "error.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,12 +12,12 @@
------------------------------------------------------------------------- */
#include "npair_half_size_nsq_newton.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "error.h"
#include "group.h"
#include "my_page.h"
#include "error.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,10 +12,10 @@
------------------------------------------------------------------------- */
#include "npair_halffull_newtoff.h"
#include "neigh_list.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_halffull_newton.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_skip.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_skip_respa.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_skip_size.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,11 +12,11 @@
------------------------------------------------------------------------- */
#include "npair_skip_size_off2on.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -12,12 +12,12 @@
------------------------------------------------------------------------- */
#include "npair_skip_size_off2on_oneside.h"
#include "neigh_list.h"
#include "atom.h"
#include "atom_vec.h"
#include "domain.h"
#include "my_page.h"
#include "error.h"
#include "my_page.h"
#include "neigh_list.h"
using namespace LAMMPS_NS;

View File

@ -14,18 +14,15 @@
#include "output.h"
#include "style_dump.h" // IWYU pragma: keep
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "dump.h"
#include "error.h"
#include "force.h"
#include "group.h"
#include "info.h"
#include "input.h"
#include "memory.h"
#include "modify.h"
#include "neighbor.h"
#include "thermo.h"
#include "update.h"
#include "variable.h"

View File

@ -17,20 +17,19 @@
#include "pair_lj96_cut.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "comm.h"
#include "error.h"
#include "force.h"
#include "neighbor.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "update.h"
#include "respa.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "neighbor.h"
#include "respa.h"
#include "update.h"
#include <cmath>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -26,7 +26,6 @@
#include "memory.h"
#include <cmath>
#include <cstdlib>
using namespace LAMMPS_NS;

View File

@ -15,8 +15,6 @@
#include "error.h"
#include <cstring>
using namespace LAMMPS_NS;
// only proc 0 calls methods of this class, except for constructor/destructor

View File

@ -19,7 +19,6 @@
#include "variable.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;

View File

@ -19,7 +19,6 @@
#include "utils.h"
#include "fmt/format.h"
#include <exception>
#include <utility>
using namespace LAMMPS_NS;

View File

@ -15,9 +15,7 @@
#include "error.h"
#include "memory.h"
#include "version.h"
#include <cctype>
#include <cstring>
using namespace LAMMPS_NS;

View File

@ -40,7 +40,6 @@
#include <cstring>
#include <unistd.h>
#include <unordered_map>
#include <vector>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -22,7 +22,6 @@
#include "force.h"
#include "improper.h"
#include "pair.h"
#include "universe.h"
#include <cctype>
#include <cstring>

View File

@ -29,7 +29,6 @@
#include "output.h"
#include "pair.h"
#include "thermo.h"
#include "universe.h"
#include "update.h"
#include <cstring>

View File

@ -32,7 +32,6 @@
#include "output.h"
#include "pair.h"
#include "thermo.h"
#include "universe.h"
#include "update.h"
#include <cstring>