more include handling cleanup in USER packages

This commit is contained in:
Axel Kohlmeyer
2019-07-12 18:00:59 -04:00
parent a1f0c0079d
commit 3d157e5ab4
23 changed files with 37 additions and 50 deletions

View File

@ -13,6 +13,7 @@
/** Fix Drude Transform ******************************************************/
#include "fix_drude_transform.h"
#include <mpi.h>
#include <cmath>
#include <cstring>
#include "fix_drude.h"

View File

@ -12,6 +12,7 @@
------------------------------------------------------------------------- */
#include "fix_langevin_drude.h"
#include <mpi.h>
#include <cstring>
#include <cmath>
#include "fix_drude.h"

View File

@ -17,6 +17,7 @@
#include "compute_temp_eff.h"
#include <mpi.h>
#include <cstdlib>
#include "atom.h"
#include "update.h"
#include "force.h"

View File

@ -20,15 +20,14 @@
#include <cmath>
#include <mpi.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <utility>
#include "comm.h"
#include "memory.h"
#include "error.h"
#include "domain.h"
#include "atom.h"
#include <iostream>
#include <iomanip>
#include "group.h"
#include "random_mars.h"
#include "update.h"

View File

@ -18,16 +18,15 @@
Contributing author: Naveen Michaud-Agrawal (Johns Hopkins U)
------------------------------------------------------------------------- */
#include "fix_lb_momentum.h"
#include <mpi.h>
#include <cstdlib>
#include <cstring>
#include "fix_lb_momentum.h"
#include "atom.h"
#include "domain.h"
#include "group.h"
#include "error.h"
#include "fix_lb_fluid.h"
#include "modify.h"
#include "comm.h"
using namespace LAMMPS_NS;
using namespace FixConst;

View File

@ -15,17 +15,14 @@
Contributing authors: Frances Mackay, Santtu Ollila, Colin Denniston (UWO)
------------------------------------------------------------------------- */
#include <cmath>
#include <cstdio>
#include <cstring>
#include "fix_lb_pc.h"
#include <cmath>
#include <cstring>
#include "atom.h"
#include "force.h"
#include "update.h"
#include "respa.h"
#include "error.h"
#include "memory.h"
#include "comm.h"
#include "domain.h"
#include "fix_lb_fluid.h"
#include "modify.h"

View File

@ -16,21 +16,18 @@
Based on fix_rigid (version from 2008).
------------------------------------------------------------------------- */
#include "fix_lb_rigid_pc_sphere.h"
#include <mpi.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "fix_lb_rigid_pc_sphere.h"
#include "atom.h"
#include "atom_vec.h"
#include "domain.h"
#include "update.h"
#include "respa.h"
#include "modify.h"
#include "group.h"
#include "comm.h"
#include "force.h"
#include "output.h"
#include "memory.h"
#include "error.h"
#include "fix_lb_fluid.h"

View File

@ -15,10 +15,8 @@
Contributing authors: Frances Mackay, Santtu Ollila, Colin Denniston (UWO)
------------------------------------------------------------------------- */
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "fix_lb_viscous.h"
#include <cstring>
#include "atom.h"
#include "update.h"
#include "respa.h"

View File

@ -30,8 +30,6 @@ PairStyle(mgpt,PairMGPT)
#ifndef LMP_PAIR_MGPT_H
#define LMP_PAIR_MGPT_H
#include <new>
#include <cmath>
#include <cstdlib>
#include <cassert>

View File

@ -15,15 +15,14 @@
Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */
#include <cstdio>
#include "dump_molfile.h"
#include <mpi.h>
#include <cstring>
#include <cmath>
#include "dump_molfile.h"
#include "domain.h"
#include "atom.h"
#include "comm.h"
#include "update.h"
#include "output.h"
#include "group.h"
#include "memory.h"
#include "error.h"

View File

@ -15,11 +15,9 @@
Contributing author: Axel Kohlmeyer (Temple U)
------------------------------------------------------------------------- */
#include <cstring>
#include "reader_molfile.h"
#include <cstdlib>
#include <cmath>
#include "reader_molfile.h"
#include "atom.h"
#include "comm.h"
#include "memory.h"
#include "error.h"

View File

@ -42,6 +42,7 @@
#include "memory.h"
#include "error.h"
#include "reaxc_defs.h"
#include "reaxc_types.h"
#if defined(_OPENMP)
#include <omp.h>

View File

@ -22,7 +22,6 @@ PairStyle(reax/c/omp,PairReaxCOMP)
#include "pair_reaxc.h"
#include "thr_omp.h"
#include "suffix.h"
namespace LAMMPS_NS {

View File

@ -27,6 +27,9 @@
----------------------------------------------------------------------*/
#include "reaxc_bond_orders_omp.h"
#include <mpi.h>
#include <cmath>
#include "fix_omp.h"
#include "reaxc_defs.h"
#include "pair_reaxc_omp.h"
#include "reaxc_types.h"

View File

@ -27,13 +27,12 @@
----------------------------------------------------------------------*/
#include "reaxc_bonds_omp.h"
#include <mpi.h>
#include <cmath>
#include "fix_omp.h"
#include "reaxc_defs.h"
#include "reaxc_bond_orders_omp.h"
#include "pair_reaxc_omp.h"
#include "reaxc_list.h"
#include "reaxc_tool_box.h"
#include "reaxc_vector.h"
#if defined(_OPENMP)
#include <omp.h>

View File

@ -27,19 +27,18 @@
----------------------------------------------------------------------*/
#include "reaxc_forces_omp.h"
#include <mpi.h>
#include <cmath>
#include "fix_omp.h"
#include "reaxc_defs.h"
#include "pair_reaxc_omp.h"
#include "thr_data.h"
#include "reaxc_bond_orders_omp.h"
#include "reaxc_bonds_omp.h"
#include "reaxc_hydrogen_bonds_omp.h"
#include "reaxc_io_tools.h"
#include "reaxc_list.h"
#include "reaxc_lookup.h"
#include "reaxc_multi_body_omp.h"
#include "reaxc_nonbonded_omp.h"
#include "reaxc_tool_box.h"
#include "reaxc_torsion_angles_omp.h"
#include "reaxc_valence_angles_omp.h"
#include "reaxc_vector.h"

View File

@ -30,7 +30,6 @@
#define __FORCES_OMP_H_
#include "reaxc_types.h"
#include "reaxc_defs.h"
void Init_Force_FunctionsOMP( control_params* );
void Compute_ForcesOMP( reax_system*, control_params*, simulation_data*,

View File

@ -27,9 +27,11 @@
----------------------------------------------------------------------*/
#include "reaxc_hydrogen_bonds_omp.h"
#include <mpi.h>
#include <cmath>
#include "fix_omp.h"
#include "pair_reaxc_omp.h"
#include "reaxc_defs.h"
#include "reaxc_bond_orders_omp.h"
#include "reaxc_list.h"
#include "reaxc_valence_angles.h" // To access Calculate_Theta()
#include "reaxc_valence_angles_omp.h" // To access Calculate_dCos_ThetaOMP()

View File

@ -27,18 +27,15 @@
----------------------------------------------------------------------*/
#include "reaxc_init_md_omp.h"
#include "pair_reaxc_omp.h"
#include <cstdlib>
#include "reaxc_defs.h"
#include "reaxc_allocate.h"
#include "reaxc_forces.h"
#include "reaxc_forces_omp.h"
#include "reaxc_io_tools.h"
#include "reaxc_list.h"
#include "reaxc_lookup.h"
#include "reaxc_reset_tools.h"
#include "reaxc_system_props.h"
#include "reaxc_tool_box.h"
#include "reaxc_vector.h"
#include "error.h"
// Functions defined in reaxc_init_md.cpp
extern int Init_MPI_Datatypes(reax_system*, storage*, mpi_datatypes*, MPI_Comm, char*);

View File

@ -27,14 +27,13 @@
----------------------------------------------------------------------*/
#include "reaxc_torsion_angles_omp.h"
#include <mpi.h>
#include "fix_omp.h"
#include "pair_reaxc_omp.h"
#include "thr_data.h"
#include "reaxc_defs.h"
#include "reaxc_types.h"
#include "reaxc_bond_orders_omp.h"
#include "reaxc_list.h"
#include "reaxc_tool_box.h"
#include "reaxc_vector.h"
#if defined(_OPENMP)

View File

@ -22,6 +22,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#include <cmath>
#include <cstdio>
#include <cstring>
#include <stdint.h>
static double calculate_interatomic_distance(int type, double scale) {
assert(type >= 1 && type <= 8);

View File

@ -8,6 +8,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
*/
#include "ptm_initialize_data.h"
#include "ptm_canonical_coloured.h"
#include "ptm_convex_hull_incremental.h"
#include "ptm_graph_tools.h"
#include "ptm_neighbour_ordering.h"
#include <cassert>

View File

@ -12,12 +12,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#include "ptm_graph_data.h"
#include "ptm_graph_tools.h"
#include "ptm_deformation_gradient.h"
#include "ptm_fundamental_mappings.h"
#include "ptm_neighbour_ordering.h"
#include "ptm_canonical_coloured.h"
#include "ptm_convex_hull_incremental.h"
#include "ptm_alt_templates.h"