|
| ClassName ("conformalVoronoiMesh") |
| Runtime type information. More...
|
|
| conformalVoronoiMesh (const Time &runTime, const dictionary &foamyHexMeshDict, const fileName &decompDictFile="") |
| 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...
|
|
| 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...
|
|
| 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...
|
|
|
scalar | defaultCellSize () const |
|
scalar | targetCellSize (const Foam::point &pt) const |
| Return the local target cell size at the given location. Takes. More...
|
|
scalar | averageAnyCellSize (const Vertex_handle &vA, const Vertex_handle &vB) const |
| Return the target cell size from that stored on a pair of. More...
|
|
scalar | averageAnyCellSize (const Delaunay::Finite_facets_iterator &fit) const |
| The average target cell size of a Delaunay facet, i.e., of. More...
|
|
void | insertInternalPoints (List< Point > &points, const bool distribute=false) |
| Insert Delaunay vertices using the CGAL range insertion method,. More...
|
|
Map< label > | insertPointPairs (List< Vb > &vertices, bool distribute, bool reIndex) |
|
void | createPointPair (const scalar ppDist, const Foam::point &surfPt, const vector &n, const bool ptPair, DynamicList< Vb > &pts) const |
| Create a point-pair at a ppDist distance either side of. More...
|
|
Foam::point | perturbPoint (const Foam::point &pt) const |
|
void | createBafflePointPair (const scalar ppDist, const Foam::point &surfPt, const vector &n, const bool ptPair, DynamicList< Vb > &pts) const |
| Create a point-pair at a ppDist distance either side of. More...
|
|
bool | internalPointIsInside (const Foam::point &pt) const |
| Check internal point is completely inside the meshable region. More...
|
|
void | insertSurfacePointPairs (const pointIndexHitAndFeatureList &surfaceHits, const fileName fName, DynamicList< Vb > &pts) |
| Insert pairs of points on the surface with the given normals, at the. More...
|
|
void | insertEdgePointGroups (const pointIndexHitAndFeatureList &edgeHits, const fileName fName, DynamicList< Vb > &pts) |
| Insert groups of points to conform to an edge given a list of. More...
|
|
void | createEdgePointGroupByCirculating (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
|
bool | meshableRegion (const plane::side side, const extendedFeatureEdgeMesh::sideVolumeType volType) const |
|
bool | regionIsInside (const extendedFeatureEdgeMesh::sideVolumeType volTypeA, const vector &normalA, const extendedFeatureEdgeMesh::sideVolumeType volTypeB, const vector &normalB, const vector &masterPtVec) const |
|
void | createExternalEdgePointGroup (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
| Create points to conform to an external edge. More...
|
|
void | createInternalEdgePointGroup (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
| Create points to conform to an internal edge. More...
|
|
void | createFlatEdgePointGroup (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
| Create points to conform to a flat edge. More...
|
|
void | createOpenEdgePointGroup (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
| Create points to conform to an open edge. More...
|
|
void | createMultipleEdgePointGroup (const extendedFeatureEdgeMesh &feMesh, const pointIndexHit &edHit, DynamicList< Vb > &pts) const |
| Create points to conform to multiply connected edge. More...
|
|
void | insertFeaturePoints (bool distribute=false) |
| Determine and insert point groups at the feature points. More...
|
|
bool | nearFeaturePt (const Foam::point &pt) const |
| Check if a location is in exclusion range around a feature point. More...
|
|
bool | surfacePtNearFeatureEdge (const Foam::point &pt) const |
| Check if a surface point is in exclusion range around a feature edge. More...
|
|
void | insertInitialPoints () |
| Insert the initial points into the triangulation, based on the. More...
|
|
template<class Triangulation > |
bool | distributeBackground (const Triangulation &mesh) |
| In parallel redistribute the backgroundMeshDecomposition and. More...
|
|
void | cellSizeMeshOverlapsBackground () const |
|
void | distribute () |
|
void | buildCellSizeAndAlignmentMesh () |
|
void | setVertexSizeAndAlignment () |
| Set the size and alignment data for each vertex. More...
|
|
face | buildDualFace (const Delaunay::Finite_edges_iterator &eit) const |
| Builds a dual face by circulating around the supplied edge. More...
|
|
boolList | dualFaceBoundaryPoints (const Delaunay::Finite_edges_iterator &eit) const |
|
label | maxFilterCount (const Delaunay::Finite_edges_iterator &eit) const |
| Finds the maximum filterCount of the dual vertices. More...
|
|
bool | ownerAndNeighbour (Vertex_handle vA, Vertex_handle vB, label &owner, label &neighbour) const |
| Determines the owner and neighbour labels for dual cells. More...
|
|
void | conformToSurface () |
| Insert the necessary point pairs to conform to the surface, either. More...
|
|
bool | reconformToSurface () const |
| Decision making function for when to rebuild the surface. More...
|
|
label | findVerticesNearBoundaries () |
| Determines geometrically whether a vertex is close to a surface. More...
|
|
void | buildSurfaceConformation () |
| Create and insert the necessary point pairs to conform to the. More...
|
|
label | synchroniseEdgeTrees (const DynamicList< label > &edgeToTreeShape, pointIndexHitAndFeatureList &featureEdgeHits) |
|
label | synchroniseSurfaceTrees (const DynamicList< label > &surfaceToTreeShape, pointIndexHitAndFeatureList &surfaceHits) |
|
bool | surfaceLocationConformsToInside (const pointIndexHitAndFeature &info) const |
|
bool | dualCellSurfaceAnyIntersection (const Delaunay::Finite_vertices_iterator &vit) const |
| Check to see if dual cell specified by given vertex iterator. More...
|
|
bool | dualCellSurfaceAllIntersections (const Delaunay::Finite_vertices_iterator &vit, pointIndexHitAndFeatureDynList &info) const |
| Return all intersections. More...
|
|
bool | clipLineToProc (const Foam::point &pt, Foam::point &a, Foam::point &b) const |
| Return false if the line is entirely outside the current processor. More...
|
|
void | dualCellLargestSurfaceProtrusion (const Delaunay::Finite_vertices_iterator &vit, pointIndexHit &surfHit, label &hitSurface) const |
| Find the "worst" protrusion of a dual cell through the surface,. More...
|
|
void | dualCellLargestSurfaceIncursion (const Delaunay::Finite_vertices_iterator &vit, pointIndexHit &surfHit, label &hitSurface) const |
|
void | reportProcessorOccupancy () |
| Write out vertex-processor occupancy information for debugging. More...
|
|
void | limitDisplacement (const Delaunay::Finite_vertices_iterator &vit, vector &displacement, label callCount=0) const |
| Write out debugging information about the surface conformation. More...
|
|
scalar | angleBetweenSurfacePoints (Foam::point pA, Foam::point pB) const |
| Find angle between the normals of two close surface points. More...
|
|
bool | nearSurfacePoint (pointIndexHitAndFeature &pHit) const |
| Check if a surface point is near another. More...
|
|
bool | appendToSurfacePtTree (const Foam::point &pt) const |
| Append a point to the surface point tree and the existing list. More...
|
|
bool | appendToEdgeLocationTree (const Foam::point &pt) const |
| Append a point to the edge location tree and the existing list. More...
|
|
List< pointIndexHit > | nearestFeatureEdgeLocations (const Foam::point &pt) const |
| Return a list of the nearest feature edge locations. More...
|
|
bool | pointIsNearFeatureEdgeLocation (const Foam::point &pt) const |
| Check if a point is near any feature edge points. More...
|
|
bool | pointIsNearFeatureEdgeLocation (const Foam::point &pt, pointIndexHit &info) const |
|
bool | pointIsNearSurfaceLocation (const Foam::point &pt) const |
| Check if a point is near any surface conformation points. More...
|
|
bool | pointIsNearSurfaceLocation (const Foam::point &pt, pointIndexHit &info) const |
|
bool | nearFeatureEdgeLocation (const pointIndexHit &pHit, pointIndexHit &nearestEdgeHit) const |
| Check if a location is in the exclusion range of an existing feature. More...
|
|
void | buildEdgeLocationTree (const DynamicList< Foam::point > &existingEdgeLocations) const |
| Build or rebuild the edge location tree. More...
|
|
void | buildSurfacePtLocationTree (const DynamicList< Foam::point > &existingSurfacePtLocations) const |
| Build or rebuild the surface point location tree. More...
|
|
void | addSurfaceAndEdgeHits (const Foam::point &vit, const pointIndexHitAndFeatureDynList &surfaceIntersections, scalar surfacePtReplaceDistCoeffSqr, scalar edgeSearchDistCoeffSqr, pointIndexHitAndFeatureDynList &surfaceHits, pointIndexHitAndFeatureDynList &featureEdgeHits, DynamicList< label > &surfaceToTreeShape, DynamicList< label > &edgeToTreeShape, Map< scalar > &surfacePtToEdgePtDist, bool firstPass) const |
| Process the surface conformation locations to decide which surface. More...
|
|
void | storeSurfaceConformation () |
| Store the surface conformation with the indices offset to be. More...
|
|
void | reinsertSurfaceConformation () |
| Reinsert the surface conformation re-offsetting indices to be. More...
|
|
void | checkCells () |
|
void | checkDuals () |
|
void | checkVertices () |
|
void | checkCoPlanarCells () const |
|
void | calcDualMesh (pointField &points, labelList &boundaryPts, faceList &faces, labelList &owner, labelList &neighbour, wordList &patchNames, PtrList< dictionary > &patchDicts, pointField &cellCentres, labelList &cellToDelaunayVertex, labelListList &patchToDelaunayVertex, PackedBoolList &boundaryFacesToRemove) |
| Dual calculation. More...
|
|
void | calcNeighbourCellCentres (const polyMesh &mesh, const pointField &cellCentres, pointField &neiCc) const |
|
void | selectSeparatedCoupledFaces (const polyMesh &mesh, boolList &selected) const |
|
void | findCellZoneInsideWalk (const polyMesh &mesh, const labelList &locationSurfaces, const labelList &faceToSurface, labelList &cellToSurface) const |
| From meshRefinementBaffles.C. Use insidePoint for a surface to. More...
|
|
labelList | calcCellZones (const pointField &cellCentres) const |
| Calculate the cell zones from cellCentres using all closed surfaces. More...
|
|
void | calcFaceZones (const polyMesh &mesh, const pointField &cellCentres, const labelList &cellToSurface, labelList &faceToSurface, boolList &flipMap) const |
| Calculate the face zones. More...
|
|
void | addZones (polyMesh &mesh, const pointField &cellCentres) const |
| Add zones to the polyMesh. More...
|
|
void | calcTetMesh (pointField &points, labelList &pointToDelaunayVertex, faceList &faces, labelList &owner, labelList &neighbour, wordList &patchNames, PtrList< dictionary > &patchDicts) |
| Tet mesh calculation. More...
|
|
bool | isBoundaryDualFace (const Delaunay::Finite_edges_iterator &eit) const |
| Determines if the dual face constructed by the Delaunay. More...
|
|
List< label > | processorsAttached (const Delaunay::Finite_facets_iterator &fit) const |
| Which processors are attached to the dual edge represented by this. More...
|
|
bool | isParallelDualEdge (const Delaunay::Finite_facets_iterator &fit) const |
| Determines if the edge constructed from the face is on. More...
|
|
bool | isProcBoundaryEdge (const Delaunay::Finite_edges_iterator &eit) const |
| Determines if the dual face constructed by the Delaunay. More...
|
|
void | mergeIdenticalDualVertices (const pointField &pts, labelList &boundaryPts) |
| Merge vertices that are identical. More...
|
|
label | mergeIdenticalDualVertices (const pointField &pts, Map< label > &dualPtIndexMap) const |
|
void | deferredCollapseFaceSet (labelList &owner, labelList &neighbour, const HashSet< labelPair, labelPair::Hash<> > &deferredCollapseFaces) const |
| Identify the face labels of the deferred collapse faces. More...
|
|
void | checkCellSizing () |
| Check whether the cell sizes are fine enough. Creates a polyMesh. More...
|
|
labelHashSet | findOffsetPatchFaces (const polyMesh &mesh, const scalar allowedOffset) const |
| Find all cells with a patch face that is not near the surface. The. More...
|
|
labelHashSet | checkPolyMeshQuality (const pointField &pts) const |
| Create a polyMesh and check its quality, reports which. More...
|
|
label | classifyBoundaryPoint (Cell_handle cit) const |
|
void | indexDualVertices (pointField &pts, labelList &boundaryPts) |
| Index all of the the Delaunay cells and calculate their dual points. More...
|
|
void | reindexDualVertices (const Map< label > &dualPtIndexMap, labelList &boundaryPts) |
| Re-index all of the Delaunay cells. More...
|
|
label | createPatchInfo (wordList &patchNames, PtrList< dictionary > &patchDicts) const |
|
vector | calcSharedPatchNormal (Cell_handle c1, Cell_handle c2) const |
|
bool | boundaryDualFace (Cell_handle c1, Cell_handle c2) const |
|
void | createFacesOwnerNeighbourAndPatches (const pointField &pts, faceList &faces, labelList &owner, labelList &neighbour, wordList &patchNames, PtrList< dictionary > &patchDicts, labelListList &patchPointPairSlaves, PackedBoolList &boundaryFacesToRemove, bool includeEmptyPatches=false) const |
| Create all of the internal and boundary faces. More...
|
|
void | sortFaces (faceList &faces, labelList &owner, labelList &neighbour) const |
| Sort the faces, owner and neighbour lists into. More...
|
|
void | sortProcPatches (List< DynamicList< face > > &patchFaces, List< DynamicList< label > > &patchOwners, List< DynamicList< label > > &patchPointPairSlaves, labelPairPairDynListList &patchSortingIndices) const |
| Sort the processor patches so that the faces are in the same order. More...
|
|
void | addPatches (const label nInternalFaces, faceList &faces, labelList &owner, PtrList< dictionary > &patchDicts, PackedBoolList &boundaryFacesToRemove, const List< DynamicList< face > > &patchFaces, const List< DynamicList< label > > &patchOwners, const List< DynamicList< bool > > &indirectPatchFace) const |
| Add the faces and owner information for the patches. More...
|
|
void | removeUnusedPoints (faceList &faces, pointField &pts, labelList &boundaryPts) const |
| Remove points that are no longer used by any faces. More...
|
|
labelList | removeUnusedCells (labelList &owner, labelList &neighbour) const |
| Remove dual cells that are not used by any faces. Return compaction. More...
|
|
autoPtr< fvMesh > | createDummyMesh (const IOobject &io, const wordList &patchNames, const PtrList< dictionary > &patchDicts) const |
| Create an empty fvMesh. More...
|
|
autoPtr< polyMesh > | createPolyMeshFromPoints (const pointField &pts) const |
| Create a polyMesh from points. More...
|
|
void | checkProcessorPatchesMatch (const PtrList< dictionary > &patchDicts) const |
|
void | reorderPoints (pointField &points, labelList &boundaryPts, faceList &faces, const label nInternalFaces) const |
|
void | reorderProcessorPatches (const word &meshName, const fileName &instance, const pointField &points, faceList &faces, const wordList &patchNames, const PtrList< dictionary > &patchDicts) const |
| Rotate the faces on processor patches if necessary. More...
|
|
void | writePointPairs (const fileName &fName) const |
|
| conformalVoronoiMesh (const conformalVoronoiMesh &) |
| Disallow default bitwise copy construct. More...
|
|
void | operator= (const conformalVoronoiMesh &) |
| Disallow default bitwise assignment. More...
|
|