some cleanup for missed steps in previous change sets

This commit is contained in:
Axel Kohlmeyer
2019-07-12 15:40:24 -04:00
parent 2f64615087
commit a1f0c0079d
14 changed files with 29 additions and 39 deletions

View File

@ -20,8 +20,7 @@ KSpaceStyle(pppm,PPPM)
#ifndef LMP_PPPM_H
#define LMP_PPPM_H
#include "lmptype.h"
#include <mpi.h>
#include "kspace.h"
#ifdef FFT_SINGLE
typedef float FFT_SCALAR;
@ -31,8 +30,6 @@ typedef double FFT_SCALAR;
#define MPI_FFT_SCALAR MPI_DOUBLE
#endif
#include "kspace.h"
namespace LAMMPS_NS {
class PPPM : public KSpace {

View File

@ -20,8 +20,7 @@ KSpaceStyle(pppm/disp,PPPMDisp)
#ifndef LMP_PPPM_DISP_H
#define LMP_PPPM_DISP_H
#include "lmptype.h"
#include <mpi.h>
#include "kspace.h"
#ifdef FFT_SINGLE
typedef float FFT_SCALAR;
@ -31,8 +30,6 @@ typedef double FFT_SCALAR;
#define MPI_FFT_SCALAR MPI_DOUBLE
#endif
#include "kspace.h"
namespace LAMMPS_NS {

View File

@ -21,7 +21,6 @@
#include <cstring>
#include "domain.h"
#include "update.h"
#include "modify.h"
#include "compute.h"
#include "memory.h"
#include "error.h"

View File

@ -16,7 +16,6 @@
------------------------------------------------------------------------- */
#include "atom_vec_wavepacket.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "comm.h"

View File

@ -16,14 +16,13 @@
------------------------------------------------------------------------- */
#include "fix_nve_awpmd.h"
#include <cmath>
#include <cstdio>
#include <cstring>
#include "pair_awpmd_cut.h"
#include "atom.h"
#include "force.h"
#include "update.h"
#include "respa.h"
#include "error.h"
#include "utils.h"
#include "TCP/wpmd_split.h"
@ -62,7 +61,7 @@ void FixNVEAwpmd::init()
dtv = update->dt;
dtf = 0.5 * update->dt * force->ftm2v;
if (strstr(update->integrate_style,"respa"))
if (utils::strmatch(update->integrate_style,"^respa"))
step_respa = ((Respa *) update->integrate)->step;
awpmd_pair=(PairAWPMDCut *)force->pair;

View File

@ -25,7 +25,6 @@ FixStyle(nve/awpmd,FixNVEAwpmd)
#define LMP_FIX_NVE_awpmd_H
#include "fix.h"
#include "pair_awpmd_cut.h"
namespace LAMMPS_NS {
@ -45,7 +44,7 @@ class FixNVEAwpmd : public Fix {
double *step_respa;
int mass_require;
PairAWPMDCut *awpmd_pair;
class PairAWPMDCut *awpmd_pair;
};
}

View File

@ -16,10 +16,11 @@
------------------------------------------------------------------------- */
#include "pair_awpmd_cut.h"
#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <map>
#include <utility>
#include "atom.h"
#include "update.h"
#include "min.h"
@ -32,6 +33,9 @@
#include "memory.h"
#include "error.h"
#include "logexc.h"
#include "vector_3.h"
#include "TCP/wpmd.h"
#include "TCP/wpmd_split.h"
using namespace LAMMPS_NS;

View File

@ -16,6 +16,7 @@
#include "compute_pressure_bocs.h"
#include <mpi.h>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include "atom.h"

View File

@ -24,7 +24,6 @@
#include "comm.h"
#include "force.h"
#include "neigh_list.h"
#include "math_const.h"
#include "memory.h"
#include "error.h"
@ -32,7 +31,6 @@
#include "lj_sdk_common.h"
using namespace LAMMPS_NS;
using namespace MathConst;
using namespace LJSDKParms;
/* ---------------------------------------------------------------------- */

View File

@ -23,7 +23,6 @@
#include "force.h"
#include "kspace.h"
#include "neigh_list.h"
#include "memory.h"
#include "error.h"
#include "lj_sdk_common.h"

View File

@ -37,15 +37,16 @@
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <stdint.h>
#include "atom.h"
#include "force.h"
#include "update.h"
#include "error.h"
#include "atom_vec.h"
#include "comm.h"
#include "neighbor.h"
#include "neigh_list.h"
#include "neigh_request.h"
#include "npair.h"
#include "memory.h"
#include "domain.h"
#include "modify.h"

View File

@ -34,6 +34,8 @@
------------------------------------------------------------------------- */
#include "pair_reaxc_omp.h"
#include <mpi.h>
#include <cmath>
#include "atom.h"
#include "update.h"
#include "force.h"
@ -42,32 +44,27 @@
#include "neigh_list.h"
#include "neigh_request.h"
#include "modify.h"
#include "fix.h"
#include "fix_reaxc.h"
#include "citeme.h"
#include "memory.h"
#include "error.h"
#include "timer.h"
#include "reaxc_defs.h"
#include "reaxc_types.h"
#include "reaxc_allocate.h"
#include "reaxc_control.h"
#include "reaxc_ffield.h"
#include "reaxc_forces_omp.h"
#include "reaxc_init_md_omp.h"
#include "reaxc_io_tools.h"
#include "reaxc_list.h"
#include "reaxc_lookup.h"
#include "reaxc_reset_tools.h"
#include "reaxc_tool_box.h"
#include "reaxc_traj.h"
#include "reaxc_vector.h"
#include "fix_reaxc_bonds.h"
#if defined(_OPENMP)
#include <omp.h>
#endif
#include "suffix.h"
using namespace LAMMPS_NS;
#ifdef OMP_TIMING

View File

@ -19,14 +19,14 @@
#ifdef LMP_KOKKOS
#include "kokkos.h"
#include "atom_kokkos.h"
#include "comm_kokkos.h"
#include "comm_tiled_kokkos.h"
#include "domain_kokkos.h"
#include "neighbor_kokkos.h"
#include "memory_kokkos.h"
#include "modify_kokkos.h"
#include "kokkos.h" // IWYU pragma: export
#include "atom_kokkos.h" // IWYU pragma: export
#include "comm_kokkos.h" // IWYU pragma: export
#include "comm_tiled_kokkos.h" // IWYU pragma: export
#include "domain_kokkos.h" // IWYU pragma: export
#include "neighbor_kokkos.h" // IWYU pragma: export
#include "memory_kokkos.h" // IWYU pragma: export
#include "modify_kokkos.h" // IWYU pragma: export
#define LAMMPS_INLINE KOKKOS_INLINE_FUNCTION

View File

@ -16,8 +16,6 @@
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "timer.h"
#include "universe.h"
#include "accelerator_kokkos.h"
#include "atom.h"
#include "atom_vec.h"
@ -32,6 +30,8 @@
#include "neigh_request.h"
#include "memory.h"
#include "error.h"
#include "timer.h"
#include "universe.h"
#ifdef LMP_USER_OMP
#include "modify.h"