more iwyu updates

This commit is contained in:
Axel Kohlmeyer
2022-12-11 23:40:31 -05:00
parent 302bec9de4
commit 01a54723d7
42 changed files with 20 additions and 69 deletions

View File

@ -15,7 +15,6 @@
#include "pair_amoeba.h"
#include "atom.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>

View File

@ -21,7 +21,9 @@
#include "memory.h"
#include "neighbor.h"
#include "remap_wrap.h"
#include "update.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;

View File

@ -17,14 +17,11 @@
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "memory.h"
#include "utils.h"
#include "tokenizer.h"
#include <cmath>
#include <cstring>
#include <cctype>
using namespace LAMMPS_NS;

View File

@ -19,16 +19,13 @@
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "fft3d_wrap.h"
#include "fix_store_peratom.h"
#include "math_const.h"
#include "math_special.h"
#include "memory.h"
#include "my_page.h"
#include "neigh_list.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -18,14 +18,11 @@
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "fft3d_wrap.h"
#include "math_const.h"
#include "math_special.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -18,10 +18,8 @@
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "fft3d_wrap.h"
#include "math_const.h"
#include "math_special.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>

View File

@ -16,7 +16,6 @@
#include "atom.h"
#include "comm.h"
#include "memory.h"
#include "neigh_list.h"
#include <cmath>

View File

@ -15,7 +15,6 @@
#include "pair_amoeba.h"
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "fix_store_peratom.h"

View File

@ -22,7 +22,6 @@
#include "memory.h"
#include "neighbor.h"
#include "pair.h"
#include "update.h"
#include <cmath>

View File

@ -19,25 +19,20 @@
#include "comm.h"
#include "domain.h"
#include "error.h"
#include "fft3d_wrap.h"
#include "fix.h"
#include "fix_store_peratom.h"
#include "force.h"
#include "gridcomm.h"
#include "group.h"
#include "math_special.h"
#include "memory.h"
#include "modify.h"
#include "my_page.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "neighbor.h"
#include "update.h"
#include "utils.h"
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <cctype>
using namespace LAMMPS_NS;

View File

@ -20,7 +20,6 @@
#include "fix_adapt.h"
#include "math_const.h"
#include "modify.h"
#include "utils.h"
#include <cstring>

View File

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

View File

@ -16,8 +16,6 @@
#include "bond.h"
#include <vector>
namespace LAMMPS_NS {
class BondBPM : public Bond {

View File

@ -15,12 +15,8 @@
#include "atom.h"
#include "comm.h"
#include "error.h"
#include "force.h"
#include "memory.h"
#include "update.h"
#include <cstring>
using namespace LAMMPS_NS;
@ -29,7 +25,7 @@ using namespace LAMMPS_NS;
ComputeNBondAtom::ComputeNBondAtom(LAMMPS *_lmp, int narg, char **arg) :
Compute(_lmp, narg, arg), nbond(nullptr)
{
if (narg < 3) error->all(FLERR, "Illegal compute nbond/atom command");
if (narg < 3) utils::missing_cmd_args(FLERR, "compute nbond/atom", error);
peratom_flag = 1;
size_peratom_cols = 0;

View File

@ -14,13 +14,10 @@
#include "fix_nve_bpm_sphere.h"
#include "atom.h"
#include "atom_vec.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "math_extra.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;

View File

@ -20,7 +20,6 @@
#include "atom.h"
#include "citeme.h"
#include "comm.h"
#include "compute.h"
#include "domain.h"
#include "electrode_accel_interface.h"
#include "electrode_math.h"
@ -37,12 +36,15 @@
#include "neigh_request.h"
#include "neighbor.h"
#include "pair.h"
#include "pointers.h"
#include "text_file_reader.h"
#include "variable.h"
#include <algorithm>
#include <cassert>
#include <numeric>
#include <cmath>
#include <cstring>
#include <exception>
#include <utility>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -29,7 +29,6 @@ FixStyle(electrode/conp, FixElectrodeConp);
#include "electrode_accel_interface.h"
#include "fix.h"
#include <algorithm>
#include <map>
#include <memory>
#include <unordered_map>

View File

@ -20,7 +20,6 @@
#include "atom.h"
#include "error.h"
#include "fix_electrode_conp.h"
#include "force.h"
#include "input.h"
#include "random_mars.h"
#include "update.h"

View File

@ -18,12 +18,10 @@
#include "slab_2d.h"
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "force.h"
#include "kspace.h"
#include "math_const.h"
#include "memory.h"
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -18,7 +18,6 @@
#include "slab_dipole.h"
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "force.h"
#include "kspace.h"

View File

@ -19,7 +19,6 @@
#include "atom.h"
#include "comm.h"
#include "domain.h"
#include "force.h"
#include "math_const.h"

View File

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

View File

@ -33,10 +33,8 @@
#include "modify.h"
#include "molecule.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "neighbor.h"
#include "pair.h"
#include "universe.h"
#include "update.h"
#include <cmath>

View File

@ -20,7 +20,6 @@
#include "error.h"
#include "force.h"
#include "memory.h"
#include "modify.h"
#include "neigh_list.h"
#include "neighbor.h"
#include "pair.h"

View File

@ -21,7 +21,6 @@
#include "math_const.h"
#include "math_special.h"
#include "memory.h"
#include "modify.h"
#include "neigh_list.h"
#include "neighbor.h"
#include "pair.h"
@ -29,7 +28,6 @@
#include <cmath>
#include <cstring>
#include <mpi.h>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

@ -19,19 +19,15 @@
#include "domain.h"
#include "error.h"
#include "force.h"
#include "lattice.h"
#include "math_const.h"
#include "math_special.h"
#include "memory.h"
#include "modify.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "neighbor.h"
#include "pair.h"
#include "update.h"
#include <cmath>
#include <cstring>
using namespace LAMMPS_NS;
using namespace MathConst;

View File

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

View File

@ -14,11 +14,9 @@
#include "fix_viscous_sphere.h"
#include "atom.h"
#include "comm.h"
#include "error.h"
#include "input.h"
#include "memory.h"
#include "modify.h"
#include "respa.h"
#include "update.h"
#include "variable.h"

View File

@ -25,7 +25,6 @@
#include "force.h"
#include "memory.h"
#include "neighbor.h"
#include "domain.h"
#include <cmath>

View File

@ -30,7 +30,6 @@
#include "kspace.h"
#include "memory.h"
#include "modify.h"
#include "neighbor.h"
#include "pair.h"
#include "timer.h"
#include "update.h"

View File

@ -17,10 +17,9 @@
#include "../version.h"
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN

View File

@ -26,7 +26,6 @@
#include "force.h"
#include "group.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "neighbor.h"
#include "special.h"

View File

@ -23,6 +23,7 @@ FixStyle(BOND_HISTORY,FixBondHistory);
#include "fix.h"
#include <map>
#include <utility>
namespace LAMMPS_NS {

View File

@ -15,7 +15,6 @@
#include "fix_nve.h"
#include "atom.h"
#include "error.h"
#include "force.h"
#include "respa.h"
#include "update.h"

View File

@ -19,7 +19,6 @@
#include "force.h"
#include "modify.h"
#include "neigh_list.h"
#include "neighbor.h"
#include "pair.h"
#include <utility>

View File

@ -63,7 +63,9 @@
#endif
#if defined(__linux__)
#include <features.h>
#include <malloc.h>
#include <sys/types.h>
#endif
namespace LAMMPS_NS {

View File

@ -21,7 +21,6 @@
#include "comm.h"
#include "error.h"
#include "memory.h"
#include "neigh_list.h"
#include "neighbor.h"
#include <cstring>

View File

@ -16,6 +16,8 @@
* the "utils" namespace with convenience and utility functions. */
#include "platform.h"
#include "fmt/format.h"
#include "text_file_reader.h"
#include "utils.h"

View File

@ -41,6 +41,7 @@
#include <cctype>
#include <cstring>
#include <unordered_map>
#include <unordered_set>
using namespace LAMMPS_NS;

View File

@ -16,7 +16,6 @@
#include "domain.h"
#include "error.h"
#include "input.h"
#include "update.h"
#include "variable.h"
#include <cmath>

View File

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

View File

@ -18,6 +18,7 @@
#include "fmt/chrono.h"
#include <cstring>
#include <ctime>
using namespace LAMMPS_NS;