mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
clean up header file includes
* include only necessary files * whenever possible, include headers in .C file not in .H file
This commit is contained in:
@ -29,13 +29,17 @@ Description
|
||||
and OpenFOAM(R). Note: this code is not part of OpenFOAM(R) (see DISCLAIMER).
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "error.H"
|
||||
#include "twoWayMPI.H"
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
#include "OFstream.H"
|
||||
#include "clockModel.H"
|
||||
#include "pair.h"
|
||||
#include "force.h"
|
||||
#include "forceModel.H"
|
||||
#include "liggghtsCommandModel.H"
|
||||
|
||||
//LAMMPS/LIGGGHTS
|
||||
#include <input.h>
|
||||
#include <library_cfd_coupling.h>
|
||||
#include <update.h>
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace Foam
|
||||
|
||||
@ -41,27 +41,15 @@ SourceFiles
|
||||
#ifndef twoWayMPI_H
|
||||
#define twoWayMPI_H
|
||||
|
||||
#include <mpi.h>
|
||||
|
||||
#include "dataExchangeModel.H"
|
||||
#include "liggghtsCommandModel.H"
|
||||
#include "OFstream.H"
|
||||
#include <sys/stat.h>
|
||||
#include "pair.h"
|
||||
#include "force.h"
|
||||
#include "forceModel.H"
|
||||
|
||||
//=================================//
|
||||
//LAMMPS/LIGGGHTS
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <mpi.h>
|
||||
#include <lammps.h> // these are LAMMPS include files
|
||||
#include <input.h>
|
||||
#include <atom.h>
|
||||
#include <library.h>
|
||||
#include <error.h>
|
||||
#include <library_cfd_coupling.h>
|
||||
#include <update.h>
|
||||
#include <pair.h>
|
||||
#include <force.h>
|
||||
//=================================//
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -33,13 +33,19 @@ Contributing authors
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "twoWayOne2One.H"
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
#include "OFstream.H"
|
||||
#include "clockModel.H"
|
||||
#include "pair.h"
|
||||
#include "force.h"
|
||||
#include "forceModel.H"
|
||||
#include "liggghtsCommandModel.H"
|
||||
|
||||
//LAMMPS/LIGGGHTS
|
||||
#include <atom.h>
|
||||
#include <input.h>
|
||||
#include <library.h>
|
||||
#include <library_cfd_coupling.h>
|
||||
#include <memory.h>
|
||||
#include <update.h>
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
@ -45,33 +45,19 @@ Contributing authors
|
||||
#ifndef twoWayOne2One_H
|
||||
#define twoWayOne2One_H
|
||||
|
||||
#include <mpi.h>
|
||||
|
||||
#include "dataExchangeModel.H"
|
||||
#include "liggghtsCommandModel.H"
|
||||
#include "OFstream.H"
|
||||
#include <sys/stat.h>
|
||||
#include "pair.h"
|
||||
#include "force.h"
|
||||
#include "forceModel.H"
|
||||
#include "one2one.H"
|
||||
|
||||
#include "meshSearch.H"
|
||||
#include <treeBoundBox.H>
|
||||
|
||||
//=================================//
|
||||
//LAMMPS/LIGGGHTS
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <mpi.h>
|
||||
#include <lammps.h> // these are LAMMPS include files
|
||||
#include <input.h>
|
||||
#include <atom.h>
|
||||
#include <memory.h>
|
||||
#include <library.h>
|
||||
#include <library_cfd_coupling.h>
|
||||
#include <update.h>
|
||||
#include <comm.h>
|
||||
#include <fix.h>
|
||||
#include <fix_property_atom.h>
|
||||
#include <lammps.h> // these are LAMMPS include files
|
||||
#include <pair.h>
|
||||
#include <force.h>
|
||||
#include <fix_property_atom.h> /// needed
|
||||
//=================================//
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Reference in New Issue
Block a user