more include handling cleanup in USER packages
This commit is contained in:
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
/** Fix Drude Transform ******************************************************/
|
/** Fix Drude Transform ******************************************************/
|
||||||
#include "fix_drude_transform.h"
|
#include "fix_drude_transform.h"
|
||||||
|
#include <mpi.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "fix_drude.h"
|
#include "fix_drude.h"
|
||||||
|
|||||||
@ -12,6 +12,7 @@
|
|||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "fix_langevin_drude.h"
|
#include "fix_langevin_drude.h"
|
||||||
|
#include <mpi.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "fix_drude.h"
|
#include "fix_drude.h"
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include "compute_temp_eff.h"
|
#include "compute_temp_eff.h"
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
|
#include <cstdlib>
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
#include "force.h"
|
#include "force.h"
|
||||||
|
|||||||
@ -20,15 +20,14 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <mpi.h>
|
#include <mpi.h>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstdio>
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <algorithm>
|
||||||
|
#include <utility>
|
||||||
#include "comm.h"
|
#include "comm.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "domain.h"
|
#include "domain.h"
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include <iostream>
|
|
||||||
#include <iomanip>
|
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
#include "random_mars.h"
|
#include "random_mars.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
|
|||||||
@ -18,16 +18,15 @@
|
|||||||
Contributing author: Naveen Michaud-Agrawal (Johns Hopkins U)
|
Contributing author: Naveen Michaud-Agrawal (Johns Hopkins U)
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#include "fix_lb_momentum.h"
|
||||||
|
#include <mpi.h>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "fix_lb_momentum.h"
|
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "domain.h"
|
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "fix_lb_fluid.h"
|
#include "fix_lb_fluid.h"
|
||||||
#include "modify.h"
|
#include "modify.h"
|
||||||
#include "comm.h"
|
|
||||||
|
|
||||||
using namespace LAMMPS_NS;
|
using namespace LAMMPS_NS;
|
||||||
using namespace FixConst;
|
using namespace FixConst;
|
||||||
|
|||||||
@ -15,17 +15,14 @@
|
|||||||
Contributing authors: Frances Mackay, Santtu Ollila, Colin Denniston (UWO)
|
Contributing authors: Frances Mackay, Santtu Ollila, Colin Denniston (UWO)
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <cmath>
|
|
||||||
#include <cstdio>
|
|
||||||
#include <cstring>
|
|
||||||
#include "fix_lb_pc.h"
|
#include "fix_lb_pc.h"
|
||||||
|
#include <cmath>
|
||||||
|
#include <cstring>
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "force.h"
|
#include "force.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
#include "respa.h"
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "comm.h"
|
|
||||||
#include "domain.h"
|
#include "domain.h"
|
||||||
#include "fix_lb_fluid.h"
|
#include "fix_lb_fluid.h"
|
||||||
#include "modify.h"
|
#include "modify.h"
|
||||||
|
|||||||
@ -16,21 +16,18 @@
|
|||||||
Based on fix_rigid (version from 2008).
|
Based on fix_rigid (version from 2008).
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
#include "fix_lb_rigid_pc_sphere.h"
|
||||||
|
#include <mpi.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdio>
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "fix_lb_rigid_pc_sphere.h"
|
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "atom_vec.h"
|
|
||||||
#include "domain.h"
|
#include "domain.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
#include "respa.h"
|
|
||||||
#include "modify.h"
|
#include "modify.h"
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
#include "comm.h"
|
#include "comm.h"
|
||||||
#include "force.h"
|
#include "force.h"
|
||||||
#include "output.h"
|
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "fix_lb_fluid.h"
|
#include "fix_lb_fluid.h"
|
||||||
|
|||||||
@ -15,10 +15,8 @@
|
|||||||
Contributing authors: Frances Mackay, Santtu Ollila, Colin Denniston (UWO)
|
Contributing authors: Frances Mackay, Santtu Ollila, Colin Denniston (UWO)
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <cmath>
|
|
||||||
#include <cstdlib>
|
|
||||||
#include <cstring>
|
|
||||||
#include "fix_lb_viscous.h"
|
#include "fix_lb_viscous.h"
|
||||||
|
#include <cstring>
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
#include "respa.h"
|
#include "respa.h"
|
||||||
|
|||||||
@ -30,8 +30,6 @@ PairStyle(mgpt,PairMGPT)
|
|||||||
#ifndef LMP_PAIR_MGPT_H
|
#ifndef LMP_PAIR_MGPT_H
|
||||||
#define LMP_PAIR_MGPT_H
|
#define LMP_PAIR_MGPT_H
|
||||||
|
|
||||||
#include <new>
|
|
||||||
#include <cmath>
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
|||||||
@ -15,15 +15,14 @@
|
|||||||
Contributing author: Axel Kohlmeyer (Temple U)
|
Contributing author: Axel Kohlmeyer (Temple U)
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <cstdio>
|
#include "dump_molfile.h"
|
||||||
|
#include <mpi.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "dump_molfile.h"
|
|
||||||
#include "domain.h"
|
#include "domain.h"
|
||||||
#include "atom.h"
|
#include "atom.h"
|
||||||
#include "comm.h"
|
#include "comm.h"
|
||||||
#include "update.h"
|
#include "update.h"
|
||||||
#include "output.h"
|
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|||||||
@ -15,11 +15,9 @@
|
|||||||
Contributing author: Axel Kohlmeyer (Temple U)
|
Contributing author: Axel Kohlmeyer (Temple U)
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <cstring>
|
#include "reader_molfile.h"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "reader_molfile.h"
|
|
||||||
#include "atom.h"
|
|
||||||
#include "comm.h"
|
#include "comm.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|||||||
@ -42,6 +42,7 @@
|
|||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
|
#include "reaxc_types.h"
|
||||||
|
|
||||||
#if defined(_OPENMP)
|
#if defined(_OPENMP)
|
||||||
#include <omp.h>
|
#include <omp.h>
|
||||||
|
|||||||
@ -22,7 +22,6 @@ PairStyle(reax/c/omp,PairReaxCOMP)
|
|||||||
|
|
||||||
#include "pair_reaxc.h"
|
#include "pair_reaxc.h"
|
||||||
#include "thr_omp.h"
|
#include "thr_omp.h"
|
||||||
#include "suffix.h"
|
|
||||||
|
|
||||||
namespace LAMMPS_NS {
|
namespace LAMMPS_NS {
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,9 @@
|
|||||||
----------------------------------------------------------------------*/
|
----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "reaxc_bond_orders_omp.h"
|
#include "reaxc_bond_orders_omp.h"
|
||||||
|
#include <mpi.h>
|
||||||
|
#include <cmath>
|
||||||
|
#include "fix_omp.h"
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
#include "pair_reaxc_omp.h"
|
#include "pair_reaxc_omp.h"
|
||||||
#include "reaxc_types.h"
|
#include "reaxc_types.h"
|
||||||
|
|||||||
@ -27,13 +27,12 @@
|
|||||||
----------------------------------------------------------------------*/
|
----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "reaxc_bonds_omp.h"
|
#include "reaxc_bonds_omp.h"
|
||||||
|
#include <mpi.h>
|
||||||
|
#include <cmath>
|
||||||
|
#include "fix_omp.h"
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
#include "reaxc_bond_orders_omp.h"
|
|
||||||
#include "pair_reaxc_omp.h"
|
#include "pair_reaxc_omp.h"
|
||||||
|
|
||||||
#include "reaxc_list.h"
|
#include "reaxc_list.h"
|
||||||
#include "reaxc_tool_box.h"
|
|
||||||
#include "reaxc_vector.h"
|
|
||||||
|
|
||||||
#if defined(_OPENMP)
|
#if defined(_OPENMP)
|
||||||
#include <omp.h>
|
#include <omp.h>
|
||||||
|
|||||||
@ -27,19 +27,18 @@
|
|||||||
----------------------------------------------------------------------*/
|
----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "reaxc_forces_omp.h"
|
#include "reaxc_forces_omp.h"
|
||||||
|
#include <mpi.h>
|
||||||
|
#include <cmath>
|
||||||
|
#include "fix_omp.h"
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
#include "pair_reaxc_omp.h"
|
#include "pair_reaxc_omp.h"
|
||||||
#include "thr_data.h"
|
|
||||||
|
|
||||||
#include "reaxc_bond_orders_omp.h"
|
#include "reaxc_bond_orders_omp.h"
|
||||||
#include "reaxc_bonds_omp.h"
|
#include "reaxc_bonds_omp.h"
|
||||||
#include "reaxc_hydrogen_bonds_omp.h"
|
#include "reaxc_hydrogen_bonds_omp.h"
|
||||||
#include "reaxc_io_tools.h"
|
|
||||||
#include "reaxc_list.h"
|
#include "reaxc_list.h"
|
||||||
#include "reaxc_lookup.h"
|
|
||||||
#include "reaxc_multi_body_omp.h"
|
#include "reaxc_multi_body_omp.h"
|
||||||
#include "reaxc_nonbonded_omp.h"
|
#include "reaxc_nonbonded_omp.h"
|
||||||
#include "reaxc_tool_box.h"
|
|
||||||
#include "reaxc_torsion_angles_omp.h"
|
#include "reaxc_torsion_angles_omp.h"
|
||||||
#include "reaxc_valence_angles_omp.h"
|
#include "reaxc_valence_angles_omp.h"
|
||||||
#include "reaxc_vector.h"
|
#include "reaxc_vector.h"
|
||||||
|
|||||||
@ -30,7 +30,6 @@
|
|||||||
#define __FORCES_OMP_H_
|
#define __FORCES_OMP_H_
|
||||||
|
|
||||||
#include "reaxc_types.h"
|
#include "reaxc_types.h"
|
||||||
#include "reaxc_defs.h"
|
|
||||||
|
|
||||||
void Init_Force_FunctionsOMP( control_params* );
|
void Init_Force_FunctionsOMP( control_params* );
|
||||||
void Compute_ForcesOMP( reax_system*, control_params*, simulation_data*,
|
void Compute_ForcesOMP( reax_system*, control_params*, simulation_data*,
|
||||||
|
|||||||
@ -27,9 +27,11 @@
|
|||||||
----------------------------------------------------------------------*/
|
----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "reaxc_hydrogen_bonds_omp.h"
|
#include "reaxc_hydrogen_bonds_omp.h"
|
||||||
|
#include <mpi.h>
|
||||||
|
#include <cmath>
|
||||||
|
#include "fix_omp.h"
|
||||||
#include "pair_reaxc_omp.h"
|
#include "pair_reaxc_omp.h"
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
#include "reaxc_bond_orders_omp.h"
|
|
||||||
#include "reaxc_list.h"
|
#include "reaxc_list.h"
|
||||||
#include "reaxc_valence_angles.h" // To access Calculate_Theta()
|
#include "reaxc_valence_angles.h" // To access Calculate_Theta()
|
||||||
#include "reaxc_valence_angles_omp.h" // To access Calculate_dCos_ThetaOMP()
|
#include "reaxc_valence_angles_omp.h" // To access Calculate_dCos_ThetaOMP()
|
||||||
|
|||||||
@ -27,18 +27,15 @@
|
|||||||
----------------------------------------------------------------------*/
|
----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "reaxc_init_md_omp.h"
|
#include "reaxc_init_md_omp.h"
|
||||||
#include "pair_reaxc_omp.h"
|
#include <cstdlib>
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
#include "reaxc_allocate.h"
|
|
||||||
#include "reaxc_forces.h"
|
#include "reaxc_forces.h"
|
||||||
#include "reaxc_forces_omp.h"
|
#include "reaxc_forces_omp.h"
|
||||||
#include "reaxc_io_tools.h"
|
#include "reaxc_io_tools.h"
|
||||||
#include "reaxc_list.h"
|
#include "reaxc_list.h"
|
||||||
#include "reaxc_lookup.h"
|
#include "reaxc_lookup.h"
|
||||||
#include "reaxc_reset_tools.h"
|
|
||||||
#include "reaxc_system_props.h"
|
|
||||||
#include "reaxc_tool_box.h"
|
#include "reaxc_tool_box.h"
|
||||||
#include "reaxc_vector.h"
|
#include "error.h"
|
||||||
|
|
||||||
// Functions defined in reaxc_init_md.cpp
|
// Functions defined in reaxc_init_md.cpp
|
||||||
extern int Init_MPI_Datatypes(reax_system*, storage*, mpi_datatypes*, MPI_Comm, char*);
|
extern int Init_MPI_Datatypes(reax_system*, storage*, mpi_datatypes*, MPI_Comm, char*);
|
||||||
|
|||||||
@ -27,14 +27,13 @@
|
|||||||
----------------------------------------------------------------------*/
|
----------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "reaxc_torsion_angles_omp.h"
|
#include "reaxc_torsion_angles_omp.h"
|
||||||
|
#include <mpi.h>
|
||||||
|
#include "fix_omp.h"
|
||||||
#include "pair_reaxc_omp.h"
|
#include "pair_reaxc_omp.h"
|
||||||
#include "thr_data.h"
|
|
||||||
|
|
||||||
#include "reaxc_defs.h"
|
#include "reaxc_defs.h"
|
||||||
#include "reaxc_types.h"
|
#include "reaxc_types.h"
|
||||||
#include "reaxc_bond_orders_omp.h"
|
|
||||||
#include "reaxc_list.h"
|
#include "reaxc_list.h"
|
||||||
#include "reaxc_tool_box.h"
|
|
||||||
#include "reaxc_vector.h"
|
#include "reaxc_vector.h"
|
||||||
|
|
||||||
#if defined(_OPENMP)
|
#if defined(_OPENMP)
|
||||||
|
|||||||
@ -22,6 +22,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
static double calculate_interatomic_distance(int type, double scale) {
|
static double calculate_interatomic_distance(int type, double scale) {
|
||||||
assert(type >= 1 && type <= 8);
|
assert(type >= 1 && type <= 8);
|
||||||
|
|||||||
@ -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_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>
|
#include <cassert>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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_data.h"
|
||||||
#include "ptm_graph_tools.h"
|
|
||||||
#include "ptm_deformation_gradient.h"
|
#include "ptm_deformation_gradient.h"
|
||||||
#include "ptm_fundamental_mappings.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"
|
#include "ptm_alt_templates.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user