Public Member Functions | |
triSurfFacets () | |
Null constructor. More... | |
triSurfFacets (const LongList< labelledTri > &triangles) | |
Construct from components without the boundary. More... | |
triSurfFacets (const LongList< labelledTri > &triangles, const geometricSurfacePatchList &patches) | |
Construct from components. More... | |
~triSurfFacets () | |
label | size () const |
return the number of triangles More... | |
const LongList< labelledTri > & | facets () const |
access to facets More... | |
const geometricSurfacePatchList & | patches () const |
access to patches More... | |
wordList | patchNames () const |
return list of patches in the boundary More... | |
labelList | findPatches (const word &patchName) const |
return a list of patch indices corresponding to the given More... | |
void | appendTriangle (const labelledTri &tria) |
append a triangle to the end of the list More... | |
label | addFacetSubset (const word &) |
point subsets More... | |
void | removeFacetSubset (const label) |
word | facetSubsetName (const label) const |
label | facetSubsetIndex (const word &) const |
void | addFacetToSubset (const label, const label) |
void | removeFacetFromSubset (const label, const label) |
void | facetInSubsets (const label, DynList< label > &) const |
void | facetSubsetIndices (DynList< label > &) const |
template<class ListType > | |
void | facetsInSubset (const label, ListType &) const |
template<class ListType > | |
void | updateFacetsSubsets (const ListType &) |
const labelledTri & | operator[] (const label) const |
access to a triangle More... | |
Protected Member Functions | |
void | operator= (const triSurfFacets &) |
triSurfFacets (const triSurfFacets &) | |
Protected Attributes | |
LongList< labelledTri > | triangles_ |
list of triangles More... | |
geometricSurfacePatchList | patches_ |
list of boundary patches and their properties More... | |
Map< meshSubset > | facetSubsets_ |
map of point subsets More... | |
Definition at line 52 of file triSurfFacets.H.
|
protected |
triSurfFacets | ( | ) |
Null constructor.
Definition at line 39 of file triSurfFacets.C.
triSurfFacets | ( | const LongList< labelledTri > & | triangles | ) |
Construct from components without the boundary.
Definition at line 46 of file triSurfFacets.C.
References forAll, triSurfFacets::patches_, and triSurfFacets::triangles_.
triSurfFacets | ( | const LongList< labelledTri > & | triangles, |
const geometricSurfacePatchList & | patches | ||
) |
Construct from components.
Definition at line 59 of file triSurfFacets.C.
~triSurfFacets | ( | ) |
Definition at line 71 of file triSurfFacets.C.
|
protected |
|
inline |
return the number of triangles
Definition at line 39 of file triSurfFacetsI.H.
References triSurfFacets::triangles_.
Referenced by triSurfaceImportSurfaceAsSubset::addSurfaceAsSubset(), triSurfaceCurvatureEstimator::calculateSurfaceCurvatures(), Foam::triSurfaceChecks::checkDisconnectedParts(), triSurfaceCleanupDuplicateTriangles::checkDuplicateTriangles(), triSurfaceCleanupDuplicates::checkDuplicateTriangles(), triSurfaceClassifyEdges::checkOrientation(), Foam::triSurfaceChecks::checkOrientation(), Foam::triSurfaceChecks::checkOverlaps(), Foam::triSurfaceChecks::checkSelfIntersections(), triSurfaceCopyParts::copySurface(), meshOctree::createInitialOctreeBox(), triSurfacePatchManipulator::createPatches(), meshOctreeAddressing::findUsedBoxes(), main(), triSurfaceRemoveFacets::markFacetsForRemoval(), triSurfaceCleanupDuplicates::mergeDuplicatePoints(), triSurfaceCleanupDuplicates::mergeIdentities(), triSurfaceRemoveFacets::removeFacets(), Foam::writeSurfaceToVTK(), and triSurf::writeToFMS().
|
inline |
access to facets
Definition at line 44 of file triSurfFacetsI.H.
References triSurfFacets::triangles_.
Referenced by Foam::triSurfaceChecks::checkOrientation(), triSurfaceMetaData::createMetaData(), triSurfModifier::facetsAccess(), main(), makePatchFromSubset(), triSurfaceCleanupDuplicates::mergeDuplicatePoints(), mergeSurfacePatches(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), triSurf::topologyCheck(), partTriMesh::triangles(), and triSurf::writeSurface().
|
inline |
access to patches
Definition at line 49 of file triSurfFacetsI.H.
References triSurfFacets::patches_.
Referenced by triSurfaceMetaData::createMetaData(), meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), meshOctreeAddressing::findUsedBoxes(), getPatchIds(), main(), makePatchFromSubset(), triSurfaceRemoveFacets::markFacetsForRemoval(), mergeSurfacePatches(), surfaceMeshGeometryModification::modifyGeometry(), triSurfModifier::patchesAccess(), patchRefinement::patchInSurface(), surfaceMeshGeometryModification::revertGeometryModification(), edgeExtractor::surfaceWithPatches(), and triSurf::writeSurface().
wordList patchNames | ( | ) | const |
return list of patches in the boundary
Definition at line 76 of file triSurfFacets.C.
References forAll, triSurfFacets::patches_, and List::size().
Referenced by triSurfFacets::findPatches().
return a list of patch indices corresponding to the given
name, expanding regular expressions
Definition at line 88 of file triSurfFacets.C.
References Foam::endl(), Foam::findStrings(), triSurfFacets::patchNames(), and WarningIn.
Referenced by meshOctreeAddressing::findUsedBoxes().
|
inline |
append a triangle to the end of the list
Definition at line 54 of file triSurfFacetsI.H.
References triSurfFacets::triangles_.
Referenced by Foam::triSurfaceChecks::checkOverlaps(), partTriMesh::createBufferLayers(), and edgeExtractor::surfaceWithPatches().
point subsets
Definition at line 105 of file triSurfFacets.C.
References Foam::endl(), meshSubset::FACESUBSET, triSurfFacets::facetSubsetIndex(), triSurfFacets::facetSubsets_, forAllConstIter(), Foam::max(), and Foam::Warning.
Referenced by Foam::triSurfaceChecks::checkAngles(), Foam::triSurfaceChecks::checkDisconnectedParts(), Foam::triSurfaceChecks::checkForHoles(), Foam::triSurfaceChecks::checkForNonManifoldEdges(), Foam::triSurfaceChecks::checkOrientation(), Foam::triSurfaceChecks::checkOverlaps(), Foam::triSurfaceChecks::checkSelfIntersections(), Foam::triSurfaceChecks::checkSurfaceManifolds(), copyFaceSubsets(), triSurface2DCheck::createSubsets(), main(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and triSurfacePatchManipulator::surfaceWithPatches().
void removeFacetSubset | ( | const label | subsetID | ) |
Definition at line 127 of file triSurfFacets.C.
References triSurfFacets::facetSubsets_.
Referenced by Foam::triSurfaceChecks::checkAngles(), Foam::triSurfaceChecks::checkDisconnectedParts(), Foam::triSurfaceChecks::checkForHoles(), Foam::triSurfaceChecks::checkForNonManifoldEdges(), Foam::triSurfaceChecks::checkOrientation(), Foam::triSurfaceChecks::checkOverlaps(), Foam::triSurfaceChecks::checkSelfIntersections(), Foam::triSurfaceChecks::checkSurfaceManifolds(), and makePatchFromSubset().
Definition at line 135 of file triSurfFacets.C.
References Foam::endl(), triSurfFacets::facetSubsets_, and Foam::Warning.
Referenced by copyFaceSubsets(), triSurfaceMetaData::createMetaData(), main(), triSurfaceRemoveFacets::markFacetsForRemoval(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and triSurf::topologyCheck().
Definition at line 147 of file triSurfFacets.C.
References triSurfFacets::facetSubsets_, forAllConstIter(), and Foam::name().
Referenced by triSurfFacets::addFacetSubset(), Foam::triSurfaceChecks::checkAngles(), Foam::triSurfaceChecks::checkDisconnectedParts(), Foam::triSurfaceChecks::checkForHoles(), Foam::triSurfaceChecks::checkForNonManifoldEdges(), Foam::triSurfaceChecks::checkOrientation(), Foam::triSurfaceChecks::checkOverlaps(), Foam::triSurfaceChecks::checkSelfIntersections(), Foam::triSurfaceChecks::checkSurfaceManifolds(), meshOctreeAddressing::findUsedBoxes(), main(), and makePatchFromSubset().
Definition at line 60 of file triSurfFacetsI.H.
Referenced by Foam::triSurfaceChecks::checkAngles(), Foam::triSurfaceChecks::checkDisconnectedParts(), Foam::triSurfaceChecks::checkForHoles(), Foam::triSurfaceChecks::checkForNonManifoldEdges(), Foam::triSurfaceChecks::checkOrientation(), Foam::triSurfaceChecks::checkOverlaps(), Foam::triSurfaceChecks::checkSelfIntersections(), Foam::triSurfaceChecks::checkSurfaceManifolds(), copyFaceSubsets(), triSurface2DCheck::createSubsets(), main(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and triSurfacePatchManipulator::surfaceWithPatches().
Definition at line 73 of file triSurfFacetsI.H.
Definition at line 86 of file triSurfFacetsI.H.
References DynList< T, staticSize >::append(), DynList< T, staticSize >::clear(), and forAllConstIter().
Definition at line 105 of file triSurfFacetsI.H.
References DynList< T, staticSize >::append(), DynList< T, staticSize >::clear(), triSurfFacets::facetSubsets_, and forAllConstIter().
Referenced by copyFaceSubsets(), triSurfaceMetaData::createMetaData(), main(), triSurfaceRemoveFacets::markFacetsForRemoval(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and triSurf::topologyCheck().
|
inline |
Definition at line 120 of file triSurfFacetsI.H.
Referenced by copyFaceSubsets(), triSurfaceMetaData::createMetaData(), meshOctreeAddressing::findUsedBoxes(), main(), makePatchFromSubset(), triSurfaceRemoveFacets::markFacetsForRemoval(), surfaceMeshGeometryModification::modifyGeometry(), surfaceMeshGeometryModification::revertGeometryModification(), and triSurf::topologyCheck().
|
inline |
Definition at line 135 of file triSurfFacetsI.H.
References triSurfFacets::facetSubsets_.
Referenced by triSurfaceCleanupDuplicateTriangles::checkDuplicateTriangles(), triSurfaceCleanupDuplicates::checkDuplicateTriangles(), makePatchFromSubset(), triSurfaceCleanupDuplicates::mergeDuplicatePoints(), and triSurfaceRemoveFacets::removeFacets().
|
inline |
access to a triangle
Definition at line 146 of file triSurfFacetsI.H.
References triSurfFacets::triangles_.
|
protected |
list of triangles
Definition at line 58 of file triSurfFacets.H.
Referenced by triSurf::accessToFacets(), triSurfFacets::appendTriangle(), triSurfFacets::facets(), triSurfFacets::operator[](), triSurf::readFromFMS(), triSurf::readFromFTR(), triSurf::readSurface(), triSurfFacets::size(), triSurfFacets::triSurfFacets(), triSurf::writeToFMS(), and triSurf::writeToFTR().
|
protected |
list of boundary patches and their properties
Definition at line 61 of file triSurfFacets.H.
Referenced by triSurf::accessToPatches(), triSurfFacets::patches(), triSurfFacets::patchNames(), triSurf::readFromFMS(), triSurf::readFromFTR(), triSurf::readSurface(), triSurfFacets::triSurfFacets(), triSurf::writeToFMS(), and triSurf::writeToFTR().
|
protected |
map of point subsets
Definition at line 64 of file triSurfFacets.H.
Referenced by triSurfFacets::addFacetSubset(), triSurfFacets::facetSubsetIndex(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), triSurf::readFromFMS(), triSurfFacets::removeFacetSubset(), triSurfFacets::updateFacetsSubsets(), and triSurf::writeToFMS().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.