more include updates for USER-OMP

This commit is contained in:
Axel Kohlmeyer
2020-09-03 11:16:32 -04:00
parent f67bd8eb5d
commit 05c7cfe59f
11 changed files with 73 additions and 66 deletions

View File

@ -15,18 +15,18 @@
Contributing authors: Roy Pollock (LLNL), Paul Crozier (SNL) Contributing authors: Roy Pollock (LLNL), Paul Crozier (SNL)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "ewald_omp.h" #include "ewald_omp.h"
#include <mpi.h>
#include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "force.h" #include "force.h"
#include "memory.h"
#include "timer.h"
#include "math_const.h" #include "math_const.h"
#include "memory.h"
#include "suffix.h" #include "suffix.h"
#include <cmath>
#include "omp_compat.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;
using namespace MathConst; using namespace MathConst;

View File

@ -15,18 +15,20 @@
Contributing author: Axel Kohlmeyer (Temple U) Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include <cmath>
#include "improper_fourier_omp.h" #include "improper_fourier_omp.h"
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "neighbor.h"
#include "timer.h"
#include "force.h"
#include "update.h"
#include "error.h" #include "error.h"
#include "force.h"
#include "neighbor.h"
#include "suffix.h" #include "suffix.h"
#include "timer.h"
#include "update.h"
#include <cmath>
#include "omp_compat.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;
#define TOLERANCE 0.05 #define TOLERANCE 0.05

View File

@ -15,17 +15,18 @@
Contributing author: Axel Kohlmeyer (Temple U) Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "improper_ring_omp.h" #include "improper_ring_omp.h"
#include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "neighbor.h"
#include "timer.h"
#include "force.h" #include "force.h"
#include "math_special.h" #include "math_special.h"
#include "neighbor.h"
#include "suffix.h" #include "suffix.h"
#include <cmath>
#include "omp_compat.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;
using namespace MathSpecial; using namespace MathSpecial;

View File

@ -16,24 +16,21 @@
Original MSM class by: Paul Crozier, Stan Moore, Stephen Bond, (all SNL) Original MSM class by: Paul Crozier, Stan Moore, Stephen Bond, (all SNL)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "msm_cg_omp.h" #include "msm_cg_omp.h"
#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <cstring>
#include "atom.h" #include "atom.h"
#include "gridcomm.h"
#include "domain.h" #include "domain.h"
#include "error.h" #include "error.h"
#include "force.h" #include "force.h"
#include "neighbor.h" #include "gridcomm.h"
#include "memory.h" #include "memory.h"
#include "neighbor.h"
#include "thr_omp.h" #include "thr_omp.h"
#include "timer.h"
#include "utils.h" #include <cmath>
#include "fmt/format.h" #include <cstring>
#include "omp_compat.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;

View File

@ -15,14 +15,15 @@
Contributing authors: Axel Kohlmeyer (Temple U), Stan Moore (SNL) Contributing authors: Axel Kohlmeyer (Temple U), Stan Moore (SNL)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "msm_omp.h" #include "msm_omp.h"
#include <cstring>
#include "comm.h" #include "comm.h"
#include "domain.h" #include "domain.h"
#include "error.h" #include "error.h"
#include "timer.h"
#include <cstring>
#include "omp_compat.h"
#if defined(_OPENMP) #if defined(_OPENMP)
#include <omp.h> #include <omp.h>
#endif #endif

View File

@ -15,22 +15,24 @@
Contributing author: Axel Kohlmeyer (Temple U) Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "pppm_cg_omp.h" #include "pppm_cg_omp.h"
#include <mpi.h>
#include <cstring>
#include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "domain.h" #include "domain.h"
#include "force.h" #include "force.h"
#include "math_const.h" #include "math_const.h"
#include "math_special.h" #include "math_special.h"
#include "timer.h" #include "suffix.h"
#include <cmath>
#include <cstring>
#include "omp_compat.h"
#if defined(_OPENMP) #if defined(_OPENMP)
#include <omp.h> #include <omp.h>
#endif #endif
#include "suffix.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;
using namespace MathConst; using namespace MathConst;
using namespace MathSpecial; using namespace MathSpecial;

View File

@ -15,21 +15,24 @@
Contributing author: Axel Kohlmeyer (Temple U) Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "pppm_disp_tip4p_omp.h" #include "pppm_disp_tip4p_omp.h"
#include <mpi.h>
#include <cstring>
#include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "domain.h" #include "domain.h"
#include "error.h" #include "error.h"
#include "force.h" #include "force.h"
#include "math_const.h" #include "math_const.h"
#include "suffix.h"
#include <cstring>
#include <cmath>
#include "omp_compat.h"
#if defined(_OPENMP) #if defined(_OPENMP)
#include <omp.h> #include <omp.h>
#endif #endif
#include "suffix.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;
using namespace MathConst; using namespace MathConst;

View File

@ -15,19 +15,19 @@
Contributing author: Axel Kohlmeyer (Temple U) Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "pppm_omp.h" #include "pppm_omp.h"
#include <mpi.h>
#include <cstring>
#include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "domain.h" #include "domain.h"
#include "force.h" #include "force.h"
#include "math_const.h" #include "math_const.h"
#include "math_special.h" #include "math_special.h"
#include "timer.h"
#include <cmath>
#include <cstring>
#include "omp_compat.h"
#if defined(_OPENMP) #if defined(_OPENMP)
#include <omp.h> #include <omp.h>
#endif #endif

View File

@ -15,11 +15,8 @@
Contributing author: Axel Kohlmeyer (Temple U) Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "pppm_tip4p_omp.h" #include "pppm_tip4p_omp.h"
#include <mpi.h>
#include <cstring>
#include <cmath>
#include "atom.h" #include "atom.h"
#include "comm.h" #include "comm.h"
#include "domain.h" #include "domain.h"
@ -27,12 +24,16 @@
#include "force.h" #include "force.h"
#include "math_const.h" #include "math_const.h"
#include "math_special.h" #include "math_special.h"
#include "timer.h" #include "suffix.h"
#include <cstring>
#include <cmath>
#include "omp_compat.h"
#if defined(_OPENMP) #if defined(_OPENMP)
#include <omp.h> #include <omp.h>
#endif #endif
#include "suffix.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;
using namespace MathConst; using namespace MathConst;
using namespace MathSpecial; using namespace MathSpecial;

View File

@ -15,25 +15,25 @@
Contributing authors: Mark Stevens (SNL), Paul Crozier (SNL) Contributing authors: Mark Stevens (SNL), Paul Crozier (SNL)
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */
#include "omp_compat.h"
#include "respa_omp.h" #include "respa_omp.h"
#include "neighbor.h"
#include "comm.h"
#include "atom.h"
#include "domain.h"
#include "force.h"
#include "pair.h"
#include "bond.h"
#include "angle.h" #include "angle.h"
#include "atom.h"
#include "bond.h"
#include "comm.h"
#include "dihedral.h" #include "dihedral.h"
#include "domain.h"
#include "error.h"
#include "force.h"
#include "improper.h" #include "improper.h"
#include "kspace.h" #include "kspace.h"
#include "output.h"
#include "update.h"
#include "modify.h" #include "modify.h"
#include "error.h" #include "neighbor.h"
#include "timer.h" #include "output.h"
#include "pair.h"
#include "update.h"
#include "omp_compat.h"
#if defined(_OPENMP) #if defined(_OPENMP)
#include <omp.h> #include <omp.h>
#endif #endif

View File

@ -18,7 +18,7 @@
#ifndef LMP_THR_DATA_H #ifndef LMP_THR_DATA_H
#define LMP_THR_DATA_H #define LMP_THR_DATA_H
#include "timer.h" #include "timer.h" // IWYU pragma: export
namespace LAMMPS_NS { namespace LAMMPS_NS {