

Public Types | |
| enum | dualMeshPointType { internal = 0, surface = 1, featureEdge = 2, featurePoint = 3, constrained = 4 } |
| typedef Delaunay::Vertex_handle | Vertex_handle |
| typedef Delaunay::Cell_handle | Cell_handle |
| typedef Delaunay::Edge | Edge |
| typedef Delaunay::Facet | Facet |
| typedef Delaunay::Point | Point |
| typedef List< DynamicList< Pair< labelPair > > > | labelPairPairDynListList |
| typedef Tuple2< pointIndexHit, label > | pointIndexHitAndFeature |
| typedef List< pointIndexHitAndFeature > | pointIndexHitAndFeatureList |
| typedef DynamicList< pointIndexHitAndFeature > | pointIndexHitAndFeatureDynList |
Public Types inherited from DistributedDelaunayMesh< Delaunay > | |
| typedef Delaunay::Vertex_handle | Vertex_handle |
| typedef Delaunay::Cell_handle | Cell_handle |
| typedef Delaunay::Point | Point |
| typedef Delaunay::Finite_vertices_iterator | Finite_vertices_iterator |
| typedef Delaunay::Finite_cells_iterator | Finite_cells_iterator |
| typedef Delaunay::All_cells_iterator | All_cells_iterator |
| typedef DelaunayMesh< Delaunay >::labelPairHashSet | labelPairHashSet |
Public Types inherited from DelaunayMesh< Delaunay > | |
| typedef Delaunay::Cell_handle | Cell_handle |
| typedef Delaunay::Vertex_handle | Vertex_handle |
| typedef Delaunay::Edge | Edge |
| typedef Delaunay::Point | Point |
| typedef Delaunay::Facet | Facet |
| typedef Delaunay::Finite_vertices_iterator | Finite_vertices_iterator |
| typedef Delaunay::Finite_cells_iterator | Finite_cells_iterator |
| typedef Delaunay::Finite_facets_iterator | Finite_facets_iterator |
| typedef HashSet< Pair< label >, FixedList< label, 2 >::Hash<> > | labelPairHashSet |
| typedef HashTable< label, labelPair, FixedList< label, 2 >::Hash<> > | labelTolabelPairHashTable |
Public Member Functions | |
| ClassName ("conformalVoronoiMesh") | |
| Runtime type information. More... | |
| conformalVoronoiMesh (const Time &runTime, const dictionary &foamyHexMeshDict) | |
| Construct from Time and foamyHexMeshDict. More... | |
| ~conformalVoronoiMesh () | |
| Destructor. More... | |
| void | initialiseForMotion () |
| void | initialiseForConformation () |
| void | move () |
| Move the vertices according to the controller, re-conforming to the. More... | |
| const Time & | time () const |
| Return the Time object. More... | |
| Random & | rndGen () const |
| Return the random number generator. More... | |
| const searchableSurfaces & | allGeometry () const |
| Return the allGeometry object. More... | |
| const conformationSurfaces & | geometryToConformTo () const |
| Return the conformationSurfaces object. More... | |
| const backgroundMeshDecomposition & | decomposition () const |
| Return the backgroundMeshDecomposition. More... | |
| const cellShapeControl & | cellShapeControls () const |
| Return the cellShapeControl object. More... | |
| const cvControls & | foamyHexMeshControls () const |
| Return the foamyHexMeshControls object. More... | |
| scalar | pointPairDistance (const Foam::point &pt) const |
| Return the local point pair separation at the given location. More... | |
| scalar | mixedFeaturePointDistance (const Foam::point &pt) const |
| Return the local mixed feature point placement distance. More... | |
| scalar | featurePointExclusionDistanceSqr (const Foam::point &pt) const |
| Return the square of the local feature point exclusion distance. More... | |
| scalar | featureEdgeExclusionDistanceSqr (const Foam::point &pt) const |
| Return the square of the local feature edge exclusion distance. More... | |
| scalar | surfacePtExclusionDistanceSqr (const Foam::point &pt) const |
| Return the square of the local surface point exclusion distance. More... | |
| scalar | surfaceSearchDistanceSqr (const Foam::point &pt) const |
| Return the square of the local surface search distance. More... | |
| scalar | maxSurfaceProtrusion (const Foam::point &pt) const |
| Return the local maximum surface protrusion distance. More... | |
| void | createEdgePointGroup (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
| Call the appropriate function to conform to an edge. More... | |
| void | timeCheck (const string &description=string::null) const |
| void | writeMesh (const fileName &instance) |
| Prepare data and call writeMesh for polyMesh and. More... | |
| void | writeMesh (const word &meshName, const fileName &instance, pointField &points, labelList &boundaryPts, faceList &faces, labelList &owner, labelList &neighbour, const wordList &patchNames, const PtrList< dictionary > &patchDicts, const pointField &cellCentres, PackedBoolList &boundaryFacesToRemove) const |
| Write mesh to disk. More... | |
| void | writeCellSizes (const fvMesh &mesh) const |
| Calculate and write a field of the target cell size,. More... | |
| void | writeCellAlignments (const fvMesh &mesh) const |
| void | writeCellCentres (const fvMesh &mesh) const |
| Calculate and write the cell centres. More... | |
| labelHashSet | findRemainingProtrusionSet (const polyMesh &mesh) const |
| Find the cellSet of the boundary cells which have points that. More... | |
Public Member Functions inherited from DistributedDelaunayMesh< Delaunay > | |
| DistributedDelaunayMesh (const Time &runTime) | |
| Construct from components. More... | |
| DistributedDelaunayMesh (const Time &runTime, const word &meshName) | |
| ~DistributedDelaunayMesh () | |
| Destructor. More... | |
| scalar | calculateLoadUnbalance () const |
| bool | distribute (const boundBox &bb) |
| autoPtr< mapDistribute > | distribute (const backgroundMeshDecomposition &decomposition, List< Foam::point > &points) |
| void | sync (const boundBox &bb) |
| Refer vertices so that the processor interfaces are consistent. More... | |
| void | sync (const boundBox &bb, PtrList< labelPairHashSet > &referralVertices, labelPairHashSet &receivedVertices, bool iterateReferral=true) |
| Refer vertices so that the processor interfaces are consistent. More... | |
| labelPairHashSet | rangeInsertReferredWithInfo (PointIterator begin, PointIterator end, bool printErrors=true) |
| Inserts points into the triangulation if the point is within. More... | |
Public Member Functions inherited from DelaunayMesh< Delaunay > | |
| DelaunayMesh (const Time &runTime) | |
| Construct from components. More... | |
| DelaunayMesh (const Time &runTime, const word &meshName) | |
| ~DelaunayMesh () | |
| Destructor. More... | |
| const Time & | time () const |
| Return a reference to the Time object. More... | |
| void | timeCheck (const string &description, const bool check=true) const |
| Write the cpuTime to screen. More... | |
| label | getNewCellIndex () const |
| Create a new unique cell index and return. More... | |
| label | getNewVertexIndex () const |
| Create a new unique vertex index and return. More... | |
| label | cellCount () const |
| Return the cell count (the next unique cell index) More... | |
| label | vertexCount () const |
| Return the vertex count (the next unique vertex index) More... | |
| void | resetCellCount () |
| Set the cell count to zero. More... | |
| void | resetVertexCount () |
| Set the vertex count to zero. More... | |
| void | reset () |
| Clear the entire triangulation. More... | |
| Map< label > | insertPoints (const List< Vb > &vertices, const bool reIndex) |
| Insert the list of vertices (calls rangeInsertWithInfo) More... | |
| Map< label > | rangeInsertWithInfo (PointIterator begin, PointIterator end, bool printErrors=false, bool reIndex=true) |
| Function inserting points into a triangulation and setting the. More... | |
| void | printInfo (Ostream &os) const |
| Write mesh statistics to stream. More... | |
| void | printVertexInfo (Ostream &os) const |
| Write vertex statistics in the form of a table to stream. More... | |
| autoPtr< polyMesh > | createMesh (const fileName &name, labelTolabelPairHashTable &vertexMap, labelList &cellMap, const bool writeDelaunayData=true) const |
| Create an fvMesh from the triangulation. More... | |
Static Public Member Functions | |
| static void | timeCheck (const Time &runTime, const string &description=string::null, const bool check=true) |
| Write the elapsedCpuTime and memory usage, with an optional. More... | |
Static Public Member Functions inherited from DistributedDelaunayMesh< Delaunay > | |
| static autoPtr< mapDistribute > | buildMap (const List< label > &toProc) |
| Build a mapDistribute for the supplied destination processor data. More... | |
Static Public Attributes | |
| static const NamedEnum< dualMeshPointType, 5 > | dualMeshPointTypeNames_ |
Definition at line 97 of file conformalVoronoiMesh.H.
| typedef Delaunay::Vertex_handle Vertex_handle |
Definition at line 103 of file conformalVoronoiMesh.H.
| typedef Delaunay::Cell_handle Cell_handle |
Definition at line 104 of file conformalVoronoiMesh.H.
| typedef Delaunay::Edge Edge |
Definition at line 105 of file conformalVoronoiMesh.H.
| typedef Delaunay::Facet Facet |
Definition at line 106 of file conformalVoronoiMesh.H.
| typedef Delaunay::Point Point |
Definition at line 107 of file conformalVoronoiMesh.H.
| typedef List<DynamicList<Pair<labelPair> > > labelPairPairDynListList |
Definition at line 109 of file conformalVoronoiMesh.H.
| typedef Tuple2<pointIndexHit, label> pointIndexHitAndFeature |
Definition at line 111 of file conformalVoronoiMesh.H.
Definition at line 112 of file conformalVoronoiMesh.H.
Definition at line 113 of file conformalVoronoiMesh.H.
| enum dualMeshPointType |
| Enumerator | |
|---|---|
| internal | |
| surface | |
| featureEdge | |
| featurePoint | |
| constrained | |
Definition at line 117 of file conformalVoronoiMesh.H.
| conformalVoronoiMesh | ( | const Time & | runTime, |
| const dictionary & | foamyHexMeshDict | ||
| ) |
Construct from Time and foamyHexMeshDict.
| ~conformalVoronoiMesh | ( | ) |
Destructor.
| ClassName | ( | "conformalVoronoiMesh" | ) |
Runtime type information.
| void initialiseForMotion | ( | ) |
| void initialiseForConformation | ( | ) |
| void move | ( | ) |
Move the vertices according to the controller, re-conforming to the.
surface as required
|
inline |
Return the Time object.
Definition at line 530 of file conformalVoronoiMeshI.H.
|
inline |
Return the random number generator.
Definition at line 536 of file conformalVoronoiMeshI.H.
|
inline |
Return the allGeometry object.
Definition at line 543 of file conformalVoronoiMeshI.H.
|
inline |
Return the conformationSurfaces object.
Definition at line 550 of file conformalVoronoiMeshI.H.
|
inline |
Return the backgroundMeshDecomposition.
Definition at line 557 of file conformalVoronoiMeshI.H.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and UPstream::parRun().

|
inline |
Return the cellShapeControl object.
Definition at line 571 of file conformalVoronoiMeshI.H.
|
inline |
Return the foamyHexMeshControls object.
Definition at line 578 of file conformalVoronoiMeshI.H.
Referenced by conformalVoronoiMesh::featureEdgeExclusionDistanceSqr(), conformalVoronoiMesh::featurePointExclusionDistanceSqr(), conformalVoronoiMesh::maxSurfaceProtrusion(), conformalVoronoiMesh::mixedFeaturePointDistance(), conformalVoronoiMesh::pointPairDistance(), conformalVoronoiMesh::surfacePtExclusionDistanceSqr(), and conformalVoronoiMesh::surfaceSearchDistanceSqr().

|
inline |
Return the local point pair separation at the given location.
Definition at line 137 of file conformalVoronoiMeshI.H.
References conformalVoronoiMesh::foamyHexMeshControls(), conformalVoronoiMesh::mixedFeaturePointDistance(), and cvControls::pointPairDistanceCoeff().
Referenced by conformalVoronoiMesh::mixedFeaturePointDistance().


|
inline |
Return the local mixed feature point placement distance.
Definition at line 146 of file conformalVoronoiMeshI.H.
References conformalVoronoiMesh::featurePointExclusionDistanceSqr(), conformalVoronoiMesh::foamyHexMeshControls(), cvControls::mixedFeaturePointPPDistanceCoeff(), and conformalVoronoiMesh::pointPairDistance().
Referenced by conformalVoronoiMesh::pointPairDistance().


|
inline |
Return the square of the local feature point exclusion distance.
Definition at line 157 of file conformalVoronoiMeshI.H.
References conformalVoronoiMesh::featureEdgeExclusionDistanceSqr(), conformalVoronoiMesh::foamyHexMeshControls(), and Foam::sqr().
Referenced by conformalVoronoiMesh::mixedFeaturePointDistance().


|
inline |
Return the square of the local feature edge exclusion distance.
Definition at line 171 of file conformalVoronoiMeshI.H.
References conformalVoronoiMesh::foamyHexMeshControls(), Foam::sqr(), and conformalVoronoiMesh::surfacePtExclusionDistanceSqr().
Referenced by conformalVoronoiMesh::featurePointExclusionDistanceSqr().


|
inline |
Return the square of the local surface point exclusion distance.
Definition at line 185 of file conformalVoronoiMeshI.H.
References conformalVoronoiMesh::foamyHexMeshControls(), Foam::sqr(), and conformalVoronoiMesh::surfaceSearchDistanceSqr().
Referenced by conformalVoronoiMesh::featureEdgeExclusionDistanceSqr().


|
inline |
Return the square of the local surface search distance.
Definition at line 199 of file conformalVoronoiMeshI.H.
References conformalVoronoiMesh::foamyHexMeshControls(), conformalVoronoiMesh::maxSurfaceProtrusion(), and Foam::sqr().
Referenced by conformalVoronoiMesh::surfacePtExclusionDistanceSqr().


|
inline |
Return the local maximum surface protrusion distance.
Definition at line 213 of file conformalVoronoiMeshI.H.
References pointPairs< Triangulation >::addPointPair(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::constant::universal::c, Foam::constant::physicoChemical::c1, Foam::constant::physicoChemical::c2, treeBoundBox::contains(), Foam::e, Foam::findIndex(), conformalVoronoiMesh::foamyHexMeshControls(), forAll, conformationSurfaces::globalBounds(), conformationSurfaces::inside(), cvControls::maxSurfaceProtrusionCoeff(), UPstream::myProcNo(), n, CGAL::indexedCellOps::processorsAttached(), Random::scalar01(), List< T >::size(), DelaunayMesh< Delaunay >::vertexCount(), indexedVertexEnum::vtExternalSurface, indexedVertexEnum::vtExternalSurfaceBaffle, indexedVertexEnum::vtInternalSurface, indexedVertexEnum::vtInternalSurfaceBaffle, Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Referenced by conformalVoronoiMesh::surfaceSearchDistanceSqr().


| void createEdgePointGroup | ( | const extendedFeatureEdgeMesh & | feMesh, |
| const pointIndexHit & | edHit, | ||
| DynamicList< Vb > & | pts | ||
| ) | const |
Call the appropriate function to conform to an edge.
|
static |
Write the elapsedCpuTime and memory usage, with an optional.
description
| void timeCheck | ( | const string & | description = string::null | ) | const |
| void writeMesh | ( | const fileName & | instance | ) |
Prepare data and call writeMesh for polyMesh and.
tetDualMesh
| void writeMesh | ( | const word & | meshName, |
| const fileName & | instance, | ||
| pointField & | points, | ||
| labelList & | boundaryPts, | ||
| faceList & | faces, | ||
| labelList & | owner, | ||
| labelList & | neighbour, | ||
| const wordList & | patchNames, | ||
| const PtrList< dictionary > & | patchDicts, | ||
| const pointField & | cellCentres, | ||
| PackedBoolList & | boundaryFacesToRemove | ||
| ) | const |
Write mesh to disk.
| void writeCellSizes | ( | const fvMesh & | mesh | ) | const |
Calculate and write a field of the target cell size,.
target cell volume, actual cell volume and equivalent actual cell size (cbrt(actual cell volume)).
| void writeCellAlignments | ( | const fvMesh & | mesh | ) | const |
| void writeCellCentres | ( | const fvMesh & | mesh | ) | const |
Calculate and write the cell centres.
| labelHashSet findRemainingProtrusionSet | ( | const polyMesh & | mesh | ) | const |
Find the cellSet of the boundary cells which have points that.
protrude out of the surface beyond a tolerance.
|
static |
Definition at line 126 of file conformalVoronoiMesh.H.
1.8.11