A list of faces which address into the list of points. More...
Public Types | |
enum | surfaceTopo { MANIFOLD, OPEN, ILLEGAL } |
Enumeration defining the surface type. Used in check routines. More... | |
typedef Face | FaceType |
typedef FaceList< Face > | FaceListType |
typedef PointField | PointFieldType |
Public Member Functions | |
PrimitivePatch (const FaceList< Face > &faces, const Field< PointType > &points) | |
Construct from components. More... | |
PrimitivePatch (FaceList< Face > &&faces, const Field< PointType > &points) | |
Construct from components, transferring faces. More... | |
PrimitivePatch (FaceList< Face > &faces, Field< PointType > &points, const bool reuse) | |
Construct from components, reuse storage. More... | |
PrimitivePatch (const PrimitivePatch< Face, FaceList, PointField, PointType > &) | |
Construct as copy. More... | |
virtual | ~PrimitivePatch () |
Destructor. More... | |
void | clearOut () |
void | clearGeom () |
void | clearTopology () |
void | clearPatchMeshAddr () |
void | swap (PrimitivePatch &)=delete |
Suppress direct swapping, since storage containers may be const. More... | |
const Field< PointType > & | points () const |
Return reference to global points. More... | |
label | nPoints () const |
Return number of points supporting patch faces. More... | |
label | nEdges () const |
Return number of edges in patch. More... | |
const edgeList & | edges () const |
Return list of edges, address into LOCAL point list. More... | |
label | nInternalEdges () const |
Number of internal edges. More... | |
bool | isInternalEdge (const label edgei) const |
Is internal edge? More... | |
const labelList & | boundaryPoints () const |
Return list of boundary points, address into LOCAL point list. More... | |
const labelListList & | faceFaces () const |
Return face-face addressing. More... | |
const labelListList & | edgeFaces () const |
Return edge-face addressing. More... | |
const labelListList & | faceEdges () const |
Return face-edge addressing. More... | |
const labelListList & | pointEdges () const |
Return point-edge addressing. More... | |
const labelListList & | pointFaces () const |
Return point-face addressing. More... | |
const List< Face > & | localFaces () const |
Return patch faces addressing into local point list. More... | |
const labelList & | meshPoints () const |
Return labelList of mesh points in patch. More... | |
const Map< label > & | meshPointMap () const |
Mesh point map. More... | |
const Field< PointType > & | localPoints () const |
Return pointField of points in patch. More... | |
const labelList & | localPointOrder () const |
Return orders the local points for most efficient search. More... | |
label | whichPoint (const label gp) const |
Given a global point index, return the local point index. More... | |
label | whichEdge (const edge &) const |
labelList | meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const |
labelList | meshEdges (const edgeList &allEdges, const labelListList &pointEdges) const |
const Field< PointType > & | faceCentres () const |
Return face centres for patch. More... | |
const Field< PointType > & | faceAreas () const |
Return face area vectors for patch. More... | |
const Field< scalar > & | magFaceAreas () const |
Return face area magnitudes for patch. More... | |
const Field< PointType > & | faceNormals () const |
Return face unit normals for patch. More... | |
const Field< PointType > & | pointNormals () const |
Return point normals for patch. More... | |
bool | hasFaceAreas () const |
bool | hasFaceCentres () const |
bool | hasFaceNormals () const |
bool | hasPointNormals () const |
template<class ToPatch > | |
List< objectHit > | projectPoints (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
Project vertices of patch onto another patch. More... | |
template<class ToPatch > | |
List< objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
Project vertices of patch onto another patch. More... | |
const labelListList & | edgeLoops () const |
Return list of closed loops of boundary vertices. More... | |
surfaceTopo | surfaceType () const |
Calculate surface type formed by patch. More... | |
bool | checkTopology (const bool report=false, labelHashSet *setPtr=nullptr) const |
Check surface formed by patch for manifoldness (see above). More... | |
bool | checkPointManifold (const bool report=false, labelHashSet *setPtr=nullptr) const |
Checks primitivePatch for faces sharing point but not edge. More... | |
virtual void | movePoints (const Field< PointType > &) |
Correct patch after moving points. More... | |
void | operator= (const PrimitivePatch< Face, FaceList, PointField, PointType > &) |
Assignment. More... | |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectPoints (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
A list of faces which address into the list of points.
The class is templated on the face type (e.g. triangle, polygon etc.) and on the list type of faces and points so that it can refer to existing lists using UList and const pointField& or hold the storage using List and pointField.
Definition at line 90 of file PrimitivePatch.H.
typedef Face FaceType |
Definition at line 100 of file PrimitivePatch.H.
typedef FaceList<Face> FaceListType |
Definition at line 101 of file PrimitivePatch.H.
typedef PointField PointFieldType |
Definition at line 102 of file PrimitivePatch.H.
enum surfaceTopo |
Enumeration defining the surface type. Used in check routines.
Enumerator | |
---|---|
MANIFOLD | |
OPEN | |
ILLEGAL |
Definition at line 108 of file PrimitivePatch.H.
PrimitivePatch | ( | const FaceList< Face > & | faces, |
const Field< PointType > & | points | ||
) |
Construct from components.
Definition at line 41 of file PrimitivePatch.C.
PrimitivePatch | ( | FaceList< Face > && | faces, |
const Field< PointType > & | points | ||
) |
Construct from components, transferring faces.
Definition at line 79 of file PrimitivePatch.C.
PrimitivePatch | ( | FaceList< Face > & | faces, |
Field< PointType > & | points, | ||
const bool | reuse | ||
) |
Construct from components, reuse storage.
Definition at line 117 of file PrimitivePatch.C.
PrimitivePatch | ( | const PrimitivePatch< Face, FaceList, PointField, PointType > & | pp | ) |
Construct as copy.
Definition at line 156 of file PrimitivePatch.C.
|
virtual |
Destructor.
Definition at line 195 of file PrimitivePatch.C.
void clearOut | ( | ) |
Definition at line 130 of file PrimitivePatchClear.C.
Referenced by processorPolyPatch::updateMesh().
void clearGeom | ( | ) |
Definition at line 43 of file PrimitivePatchClear.C.
Referenced by polyPatch::clearGeom(), and polyPatch::updateMesh().
void clearTopology | ( | ) |
Definition at line 68 of file PrimitivePatchClear.C.
Referenced by polyPatch::clearAddressing().
void clearPatchMeshAddr | ( | ) |
Definition at line 108 of file PrimitivePatchClear.C.
Referenced by polyPatch::clearAddressing().
|
delete |
Suppress direct swapping, since storage containers may be const.
|
inline |
Return reference to global points.
Definition at line 300 of file PrimitivePatch.H.
Referenced by booleanSurface::booleanSurface(), Foam::meshTools::calcBoxPointNormals(), addPatchCellLayer::calcExtrudeInfo(), cyclicAMIPolyPatch::calcTransforms(), cyclicPolyPatch::calcTransforms(), triSurfaceTools::curvatures(), distributedTriSurfaceMesh::distribute(), Foam::drawHitProblem(), edgeIntersections::edgeIntersections(), Foam::edgeMeshTools::featureProximity(), patchProbes::findElements(), mappedPatchBase::findSamples(), processorPolyPatch::initOrder(), cyclicPolyPatch::initOrder(), trackingInverseDistance::markBoundaries(), inverseDistance::markBoundaries(), momentOfInertia::massPropertiesPatch(), momentOfInertia::massPropertiesShell(), momentOfInertia::massPropertiesSolid(), offsetSurface::operator()(), triSurface::operator=(), oldCyclicPolyPatch::order(), processorPolyPatch::order(), cyclicPolyPatch::order(), orientedSurface::orientedSurface(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), boundaryMesh::read(), refinementSurfaces::setMinLevelFields(), addPatchCellLayer::setRefinement(), MeshedSurface< Foam::face >::storedPoints(), triSurfaceTools::surfaceNormal(), triSurfaceTools::surfaceSide(), triSurfaceSearch::tree(), triSurfaceTools::validTri(), triSurfaceTools::vertexNormals(), triSurfaceTools::vertexTriads(), and interfaceTrackingFvMesh::writeVTK().
|
inline |
Return number of points supporting patch faces.
Definition at line 311 of file PrimitivePatch.H.
Referenced by booleanSurface::booleanSurface(), Foam::meshTools::calcBoxPointNormals(), ConstantField< Type >::ConstantField(), snappySnapDriver::detectNearSurfaces(), snappySnapDriver::doSnap(), snappySnapDriver::getFacePoints(), triSurfaceTools::greenRefine(), PatchTools::matchPoints(), triSurfaceTools::mergePoints(), globalMeshData::mergePoints(), meshStructure::meshStructure(), fieldSmoother::minSmoothField(), PatchFunction1< scalar >::New(), offsetSurface::offsetSurface(), parseDriver::pointSize(), addPatchCellLayer::setRefinement(), surfaceIntersection::surfaceIntersection(), syncTools::syncPointList(), triSurfaceTools::vertexNormals(), lumpedPointMovement::writeVTP(), and lumpedPointMovement::writeZonesVTP().
|
inline |
Return number of edges in patch.
Definition at line 317 of file PrimitivePatch.H.
Referenced by booleanSurface::booleanSurface(), addPatchCellLayer::calcExtrudeInfo(), triSurfaceTools::collapseEdges(), patchPatchDist::correct(), edgeIntersections::edgeIntersections(), edgeSurface::edgeSurface(), faMesh::faMesh(), triSurfaceTools::greenRefine(), PatchTools::matchEdges(), meshStructure::meshStructure(), polyBoundaryMesh::neighbourEdges(), offsetSurface::offsetSurface(), edgeIntersections::removeDegenerates(), addPatchCellLayer::setRefinement(), surfaceIntersection::surfaceIntersection(), syncTools::syncEdgeList(), faMesh::updateMesh(), and searchableSurfaces::writeStats().
const Foam::edgeList & edges | ( | ) | const |
Return list of edges, address into LOCAL point list.
Definition at line 238 of file PrimitivePatch.C.
Referenced by booleanSurface::booleanSurface(), addPatchCellLayer::calcExtrudeInfo(), snappySnapDriver::calcSnapDistance(), searchableSurfaces::checkIntersection(), triSurfaceTools::collapseEdges(), patchPatchDist::correct(), cyclicPolyPatch::coupledEdges(), edgeSurface::edgeSurface(), triSurfaceTools::getEdge(), combineFaces::getOutsideFace(), triSurfaceTools::getVertexTriangles(), triSurfaceTools::getVertexVertices(), triSurfaceTools::greenRefine(), PatchTools::matchEdges(), triSurfaceTools::maxEdge(), triSurfaceTools::minEdge(), edgeIntersections::minEdgeLength(), fieldSmoother::minSmoothField(), slidingInterface::modifyMotionPoints(), PrimitivePatch< face, ::Foam::List, pointField, point >::nEdges(), polyBoundaryMesh::neighbourEdges(), triSurfaceTools::oppositeEdge(), triSurfaceTools::oppositeVertex(), triSurfaceTools::otherEdges(), perfectInterface::setRefinement(), addPatchCellLayer::setRefinement(), fieldSmoother::smoothPatchNormals(), triSurfaceTools::surfaceSide(), and syncTools::syncEdgeMap().
Foam::label nInternalEdges | ( | ) | const |
Number of internal edges.
Definition at line 258 of file PrimitivePatch.C.
Referenced by patchPatchDist::correct(), faMesh::faMesh(), combineFaces::getOutsideFace(), PrimitivePatch< face, ::Foam::List, pointField, point >::isInternalEdge(), polyBoundaryMesh::neighbourEdges(), addPatchCellLayer::setRefinement(), and faMesh::updateMesh().
Is internal edge?
Definition at line 329 of file PrimitivePatch.H.
const Foam::labelList & boundaryPoints | ( | ) | const |
Return list of boundary points, address into LOCAL point list.
Definition at line 278 of file PrimitivePatch.C.
const Foam::labelListList & faceFaces | ( | ) | const |
Return face-face addressing.
Definition at line 298 of file PrimitivePatch.C.
Referenced by triSurfaceTools::validTri().
const Foam::labelListList & edgeFaces | ( | ) | const |
Return edge-face addressing.
Definition at line 318 of file PrimitivePatch.C.
Referenced by booleanSurface::booleanSurface(), addPatchCellLayer::calcExtrudeInfo(), triSurfaceTools::collapseEdges(), triSurfaceTools::edgeSide(), edgeSurface::edgeSurface(), extendedEdgeMesh::extendedEdgeMesh(), combineFaces::getOutsideFace(), triSurfaceTools::getTriangle(), triSurfaceTools::getVertexTriangles(), addPatchCellLayer::globalEdgeFaces(), triSurfaceTools::greenRefine(), triSurfaceTools::otherFace(), addPatchCellLayer::setRefinement(), surfaceIntersection::surfaceIntersection(), triSurfaceTools::surfaceNormal(), and faMesh::updateMesh().
const Foam::labelListList & faceEdges | ( | ) | const |
Return face-edge addressing.
Definition at line 338 of file PrimitivePatch.C.
Referenced by cyclicPolyPatch::coupledEdges(), combineFaces::getOutsideFace(), triSurfaceTools::getTriangle(), intersectedSurface::intersectedSurface(), triSurfaceTools::oppositeEdge(), triSurfaceTools::otherEdges(), addPatchCellLayer::setRefinement(), triSurfaceTools::surfaceNormal(), and triSurfaceTools::surfaceSide().
const Foam::labelListList & pointEdges | ( | ) | const |
Return point-edge addressing.
Definition at line 358 of file PrimitivePatch.C.
Referenced by snappySnapDriver::calcSnapDistance(), triSurfaceTools::getEdge(), triSurfaceTools::getVertexVertices(), edgeIntersections::minEdgeLength(), and triSurfaceTools::surfaceSide().
const Foam::labelListList & pointFaces | ( | ) | const |
Return point-face addressing.
Definition at line 378 of file PrimitivePatch.C.
Referenced by snappySnapDriver::avgCellCentres(), Foam::meshTools::calcBoxPointNormals(), triSurfaceTools::getVertexTriangles(), oldCyclicPolyPatch::order(), and triSurfaceTools::vertexNormals().
const Foam::List< Face > & localFaces | ( | ) | const |
Return patch faces addressing into local point list.
Definition at line 398 of file PrimitivePatch.C.
Referenced by mappedPatchBase::calcAMI(), triSurfaceTools::collapseEdges(), geometryPatches::gatherPatchPieces(), combineFaces::getOutsideFace(), triSurfaceTools::greenRefine(), processorPolyPatch::initOrder(), intersectedSurface::intersectedSurface(), triSurfaceTools::mergePoints(), triSurfaceTools::oppositeVertex(), oldCyclicPolyPatch::order(), processorPolyPatch::order(), triSurfaceTools::otherEdges(), triSurfaceTools::otherVertices(), boundaryMesh::readTriSurface(), snappySnapDriver::repatchToSurface(), cyclicAMIPolyPatch::resetAMI(), addPatchCellLayer::setRefinement(), triSurfaceTools::surfaceNormal(), triSurfaceTools::surfaceSide(), triSurfaceTools::triangulateFaceCentre(), sampledPatch::update(), ensightMesh::write(), and AMIWeights::writeWeightField().
const Foam::labelList & meshPoints | ( | ) | const |
Return labelList of mesh points in patch.
They are constructed by walking through the faces in incremental order and not sorted anymore.
Definition at line 418 of file PrimitivePatch.C.
Referenced by snappySnapDriver::avgCellCentres(), Foam::meshTools::calcBoxPointNormals(), addPatchCellLayer::calcExtrudeInfo(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), patchPatchDist::correct(), cyclicPolyPatch::coupledEdges(), triSurfaceTools::curvatures(), snappySnapDriver::detectNearSurfaces(), mappedPatchBase::findSamples(), combineFaces::getOutsideFace(), globalIndexAndTransform::globalIndexAndTransform(), globalPoints::globalPoints(), localPointRegion::localPointRegion(), processorFaPatch::makeNonGlobalPatchPoints(), PatchTools::matchEdges(), PatchTools::matchPoints(), globalMeshData::mergePoints(), facePointPatch::meshPoints(), fieldSmoother::minSmoothField(), polyBoundaryMesh::neighbourEdges(), PrimitivePatch< face, ::Foam::List, pointField, point >::nPoints(), orientedSurface::orientedSurface(), motionSmootherAlgo::setDisplacement(), perfectInterface::setRefinement(), addPatchCellLayer::setRefinement(), snappySnapDriver::smoothDisplacement(), fieldSmoother::smoothPatchNormals(), syncTools::syncEdgeMap(), globalMeshData::syncPointData(), syncTools::syncPointList(), syncTools::syncPointMap(), pointConstraints::syncUntransformedData(), triSurfaceTools::vertexNormals(), ensightMesh::write(), lumpedPointMovement::writeVTP(), and AMIWeights::writeWeightField().
const Foam::Map< Foam::label > & meshPointMap | ( | ) | const |
Mesh point map.
Given the global point index find its location in the patch
Definition at line 438 of file PrimitivePatch.C.
Referenced by triSurfaceTools::curvatures(), snappySnapDriver::getFacePoints(), globalPoints::globalPoints(), PatchTools::matchPoints(), globalMeshData::mergePoints(), PatchTools::pointNormals(), syncTools::syncPointList(), triSurfaceTools::vertexTriads(), ensightMesh::write(), and AMIWeights::writeWeightField().
const Foam::Field< PointType > & localPoints | ( | ) | const |
Return pointField of points in patch.
Definition at line 458 of file PrimitivePatch.C.
Referenced by booleanSurface::booleanSurface(), mappedPatchBase::calcAMI(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), searchableSurfaces::checkIntersection(), triSurfaceTools::collapseEdges(), patchPatchDist::correct(), cyclicPolyPatch::coupledEdges(), snappySnapDriver::detectNearSurfaces(), edgeSurface::edgeSurface(), geometryPatches::gatherPatchPieces(), triSurfaceTools::greenRefine(), processorPolyPatch::initOrder(), facePointPatch::localPoints(), triSurfaceTools::maxEdge(), triSurfaceTools::mergePoints(), triSurfaceTools::minEdge(), edgeIntersections::minEdgeLength(), slidingInterface::modifyMotionPoints(), polyBoundaryMesh::neighbourEdges(), processorPolyPatch::order(), boundaryMesh::readTriSurface(), perfectInterface::setRefinement(), addPatchCellLayer::setRefinement(), snappySnapDriver::smoothDisplacement(), triSurfaceTools::surfaceSide(), triSurfaceTools::triangulateFaceCentre(), sampledPatch::update(), triSurfaceTools::writeOBJ(), and lumpedPointMovement::writeZonesVTP().
const Foam::labelList & localPointOrder | ( | ) | const |
Return orders the local points for most efficient search.
Definition at line 478 of file PrimitivePatch.C.
Foam::label whichPoint | ( | const label | gp | ) | const |
Given a global point index, return the local point index.
If the point is not found, return -1
Definition at line 499 of file PrimitivePatch.C.
Referenced by slidingInterface::modifyMotionPoints().
Foam::label whichEdge | ( | const edge & | e | ) | const |
Given an edge in local point labels, return its index in the edge list. If the edge is not found, return -1
Definition at line 177 of file PrimitivePatchMeshEdges.C.
Referenced by slidingInterface::modifyMotionPoints().
Foam::labelList meshEdges | ( | const edgeList & | allEdges, |
const labelListList & | cellEdges, | ||
const labelList & | faceCells | ||
) | const |
Return labels of patch edges in the global edge list using cell addressing
Definition at line 43 of file PrimitivePatchMeshEdges.C.
Referenced by addPatchCellLayer::calcExtrudeInfo(), addPatchCellLayer::globalEdgeFaces(), polyPatch::meshEdges(), and addPatchCellLayer::setRefinement().
Foam::labelList meshEdges | ( | const edgeList & | allEdges, |
const labelListList & | pointEdges | ||
) | const |
Return labels of patch edges in the global edge list using basic edge addressing.
Definition at line 120 of file PrimitivePatchMeshEdges.C.
const Foam::Field< PointType > & faceCentres | ( | ) | const |
Return face centres for patch.
Definition at line 517 of file PrimitivePatch.C.
Referenced by symmetryPlanePolyPatch::calcGeometry(), wedgePolyPatch::calcGeometry(), MeshedSurface< Foam::face >::Cf(), triSurfaceMesh::coordinates(), surface::gatherFaceCentres(), processorPolyPatch::initOrder(), processorPolyPatch::order(), triSurfaceTools::writeCloseness(), and boundaryDataWriter::writeTemplate().
const Foam::Field< PointType > & faceAreas | ( | ) | const |
Return face area vectors for patch.
Definition at line 537 of file PrimitivePatch.C.
Referenced by cyclicACMIPolyPatch::resetAMI(), and MeshedSurface< Foam::face >::Sf().
const Foam::Field< Foam::scalar > & magFaceAreas | ( | ) | const |
Return face area magnitudes for patch.
Definition at line 557 of file PrimitivePatch.C.
Referenced by MeshedSurface< Foam::face >::magSf().
const Foam::Field< PointType > & faceNormals | ( | ) | const |
Return face unit normals for patch.
Definition at line 577 of file PrimitivePatch.C.
Referenced by ThermoSurfaceFilm< CloudType >::absorbInteraction(), ThermoSurfaceFilm< CloudType >::bounceInteraction(), Foam::meshTools::calcBoxPointNormals(), symmetryPlanePolyPatch::calcGeometry(), wedgePolyPatch::calcGeometry(), directions::directions(), ThermoSurfaceFilm< CloudType >::drySplashInteraction(), triSurfaceTools::edgeSide(), processorPolyPatch::initOrder(), intersectedSurface::intersectedSurface(), regionModel1D::moveMesh(), processorPolyPatch::order(), removeFaces::setRefinement(), ThermoSurfaceFilm< CloudType >::splashInteraction(), triSurfaceTools::surfaceNormal(), triSurfaceTools::surfaceSide(), wallLayerCells::wallLayerCells(), ThermoSurfaceFilm< CloudType >::wetSplashInteraction(), and triSurfaceTools::writeCloseness().
const Foam::Field< PointType > & pointNormals | ( | ) | const |
Return point normals for patch.
Definition at line 597 of file PrimitivePatch.C.
Referenced by Foam::meshTools::calcBoxPointNormals(), slidingInterface::modifyMotionPoints(), facePointPatch::pointNormals(), and triSurfaceTools::surfaceNormal().
|
inline |
Definition at line 416 of file PrimitivePatch.H.
|
inline |
Definition at line 417 of file PrimitivePatch.H.
|
inline |
Definition at line 418 of file PrimitivePatch.H.
|
inline |
Definition at line 419 of file PrimitivePatch.H.
List<objectHit> projectPoints | ( | const ToPatch & | targetPatch, |
const Field< PointType > & | projectionDirection, | ||
const intersection::algorithm | = intersection::FULL_RAY , |
||
const intersection::direction | = intersection::VECTOR |
||
) | const |
Project vertices of patch onto another patch.
List<objectHit> projectFaceCentres | ( | const ToPatch & | targetPatch, |
const Field< PointType > & | projectionDirection, | ||
const intersection::algorithm | = intersection::FULL_RAY , |
||
const intersection::direction | = intersection::VECTOR |
||
) | const |
Project vertices of patch onto another patch.
const Foam::labelListList & edgeLoops | ( | ) | const |
Return list of closed loops of boundary vertices.
Edge loops are given as ordered lists of vertices in local addressing
Definition at line 168 of file PrimitivePatchEdgeLoops.C.
Referenced by combineFaces::getOutsideFace().
Foam::PrimitivePatch< Face, FaceList, PointField, PointType >::surfaceTopo surfaceType | ( | ) | const |
Calculate surface type formed by patch.
Types:
Definition at line 122 of file PrimitivePatchCheck.C.
bool checkTopology | ( | const bool | report = false , |
labelHashSet * | setPtr = nullptr |
||
) | const |
Check surface formed by patch for manifoldness (see above).
Return true if any incorrect edges are found. Insert vertices of incorrect edges into set.
Definition at line 170 of file PrimitivePatchCheck.C.
bool checkPointManifold | ( | const bool | report = false , |
labelHashSet * | setPtr = nullptr |
||
) | const |
Checks primitivePatch for faces sharing point but not edge.
This denotes a surface that is pinched at a single point (test for pinched at single edge is already in PrimitivePatch) Returns true if this situation found and puts conflicting (mesh)point in set. Based on all the checking routines in primitiveMesh.
Definition at line 230 of file PrimitivePatchCheck.C.
|
virtual |
Correct patch after moving points.
Definition at line 213 of file PrimitivePatch.C.
Referenced by cyclicAMIPolyPatch::initMovePoints(), and polyPatch::movePoints().
void operator= | ( | const PrimitivePatch< Face, FaceList, PointField, PointType > & | pp | ) |
Assignment.
Definition at line 620 of file PrimitivePatch.C.
Referenced by polyPatch::operator=().
Foam::List<Foam::objectHit> projectPoints | ( | const ToPatch & | targetPatch, |
const Field< PointType > & | projectionDirection, | ||
const intersection::algorithm | alg, | ||
const intersection::direction | dir | ||
) | const |
Definition at line 50 of file PrimitivePatchProjectPoints.C.
Foam::List<Foam::objectHit> projectFaceCentres | ( | const ToPatch & | targetPatch, |
const Field< PointType > & | projectionDirection, | ||
const intersection::algorithm | alg, | ||
const intersection::direction | dir | ||
) | const |
Definition at line 293 of file PrimitivePatchProjectPoints.C.