CLang porting changes: cfMesh

This commit is contained in:
Hrvoje Jasak 2014-06-17 11:42:41 +01:00
parent bf0df94f9e
commit 44123aa2eb
27 changed files with 39 additions and 8 deletions

View file

@ -27,6 +27,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "triSurf.H" #include "triSurf.H"
#include "triSurfModifier.H" #include "triSurfModifier.H"

View file

@ -27,6 +27,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "IFstream.H" #include "IFstream.H"

View file

@ -30,6 +30,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "cartesian2DMeshGenerator.H" #include "cartesian2DMeshGenerator.H"

View file

@ -28,6 +28,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "triSurf.H" #include "triSurf.H"
#include "triSurfaceExtrude2DEdges.H" #include "triSurfaceExtrude2DEdges.H"

View file

@ -27,6 +27,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "writeMeshFPMA.H" #include "writeMeshFPMA.H"

View file

@ -27,6 +27,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "triSurf.H" #include "triSurf.H"
#include "triFaceList.H" #include "triFaceList.H"

View file

@ -30,6 +30,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include <sstream> #include <sstream>

View file

@ -28,6 +28,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "triSurf.H" #include "triSurf.H"
#include "triSurfaceRemoveFacets.H" #include "triSurfaceRemoveFacets.H"

View file

@ -27,6 +27,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "triSurf.H" #include "triSurf.H"
#include "demandDrivenData.H" #include "demandDrivenData.H"

View file

@ -30,6 +30,7 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "argList.H" #include "argList.H"
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "tetMeshGenerator.H" #include "tetMeshGenerator.H"

View file

@ -1,5 +1,9 @@
#if defined(__GNUC__) #if defined(__GNUC__)
OMP_FLAGS = -DUSE_OMP -fopenmp # if defined(darwinIntel64)
OMP_FLAGS =
# else
OMP_FLAGS = -DUSE_OMP -fopenmp
# endif
#else #else
OMP_FLAGS = OMP_FLAGS =
#endif #endif

View file

@ -35,6 +35,8 @@ SourceFiles
#ifndef boundaryLayers_H #ifndef boundaryLayers_H
#define boundaryLayers_H #define boundaryLayers_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "meshSurfaceEngine.H" #include "meshSurfaceEngine.H"
#include "meshSurfacePartitioner.H" #include "meshSurfacePartitioner.H"

View file

@ -36,6 +36,8 @@ SourceFiles
#ifndef extrudeLayer_H #ifndef extrudeLayer_H
#define extrudeLayer_H #define extrudeLayer_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "VRWGraphList.H" #include "VRWGraphList.H"
#include "labelPair.H" #include "labelPair.H"

View file

@ -36,6 +36,8 @@ SourceFiles
#ifndef refineBoundaryLayers_H #ifndef refineBoundaryLayers_H
#define refineBoundaryLayers_H #define refineBoundaryLayers_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "meshSurfaceEngine.H" #include "meshSurfaceEngine.H"
#include "DynList.H" #include "DynList.H"

View file

@ -35,6 +35,8 @@ SourceFiles
#ifndef checkMeshDict_H #ifndef checkMeshDict_H
#define checkMeshDict_H #define checkMeshDict_H
#include "objectRegistry.H"
#include "Time.H"
#include "IOdictionary.H" #include "IOdictionary.H"
#include <map> #include <map>

View file

@ -27,8 +27,6 @@ License
#include "Ostream.H" #include "Ostream.H"
#include "token.H" #include "token.H"
#include "Time.H"
// * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * // // * * * * * * * * * * * * * * * IOstream Operators * * * * * * * * * * * * //
template<class T, Foam::label Offset> template<class T, Foam::label Offset>

View file

@ -42,6 +42,7 @@ SourceFiles
#include "label.H" #include "label.H"
#include "bool.H" #include "bool.H"
#include "IOstreams.H"
#include "error.H" #include "error.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -37,6 +37,7 @@ SourceFiles
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "objectRegistry.H"
#include "Time.H" #include "Time.H"
#include "meshSubset.H" #include "meshSubset.H"
#include "pointFieldPMG.H" #include "pointFieldPMG.H"

View file

@ -29,10 +29,7 @@ Description
#include "demandDrivenData.H" #include "demandDrivenData.H"
#include "IFstream.H" #include "IFstream.H"
#include "OFstream.H" #include "OFstream.H"
#include "Time.H"
#include "gzstream.h" #include "gzstream.h"
#include "triSurface.H" #include "triSurface.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -37,6 +37,7 @@ SourceFiles
#define meshOctreeAutomaticRefinement_H #define meshOctreeAutomaticRefinement_H
#include "meshOctreeModifier.H" #include "meshOctreeModifier.H"
#include "IOdictionary.H"
//#include "volFields.H" //#include "volFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -60,7 +61,7 @@ class meshOctreeAutomaticRefinement
meshOctree& octree_; meshOctree& octree_;
//- const reference to mesh dictionary //- const reference to mesh dictionary
const IOdictionary& meshDict_; const dictionary& meshDict_;
//- use DATA boxes //- use DATA boxes
bool useDATABoxes_; bool useDATABoxes_;

View file

@ -37,6 +37,7 @@ SourceFiles
#include "boolList.H" #include "boolList.H"
#include "DynList.H" #include "DynList.H"
#include "IOdictionary.H"
#include "meshOctreeModifier.H" #include "meshOctreeModifier.H"
//#include "volFields.H" //#include "volFields.H"
#include "patchRefinementList.H" #include "patchRefinementList.H"
@ -49,7 +50,6 @@ namespace Foam
{ {
// Forward declarations // Forward declarations
class IOdictionary;
class meshOctreeCube; class meshOctreeCube;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\

View file

@ -26,6 +26,8 @@ Description
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "error.H" #include "error.H"
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "edgeExtractor.H" #include "edgeExtractor.H"
#include "meshSurfaceEngine.H" #include "meshSurfaceEngine.H"

View file

@ -38,6 +38,8 @@ SourceFiles
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "objectRegistry.H"
#include "Time.H"
#include "labelList.H" #include "labelList.H"
#include "labelLongList.H" #include "labelLongList.H"
#include "VRWGraph.H" #include "VRWGraph.H"

View file

@ -37,6 +37,8 @@ SourceFiles
#ifndef meshSurfaceCheckEdgeTypes_H #ifndef meshSurfaceCheckEdgeTypes_H
#define meshSurfaceCheckEdgeTypes_H #define meshSurfaceCheckEdgeTypes_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View file

@ -37,6 +37,8 @@ SourceFiles
#ifndef meshSurfaceCheckInvertedVertices_H #ifndef meshSurfaceCheckInvertedVertices_H
#define meshSurfaceCheckInvertedVertices_H #define meshSurfaceCheckInvertedVertices_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "HashSet.H" #include "HashSet.H"

View file

@ -35,6 +35,8 @@ SourceFiles
#ifndef meshSurfaceEngine_H #ifndef meshSurfaceEngine_H
#define meshSurfaceEngine_H #define meshSurfaceEngine_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H" #include "polyMeshGenModifier.H"
#include "SubList.H" #include "SubList.H"
#include "boolList.H" #include "boolList.H"

View file

@ -37,6 +37,7 @@ SourceFiles
#ifndef triSurfacePatchManipulator_H #ifndef triSurfacePatchManipulator_H
#define triSurfacePatchManipulator_H #define triSurfacePatchManipulator_H
#include "IOdictionary.H"
#include "triSurf.H" #include "triSurf.H"
#include "VRWGraph.H" #include "VRWGraph.H"