Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
fbad999d
Commit
fbad999d
authored
Oct 11, 2016
by
Franjo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'defect-compilationWithOpenFOAM-4.x' into development
parents
5f501575
e6ac2ba8
Changes
49
Show whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
761 additions
and
270 deletions
+761
-270
executables/cartesian2DMesh/Make/options
executables/cartesian2DMesh/Make/options
+22
-4
executables/cartesianMesh/Make/options
executables/cartesianMesh/Make/options
+22
-4
executables/cartesianMesh/cartesianMesh.C
executables/cartesianMesh/cartesianMesh.C
+0
-2
executables/pMesh/Make/options
executables/pMesh/Make/options
+22
-4
executables/tetMesh/Make/options
executables/tetMesh/Make/options
+22
-4
meshLibrary/Make/options
meshLibrary/Make/options
+23
-1
meshLibrary/cartesian2DMesh/cartesian2DMeshGenerator/cartesian2DMeshGenerator.C
...DMesh/cartesian2DMeshGenerator/cartesian2DMeshGenerator.C
+0
-1
meshLibrary/cartesianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
...esianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
+0
-1
meshLibrary/tetMesh/tetMeshGenerator/tetMeshGenerator.C
meshLibrary/tetMesh/tetMeshGenerator/tetMeshGenerator.C
+0
-1
meshLibrary/utilities/boundaryLayers/boundaryLayers/boundaryLayers.H
.../utilities/boundaryLayers/boundaryLayers/boundaryLayers.H
+0
-2
meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.H
...rary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.H
+35
-37
meshLibrary/utilities/boundaryLayers/refineBoundaryLayers/refineBoundaryLayers.H
...oundaryLayers/refineBoundaryLayers/refineBoundaryLayers.H
+0
-2
meshLibrary/utilities/boundaryLayers/triangulateNonPlanarBaseFaces/triangulateNonPlanarBaseFaces.H
...ngulateNonPlanarBaseFaces/triangulateNonPlanarBaseFaces.H
+0
-2
meshLibrary/utilities/checkMeshDict/checkMeshDict.H
meshLibrary/utilities/checkMeshDict/checkMeshDict.H
+0
-2
meshLibrary/utilities/dataConversion/foamToFPMA/writeMeshFPMA.C
...brary/utilities/dataConversion/foamToFPMA/writeMeshFPMA.C
+0
-2
meshLibrary/utilities/helperClasses/sortEdgesIntoChains/sortEdgesIntoChains.C
...s/helperClasses/sortEdgesIntoChains/sortEdgesIntoChains.C
+9
-10
meshLibrary/utilities/helperClasses/sortEdgesIntoChains/sortEdgesIntoChains.H
...s/helperClasses/sortEdgesIntoChains/sortEdgesIntoChains.H
+20
-21
meshLibrary/utilities/meshes/polyMeshGen/polyMeshGenPoints.H
meshLibrary/utilities/meshes/polyMeshGen/polyMeshGenPoints.H
+16
-13
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegion.C
.../advancedSmoothers/meshUntangler/meshUntanglerCutRegion.C
+6
-3
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegionTieBreak.C
...dSmoothers/meshUntangler/meshUntanglerCutRegionTieBreak.C
+4
-3
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
...surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
+0
-2
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.H
...surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.H
+0
-2
meshLibrary/utilities/surfaceTools/meshSurfaceCheckEdgeTypes/meshSurfaceCheckEdgeTypes.H
...ols/meshSurfaceCheckEdgeTypes/meshSurfaceCheckEdgeTypes.H
+0
-2
meshLibrary/utilities/surfaceTools/meshSurfaceCheckInvertedVertices/meshSurfaceCheckInvertedVertices.H
...eCheckInvertedVertices/meshSurfaceCheckInvertedVertices.H
+3
-5
meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.H
...lities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.H
+0
-2
meshLibrary/utilities/workflowControls/workflowControls.H
meshLibrary/utilities/workflowControls/workflowControls.H
+0
-2
meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C
...y/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C
+0
-2
utilities/FLMAToSurface/Make/options
utilities/FLMAToSurface/Make/options
+26
-6
utilities/FMSToSurface/Make/options
utilities/FMSToSurface/Make/options
+27
-7
utilities/FMSToVTK/Make/options
utilities/FMSToVTK/Make/options
+28
-8
utilities/checkSurfaceMesh/Make/options
utilities/checkSurfaceMesh/Make/options
+26
-6
utilities/copySurfaceParts/Make/options
utilities/copySurfaceParts/Make/options
+26
-6
utilities/extrudeEdgesInto2DSurface/Make/options
utilities/extrudeEdgesInto2DSurface/Make/options
+27
-7
utilities/generateBoundaryLayers/Make/options
utilities/generateBoundaryLayers/Make/options
+25
-5
utilities/importSurfaceAsSubset/Make/options
utilities/importSurfaceAsSubset/Make/options
+26
-6
utilities/improveMeshQuality/Make/options
utilities/improveMeshQuality/Make/options
+25
-5
utilities/improveSymmetryPlanes/Make/options
utilities/improveSymmetryPlanes/Make/options
+26
-4
utilities/mergeSurfacePatches/Make/options
utilities/mergeSurfacePatches/Make/options
+28
-8
utilities/meshToFPMA/Make/options
utilities/meshToFPMA/Make/options
+27
-5
utilities/patchesToSubsets/Make/options
utilities/patchesToSubsets/Make/options
+27
-7
utilities/preparePar/Make/options
utilities/preparePar/Make/options
+27
-7
utilities/preparePar/preparePar.C
utilities/preparePar/preparePar.C
+1
-2
utilities/removeSurfaceFacets/Make/options
utilities/removeSurfaceFacets/Make/options
+27
-7
utilities/scaleMesh/Make/options
utilities/scaleMesh/Make/options
+26
-6
utilities/scaleSurfaceMesh/Make/options
utilities/scaleSurfaceMesh/Make/options
+26
-6
utilities/subsetToPatch/Make/options
utilities/subsetToPatch/Make/options
+28
-8
utilities/surfaceFeatureEdges/Make/options
utilities/surfaceFeatureEdges/Make/options
+26
-6
utilities/surfaceGenerateBoundingBox/Make/options
utilities/surfaceGenerateBoundingBox/Make/options
+26
-6
utilities/surfaceToFMS/Make/options
utilities/surfaceToFMS/Make/options
+26
-6
No files found.
executables/cartesian2DMesh/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
else
CFMESH_MACROS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
CFMESH_MACROS = -DExtendSpecific
else
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
CFMESH_MACROS =
endif
endif
EXE_INC = \
$(CFMESH_MACROS) \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
...
...
@@ -6,9 +27,6 @@ EXE_INC = \
-I../../meshLibrary/lnInclude
EXE_LIBS = \
-lmeshTools \
-ltriSurface \
-lfiniteVolume \
-ledgeMesh \
$(CFMESH_LIBS) \
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary
executables/cartesianMesh/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
else
CFMESH_MACROS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
CFMESH_MACROS = -DExtendSpecific
else
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
CFMESH_MACROS =
endif
endif
EXE_INC = \
$(CFMESH_MACROS) \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
...
...
@@ -6,9 +27,6 @@ EXE_INC = \
-I../../meshLibrary/lnInclude
EXE_LIBS = \
-lmeshTools \
-ltriSurface \
-lfiniteVolume \
-ledgeMesh \
$(CFMESH_LIBS) \
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary
executables/cartesianMesh/cartesianMesh.C
View file @
fbad999d
...
...
@@ -30,8 +30,6 @@ Description
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "objectRegistry.H"
#include "Time.H"
#include "cartesianMeshGenerator.H"
using
namespace
Foam
;
...
...
executables/pMesh/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
else
CFMESH_MACROS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
CFMESH_MACROS = -DExtendSpecific
else
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
CFMESH_MACROS =
endif
endif
EXE_INC = \
$(CFMESH_MACROS) \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
...
...
@@ -6,9 +27,6 @@ EXE_INC = \
-I../../meshLibrary/lnInclude
EXE_LIBS = \
-lmeshTools \
-ltriSurface \
-lfiniteVolume \
-ledgeMesh \
$(CFMESH_LIBS) \
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary
executables/tetMesh/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
else
CFMESH_MACROS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
CFMESH_MACROS = -DExtendSpecific
else
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
CFMESH_MACROS =
endif
endif
EXE_INC = \
$(CFMESH_MACROS) \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
...
...
@@ -6,9 +27,6 @@ EXE_INC = \
-I../../meshLibrary/lnInclude
EXE_LIBS = \
-lmeshTools \
-ltriSurface \
-lfiniteVolume \
-ledgeMesh \
$(CFMESH_LIBS) \
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary
meshLibrary/Make/options
View file @
fbad999d
...
...
@@ -4,8 +4,30 @@ else
OMP_FLAGS =
endif
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
LIBS =
else
CFMESH_MACROS =
LIBS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_MACROS = -DExtendSpecific
LIBS = -lmeshTools -ledgeMesh
else
CFMESH_MACROS =
endif
endif
EXE_INC = \
$(OMP_FLAGS) \
$(OMP_FLAGS)
$(CFMESH_MACROS)
\
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/edgeMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
LIB_LIBS = $(LIBS)
meshLibrary/cartesian2DMesh/cartesian2DMeshGenerator/cartesian2DMeshGenerator.C
View file @
fbad999d
...
...
@@ -32,7 +32,6 @@ Description
#include "triSurfacePatchManipulator.H"
#include "triSurfaceCleanupDuplicateTriangles.H"
#include "demandDrivenData.H"
#include "Time.H"
#include "meshOctreeCreator.H"
#include "cartesianMeshExtractor.H"
#include "meshSurfaceEngine.H"
...
...
meshLibrary/cartesianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
View file @
fbad999d
...
...
@@ -29,7 +29,6 @@ Description
#include "triSurf.H"
#include "triSurfacePatchManipulator.H"
#include "demandDrivenData.H"
#include "Time.H"
#include "meshOctreeCreator.H"
#include "cartesianMeshExtractor.H"
#include "meshSurfaceEngine.H"
...
...
meshLibrary/tetMesh/tetMeshGenerator/tetMeshGenerator.C
View file @
fbad999d
...
...
@@ -28,7 +28,6 @@ Description
#include "tetMeshGenerator.H"
#include "triSurf.H"
#include "demandDrivenData.H"
#include "Time.H"
#include "meshOctreeCreator.H"
#include "tetMeshExtractorOctree.H"
#include "meshSurfaceEngine.H"
...
...
meshLibrary/utilities/boundaryLayers/boundaryLayers/boundaryLayers.H
View file @
fbad999d
...
...
@@ -35,8 +35,6 @@ SourceFiles
#ifndef boundaryLayers_H
#define boundaryLayers_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "meshSurfaceEngine.H"
#include "meshSurfacePartitioner.H"
...
...
meshLibrary/utilities/boundaryLayers/extrudeLayer/extrudeLayer.H
View file @
fbad999d
...
...
@@ -36,8 +36,6 @@ SourceFiles
#ifndef extrudeLayer_H
#define extrudeLayer_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "VRWGraphList.H"
#include "labelPair.H"
...
...
meshLibrary/utilities/boundaryLayers/refineBoundaryLayers/refineBoundaryLayers.H
View file @
fbad999d
...
...
@@ -36,8 +36,6 @@ SourceFiles
#ifndef refineBoundaryLayers_H
#define refineBoundaryLayers_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "meshSurfaceEngine.H"
#include "DynList.H"
...
...
meshLibrary/utilities/boundaryLayers/triangulateNonPlanarBaseFaces/triangulateNonPlanarBaseFaces.H
View file @
fbad999d
...
...
@@ -36,8 +36,6 @@ SourceFiles
#ifndef triangulateNonPlanarBaseFaces_H
#define triangulateNonPlanarBaseFaces_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
meshLibrary/utilities/checkMeshDict/checkMeshDict.H
View file @
fbad999d
...
...
@@ -35,8 +35,6 @@ SourceFiles
#ifndef checkMeshDict_H
#define checkMeshDict_H
#include "objectRegistry.H"
#include "Time.H"
#include "IOdictionary.H"
#include <map>
...
...
meshLibrary/utilities/dataConversion/foamToFPMA/writeMeshFPMA.C
View file @
fbad999d
...
...
@@ -26,8 +26,6 @@ Description
\*---------------------------------------------------------------------------*/
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGen.H"
#include "meshSurfaceEngine.H"
#include "OFstream.H"
...
...
meshLibrary/utilities/helperClasses/sortEdgesIntoChains/sortEdgesIntoChains.C
View file @
fbad999d
...
...
@@ -50,7 +50,7 @@ void sortEdgesIntoChains::createNodeLabels()
newNodeLabel_
.
insert
(
e
.
end
(),
nPoints
++
);
}
edgesAtPoint_
.
setSize
(
nPoints
,
DynList
<
label
>
()
);
edgesAtPoint_
.
setSize
(
nPoints
);
forAll
(
bEdges_
,
eI
)
{
const
edge
&
e
=
bEdges_
[
eI
];
...
...
@@ -69,7 +69,7 @@ void sortEdgesIntoChains::createNodeLabels()
bool
sortEdgesIntoChains
::
findPointsBelongingToTheChain
(
const
label
currPos
,
boolList
&
chainEdges
DynList
<
bool
>
&
chainEdges
)
const
{
# ifdef DEBUGSort
...
...
@@ -150,7 +150,7 @@ bool sortEdgesIntoChains::findPointsBelongingToTheChain
return
true
;
}
void
sortEdgesIntoChains
::
shrinkEdges
(
const
boolList
&
chainEdges
)
void
sortEdgesIntoChains
::
shrinkEdges
(
const
DynList
<
bool
>
&
chainEdges
)
{
forAll
(
chainEdges
,
eI
)
if
(
chainEdges
[
eI
]
)
...
...
@@ -168,14 +168,14 @@ void sortEdgesIntoChains::shrinkEdges(const boolList& chainEdges)
}
}
void
sortEdgesIntoChains
::
createChainFromEdges
(
const
boolList
&
chainEdges
)
void
sortEdgesIntoChains
::
createChainFromEdges
(
const
DynList
<
bool
>
&
chainEdges
)
{
direction
i
(
0
);
label
i
(
0
);
forAll
(
chainEdges
,
eI
)
if
(
chainEdges
[
eI
]
)
++
i
;
labelList
chainPoints
(
i
);
DynList
<
label
>
chainPoints
(
i
);
i
=
0
;
forAll
(
chainEdges
,
eI
)
...
...
@@ -232,7 +232,7 @@ void sortEdgesIntoChains::sortEdges()
if
(
!
openEdges_
)
{
boolList
chainEdges
(
bEdges_
.
size
());
DynList
<
bool
>
chainEdges
(
bEdges_
.
size
());
forAll
(
edgesAtPoint_
,
pI
)
if
(
findPointsBelongingToTheChain
(
pI
,
chainEdges
)
)
{
...
...
@@ -257,12 +257,11 @@ sortEdgesIntoChains::sortEdgesIntoChains(const DynList<edge>& bEdges)
}
sortEdgesIntoChains
::~
sortEdgesIntoChains
()
{
}
{}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *//
// Member functions
const
DynList
<
labelList
>&
sortEdgesIntoChains
::
sortedChains
()
const
const
DynList
<
DynList
<
label
>
>&
sortEdgesIntoChains
::
sortedChains
()
const
{
return
createdChains_
;
}
...
...
meshLibrary/utilities/helperClasses/sortEdgesIntoChains/sortEdgesIntoChains.H
View file @
fbad999d
...
...
@@ -39,7 +39,6 @@ SourceFiles
#include "labelList.H"
#include "edge.H"
#include "Map.H"
#include "boolList.H"
namespace
Foam
{
...
...
@@ -57,9 +56,9 @@ class sortEdgesIntoChains
Map
<
label
>
newNodeLabel_
;
List
<
DynList
<
label
>
>
edgesAtPoint_
;
Dyn
List
<
DynList
<
label
>
>
edgesAtPoint_
;
DynList
<
labelList
>
createdChains_
;
DynList
<
DynList
<
label
>
>
createdChains_
;
// Private member functions
void
createNodeLabels
();
...
...
@@ -67,12 +66,12 @@ class sortEdgesIntoChains
bool
findPointsBelongingToTheChain
(
const
label
currPos
,
boolList
&
chainEdges
DynList
<
bool
>
&
chainEdges
)
const
;
void
shrinkEdges
(
const
boolList
&
chainEdges
);
void
shrinkEdges
(
const
DynList
<
bool
>
&
chainEdges
);
void
createChainFromEdges
(
const
boolList
&
chainEdges
);
void
createChainFromEdges
(
const
DynList
<
bool
>
&
chainEdges
);
void
sortEdges
();
...
...
@@ -88,7 +87,7 @@ class sortEdgesIntoChains
// Member functions
//- a list of points which have not yet been resolved
const
DynList
<
labelList
>&
sortedChains
()
const
;
const
DynList
<
DynList
<
label
>
>&
sortedChains
()
const
;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
meshLibrary/utilities/meshes/polyMeshGen/polyMeshGenPoints.H
View file @
fbad999d
...
...
@@ -37,8 +37,11 @@ SourceFiles
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "objectRegistry.H"
# ifdef ExtendSpecific
#include "foamTime.H"
# else
#include "Time.H"
# endif
#include "meshSubset.H"
#include "pointFieldPMG.H"
#include "DynList.H"
...
...
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegion.C
View file @
fbad999d
...
...
@@ -267,8 +267,8 @@ void meshUntangler::cutRegion::createPolyMeshFromRegion
fEdges
.
append
(
edges
[
f
[
eI
]]);
Info
<<
"Edges forming face "
<<
fI
<<
" are "
<<
fEdges
<<
endl
;
sortEdgesIntoChains
sorter
(
fEdges
);
const
DynList
<
labelList
>&
sf
=
sorter
.
sortedChains
();
const
DynList
<
DynList
<
label
>
>
sf
=
sortEdgesIntoChains
(
fEdges
)
.
sortedChains
();
if
(
sf
.
size
()
!=
1
)
FatalErrorIn
(
...
...
@@ -276,7 +276,10 @@ void meshUntangler::cutRegion::createPolyMeshFromRegion
"cutRegion::createPolyMeshFromRegion(polyMesgGen&)"
)
<<
"More than one face created!"
<<
abort
(
FatalError
);
faces
[
fI
]
=
face
(
sf
[
0
]);
faces
[
fI
].
setSize
(
sf
[
0
].
size
());
forAll
(
sf
[
0
],
pI
)
faces
[
fI
][
pI
]
=
sf
[
0
][
pI
];
cells
[
0
][
fI
]
=
fI
;
}
}
...
...
meshLibrary/utilities/smoothers/geometry/meshOptimizer/tetMeshOptimisation/advancedSmoothers/meshUntangler/meshUntanglerCutRegionTieBreak.C
View file @
fbad999d
...
...
@@ -62,8 +62,9 @@ void meshUntangler::cutRegion::tieBreak(const DynList<label, 8>& f)
forAll
(
f
,
eI
)
faceEdges
.
append
(
edges
[
f
[
eI
]]);
sortEdgesIntoChains
sorter
(
faceEdges
);
const
DynList
<
labelList
>&
fvertices
=
sorter
.
sortedChains
();
const
DynList
<
DynList
<
label
>
>
fvertices
=
sortEdgesIntoChains
(
faceEdges
).
sortedChains
();
if
(
fvertices
.
size
()
!=
1
)
{
valid_
=
false
;
...
...
@@ -77,7 +78,7 @@ void meshUntangler::cutRegion::tieBreak(const DynList<label, 8>& f)
<<
fvertices
.
size
()
<<
abort
(
FatalError
);
}
const
labelList
&
fv
=
fvertices
[
0
];
const
DynList
<
label
>
&
fv
=
fvertices
[
0
];
DynList
<
label
,
64
>
vertexRegion
;
vertexRegion
.
setSize
(
fv
.
size
());
...
...
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
View file @
fbad999d
...
...
@@ -26,8 +26,6 @@ Description
\*---------------------------------------------------------------------------*/
#include "error.H"
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "edgeExtractor.H"
#include "meshSurfaceEngine.H"
...
...
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.H
View file @
fbad999d
...
...
@@ -38,8 +38,6 @@ SourceFiles
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "objectRegistry.H"
#include "Time.H"
#include "labelList.H"
#include "labelLongList.H"
#include "VRWGraph.H"
...
...
meshLibrary/utilities/surfaceTools/meshSurfaceCheckEdgeTypes/meshSurfaceCheckEdgeTypes.H
View file @
fbad999d
...
...
@@ -37,8 +37,6 @@ SourceFiles
#ifndef meshSurfaceCheckEdgeTypes_H
#define meshSurfaceCheckEdgeTypes_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
meshLibrary/utilities/surfaceTools/meshSurfaceCheckInvertedVertices/meshSurfaceCheckInvertedVertices.H
View file @
fbad999d
...
...
@@ -37,8 +37,6 @@ SourceFiles
#ifndef meshSurfaceCheckInvertedVertices_H
#define meshSurfaceCheckInvertedVertices_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "HashSet.H"
...
...
meshLibrary/utilities/surfaceTools/meshSurfaceEngine/meshSurfaceEngine.H
View file @
fbad999d
...
...
@@ -35,8 +35,6 @@ SourceFiles
#ifndef meshSurfaceEngine_H
#define meshSurfaceEngine_H
#include "objectRegistry.H"
#include "Time.H"
#include "polyMeshGenModifier.H"
#include "SubList.H"
#include "boolList.H"
...
...
meshLibrary/utilities/workflowControls/workflowControls.H
View file @
fbad999d
...
...
@@ -37,8 +37,6 @@ SourceFiles
#ifndef workflowControls_H
#define workflowControls_H
#include "objectRegistry.H"
#include "Time.H"
#include "IOdictionary.H"
#include "DynList.H"
...
...
meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C
View file @
fbad999d
...
...
@@ -28,8 +28,6 @@ Description
#include "voronoiMeshGenerator.H"
#include "triSurf.H"
#include "demandDrivenData.H"
#include "objectRegistry.H"
#include "Time.H"
#include "meshOctreeCreator.H"
#include "voronoiMeshExtractor.H"
#include "meshSurfaceEngine.H"
...
...
utilities/FLMAToSurface/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
else
CFMESH_MACROS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
CFMESH_MACROS = -DExtendSpecific
else
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
CFMESH_MACROS =
endif
endif
EXE_INC = \
-I../../meshLibrary/lnInclude
\
$(CFMESH_MACROS)
\
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/edgeMesh/lnInclude
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/edgeMesh/lnInclude \
-I../../meshLibrary/lnInclude
EXE_LIBS = \
-ltriSurface
\
$(CFMESH_LIBS)
\
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary \
-lmeshTools \
-ledgeMesh
-lmeshLibrary
utilities/FMSToSurface/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
CFMESH_MACROS = -DNoSizeType
else
CFMESH_MACROS =
endif
endif
ifeq ($(WM_PROJECT), foam)
VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
ifeq ($(VER), 1)
CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
CFMESH_MACROS = -DExtendSpecific
else
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
CFMESH_MACROS =
endif
endif
EXE_INC = \
-I../../meshLibrary/lnInclude \
-I$(FOAM_SRC)/meshTools/lnInclude \
-I$(FOAM_SRC)/triSurface/lnInclude \
-I$(FOAM_SRC)/edgeMesh/lnInclude
$(CFMESH_MACROS) \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/edgeMesh/lnInclude \
-I../../meshLibrary/lnInclude
EXE_LIBS = \
-ltriSurface \
-lmeshTools \
-ledgeMesh \
$(CFMESH_LIBS) \
-L$(FOAM_USER_LIBBIN) \
-lmeshLibrary
utilities/FMSToVTK/Make/options
View file @
fbad999d
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))