forked from lijiext/lammps
clean up includes in MC and MISC package
This commit is contained in:
parent
35e2401099
commit
e5af9db84c
|
@ -17,13 +17,12 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_atom_swap.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cctype>
|
||||
#include <cfloat>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "atom_vec.h"
|
||||
#include "atom_vec_hybrid.h"
|
||||
#include "update.h"
|
||||
#include "modify.h"
|
||||
#include "fix.h"
|
||||
|
@ -40,18 +39,12 @@
|
|||
#include "dihedral.h"
|
||||
#include "improper.h"
|
||||
#include "kspace.h"
|
||||
#include "math_const.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
#include "thermo.h"
|
||||
#include "output.h"
|
||||
#include "neighbor.h"
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace FixConst;
|
||||
using namespace MathConst;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
|
|
@ -12,18 +12,14 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_bond_break.h"
|
||||
#include <cmath>
|
||||
#include <mpi.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include "update.h"
|
||||
#include "respa.h"
|
||||
#include "atom.h"
|
||||
#include "atom_vec.h"
|
||||
#include "force.h"
|
||||
#include "comm.h"
|
||||
#include "neighbor.h"
|
||||
#include "domain.h"
|
||||
#include "random_mars.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
|
|
|
@ -12,14 +12,11 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_bond_create.h"
|
||||
#include <cmath>
|
||||
#include <mpi.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include "update.h"
|
||||
#include "respa.h"
|
||||
#include "atom.h"
|
||||
#include "atom_vec.h"
|
||||
#include "force.h"
|
||||
#include "pair.h"
|
||||
#include "comm.h"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "atom_vec.h"
|
||||
#include "atom_vec_hybrid.h"
|
||||
#include "molecule.h"
|
||||
#include "update.h"
|
||||
#include "modify.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <cfloat>
|
||||
#include "atom.h"
|
||||
#include "force.h"
|
||||
#include "update.h"
|
||||
#include "group.h"
|
||||
#include "random_mars.h"
|
||||
#include "comm.h"
|
||||
|
|
|
@ -16,10 +16,8 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "pair_dsmc.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <climits>
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
|
|
|
@ -16,13 +16,12 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "compute_msd_nongauss.h"
|
||||
#include <cstring>
|
||||
#include <mpi.h>
|
||||
#include "atom.h"
|
||||
#include "update.h"
|
||||
#include "group.h"
|
||||
#include "domain.h"
|
||||
#include "fix_store.h"
|
||||
#include "error.h"
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "update.h"
|
||||
#include "modify.h"
|
||||
#include "domain.h"
|
||||
#include "force.h"
|
||||
#include "pair.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
#include "dump_xtc.h"
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <climits>
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_deposit.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "atom_vec.h"
|
||||
|
|
|
@ -17,9 +17,8 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_efield.h"
|
||||
#include <cmath>
|
||||
#include <mpi.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include "atom.h"
|
||||
#include "update.h"
|
||||
#include "domain.h"
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_evaporate.h"
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <mpi.h>
|
||||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "atom_vec.h"
|
||||
|
@ -25,7 +24,6 @@
|
|||
#include "force.h"
|
||||
#include "group.h"
|
||||
#include "random_park.h"
|
||||
#include "random_mars.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
|
||||
|
|
|
@ -17,17 +17,14 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_gld.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include "math_extra.h"
|
||||
#include "atom.h"
|
||||
#include "force.h"
|
||||
#include "update.h"
|
||||
#include "respa.h"
|
||||
#include "comm.h"
|
||||
#include "input.h"
|
||||
#include "variable.h"
|
||||
#include "random_mars.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "error.h"
|
||||
#include "force.h"
|
||||
#include "region.h"
|
||||
#include "error.h"
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
using namespace FixConst;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "neigh_list.h"
|
||||
#include "neigh_request.h"
|
||||
#include "comm.h"
|
||||
#include "output.h"
|
||||
#include "force.h"
|
||||
#include "math_const.h"
|
||||
#include "citeme.h"
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "neigh_list.h"
|
||||
#include "neigh_request.h"
|
||||
#include "comm.h"
|
||||
#include "output.h"
|
||||
#include "force.h"
|
||||
#include "math_const.h"
|
||||
#include "citeme.h"
|
||||
|
|
|
@ -17,10 +17,8 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_thermal_conductivity.h"
|
||||
#include <cmath>
|
||||
#include <mpi.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include "atom.h"
|
||||
#include "force.h"
|
||||
#include "domain.h"
|
||||
|
|
|
@ -20,12 +20,10 @@
|
|||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include "atom.h"
|
||||
#include "force.h"
|
||||
#include "update.h"
|
||||
#include "domain.h"
|
||||
#include "region.h"
|
||||
#include "respa.h"
|
||||
#include "comm.h"
|
||||
#include "random_mars.h"
|
||||
|
|
|
@ -17,10 +17,9 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_viscosity.h"
|
||||
#include <cmath>
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include "atom.h"
|
||||
#include "domain.h"
|
||||
#include "modify.h"
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "pair_nm_cut.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "pair_nm_cut_coul_cut.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
|
|
|
@ -16,19 +16,15 @@
|
|||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "pair_nm_cut_coul_long.h"
|
||||
#include <mpi.h>
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
#include "force.h"
|
||||
#include "kspace.h"
|
||||
#include "update.h"
|
||||
#include "integrate.h"
|
||||
#include "neighbor.h"
|
||||
#include "neigh_list.h"
|
||||
#include "neigh_request.h"
|
||||
#include "math_const.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#include "xdr_compat.h"
|
||||
#include <cstdlib>
|
||||
#include <climits>
|
||||
#include <cstring>
|
||||
|
||||
/* This file is needed for systems, that do not provide XDR support
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <climits>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue