Cell-face mesh analysis engine. More...
Public Member Functions | |
ClassName ("primitiveMesh") | |
primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) | |
Construct from components. More... | |
primitiveMesh (primitiveMesh &&)=default | |
Move constructor. More... | |
primitiveMesh (const primitiveMesh &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~primitiveMesh () |
Destructor. More... | |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells) |
Reset this primitiveMesh given the primitive array sizes. More... | |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &cells) |
Reset this primitiveMesh given the primitive array sizes and cells. More... | |
void | reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, cellList &&cells) |
Reset this primitiveMesh given the primitive array sizes and cells. More... | |
label | nPoints () const |
label | nEdges () const |
label | nInternalFaces () const |
label | nFaces () const |
label | nCells () const |
label | nInternalPoints () const |
Points not on boundary. More... | |
label | nInternal0Edges () const |
Internal edges (i.e. not on boundary face) using. More... | |
label | nInternal1Edges () const |
Internal edges using 0 or 1 boundary point. More... | |
label | nInternalEdges () const |
Internal edges using 0,1 or 2 boundary points. More... | |
virtual const pointField & | points () const =0 |
Return mesh points. More... | |
virtual const faceList & | faces () const =0 |
Return faces. More... | |
virtual const labelList & | faceOwner () const =0 |
Face face-owner addressing. More... | |
virtual const labelList & | faceNeighbour () const =0 |
Face face-neighbour addressing. More... | |
virtual const pointField & | oldPoints () const =0 |
Return old points for mesh motion. More... | |
const cellShapeList & | cellShapes () const |
Return cell shapes. More... | |
const edgeList & | edges () const |
Return mesh edges. Uses calcEdges. More... | |
const labelListList & | cellCells () const |
const labelListList & | edgeCells () const |
const labelListList & | pointCells () const |
const cellList & | cells () const |
const labelListList & | edgeFaces () const |
const labelListList & | pointFaces () const |
const labelListList & | cellEdges () const |
const labelListList & | faceEdges () const |
const labelListList & | pointEdges () const |
const labelListList & | pointPoints () const |
const labelListList & | cellPoints () const |
const vectorField & | cellCentres () const |
const vectorField & | faceCentres () const |
const scalarField & | cellVolumes () const |
const vectorField & | faceAreas () const |
const scalarField & | magFaceAreas () const |
tmp< scalarField > | movePoints (const pointField &p, const pointField &oldP) |
Move points, returns volumes swept by faces in motion. More... | |
bool | isInternalFace (const label faceIndex) const |
Return true if given face label is internal to the mesh. More... | |
bool | pointInCellBB (const point &p, label celli, scalar inflationFraction=0) const |
Return true if the point in the cell bounding box. More... | |
bool | pointInCell (const point &p, label celli) const |
Return true if the point is in the cell. More... | |
label | findNearestCell (const point &location) const |
Find the cell with the nearest cell centre to location. More... | |
label | findCell (const point &location) const |
Find cell enclosing this location (-1 if not in mesh) More... | |
void | printAllocated () const |
Print a list of all the currently allocated mesh data. More... | |
bool | hasCellShapes () const |
bool | hasEdges () const |
bool | hasCellCells () const |
bool | hasEdgeCells () const |
bool | hasPointCells () const |
bool | hasCells () const |
bool | hasEdgeFaces () const |
bool | hasPointFaces () const |
bool | hasCellEdges () const |
bool | hasFaceEdges () const |
bool | hasPointEdges () const |
bool | hasPointPoints () const |
bool | hasCellPoints () const |
bool | hasCellCentres () const |
bool | hasFaceCentres () const |
bool | hasCellVolumes () const |
bool | hasFaceAreas () const |
const labelList & | cellCells (const label celli, DynamicList< label > &) const |
cellCells using cells. More... | |
const labelList & | cellCells (const label celli) const |
const labelList & | cellPoints (const label celli, DynamicList< label > &) const |
cellPoints using cells More... | |
const labelList & | cellPoints (const label celli) const |
const labelList & | pointCells (const label pointi, DynamicList< label > &) const |
pointCells using pointFaces More... | |
const labelList & | pointCells (const label pointi) const |
const labelList & | pointPoints (const label pointi, DynamicList< label > &) const |
pointPoints using edges, pointEdges More... | |
const labelList & | pointPoints (const label pointi) const |
const labelList & | faceEdges (const label facei, DynamicList< label > &) const |
faceEdges using pointFaces, edges, pointEdges More... | |
const labelList & | faceEdges (const label facei) const |
const labelList & | edgeFaces (const label edgeI, DynamicList< label > &) const |
edgeFaces using pointFaces, edges, pointEdges More... | |
const labelList & | edgeFaces (const label edgeI) const |
const labelList & | edgeCells (const label edgeI, DynamicList< label > &) const |
edgeCells using pointFaces, edges, pointEdges More... | |
const labelList & | edgeCells (const label edgeI) const |
const labelList & | cellEdges (const label celli, DynamicList< label > &) const |
cellEdges using cells, pointFaces, edges, pointEdges More... | |
const labelList & | cellEdges (const label celli) const |
void | clearGeom () |
Clear geometry. More... | |
void | clearAddressing () |
Clear topological data. More... | |
void | clearOut () |
Clear all geometry and addressing unnecessary for CFD. More... | |
void | operator= (const primitiveMesh &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static void | calcCells (cellList &, const labelUList &own, const labelUList &nei, const label nCells=-1) |
Helper function to calculate cell-face addressing from. More... | |
static bool | calcPointOrder (label &nInternalPoints, labelList &pointMap, const faceList &, const label nInternalFaces, const label nPoints) |
Helper function to calculate point ordering. Returns true. More... | |
Static Public Attributes | |
static const unsigned | cellsPerEdge_ = 4 |
Estimated number of cells per edge. More... | |
static const unsigned | cellsPerPoint_ = 8 |
Estimated number of cells per point. More... | |
static const unsigned | facesPerCell_ = 6 |
Estimated number of faces per cell. More... | |
static const unsigned | facesPerEdge_ = 4 |
Estimated number of faces per edge. More... | |
static const unsigned | facesPerPoint_ = 12 |
Estimated number of faces per point. More... | |
static const unsigned | edgesPerCell_ = 12 |
Estimated number of edges per cell. More... | |
static const unsigned | edgesPerFace_ = 4 |
Estimated number of edges per cell. More... | |
static const unsigned | edgesPerPoint_ = 6 |
Estimated number of edges per point. More... | |
static const unsigned | pointsPerCell_ = 8 |
Estimated number of points per cell. More... | |
static const unsigned | pointsPerFace_ = 4 |
Estimated number of points per face. More... | |
Protected Member Functions | |
void | calcFaceCentresAndAreas () const |
Calculate face centres and areas. More... | |
void | makeFaceCentresAndAreas (const pointField &p, vectorField &fCtrs, vectorField &fAreas, scalarField &magfAreas) const |
void | calcCellCentresAndVols () const |
Calculate cell centres and volumes. More... | |
void | makeCellCentresAndVols (const vectorField &fCtrs, const vectorField &fAreas, vectorField &cellCtrs, scalarField &cellVols) const |
void | calcEdgeVectors () const |
Calculate edge vectors. More... | |
primitiveMesh () | |
Construct null. More... | |
Cell-face mesh analysis engine.
Definition at line 74 of file primitiveMesh.H.
|
protected |
Construct null.
Definition at line 39 of file primitiveMesh.C.
primitiveMesh | ( | const label | nPoints, |
const label | nInternalFaces, | ||
const label | nFaces, | ||
const label | nCells | ||
) |
Construct from components.
Definition at line 77 of file primitiveMesh.C.
|
default |
Move constructor.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 120 of file primitiveMesh.C.
|
protected |
Calculate face centres and areas.
Definition at line 38 of file primitiveMeshFaceCentresAndAreas.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, primitiveMesh::makeFaceCentresAndAreas(), primitiveMesh::nFaces(), primitiveMesh::points(), and Foam::Pout.
|
protected |
Definition at line 76 of file primitiveMeshFaceCentresAndAreas.C.
References face::areaAndCentre(), Tuple2< Type1, Type2 >::first(), forAll, Foam::mag(), Foam::max(), p, and Tuple2< Type1, Type2 >::second().
Referenced by primitiveMesh::calcFaceCentresAndAreas().
|
protected |
Calculate cell centres and volumes.
Definition at line 34 of file primitiveMeshCellCentresAndVols.C.
References Foam::abort(), cellVols, Foam::endl(), primitiveMesh::faceAreas(), primitiveMesh::faceCentres(), Foam::FatalError, FatalErrorInFunction, primitiveMesh::makeCellCentresAndVols(), primitiveMesh::nCells(), and Foam::Pout.
|
protected |
Definition at line 72 of file primitiveMeshCellCentresAndVols.C.
References cellVols, forAll, Foam::mag(), and Foam::Zero.
Referenced by primitiveMesh::calcCellCentresAndVols().
|
protected |
Calculate edge vectors.
ClassName | ( | "primitiveMesh" | ) |
void reset | ( | const label | nPoints, |
const label | nInternalFaces, | ||
const label | nFaces, | ||
const label | nCells | ||
) |
Reset this primitiveMesh given the primitive array sizes.
Definition at line 207 of file primitiveMesh.C.
References Foam::endl(), nPoints, and Foam::Pout.
Referenced by LocalInteraction< CloudType >::massEscape(), LocalInteraction< CloudType >::massStick(), and ParticleErosion< CloudType >::preEvolve().
void reset | ( | const label | nPoints, |
const label | nInternalFaces, | ||
const label | nFaces, | ||
const label | nCells, | ||
cellList & | cells | ||
) |
Reset this primitiveMesh given the primitive array sizes and cells.
Definition at line 263 of file primitiveMesh.C.
References nPoints.
void reset | ( | const label | nPoints, |
const label | nInternalFaces, | ||
const label | nFaces, | ||
const label | nCells, | ||
cellList && | cells | ||
) |
Reset this primitiveMesh given the primitive array sizes and cells.
Definition at line 284 of file primitiveMesh.C.
References nPoints.
|
inline |
Definition at line 41 of file primitiveMeshI.H.
Referenced by singleProcessorFaceSetsConstraint::add(), polyMeshAdder::add(), singleProcessorFaceSetsConstraint::apply(), motionSmootherAlgo::avg(), polyTopoChange::changeMesh(), Foam::meshCheck::checkEdgeLength(), Foam::meshCheck::checkFaceVertices(), Foam::meshCheck::checkGeometry(), pointZone::checkParallelSync(), Foam::meshCheck::checkTopology(), componentDisplacementMotionSolver::componentDisplacementMotionSolver(), fvMeshDistribute::distribute(), cellsToCells::distributeMesh(), snappySnapDriver::doSnap(), edgeVertex::edgeToEVert(), polyMeshFilter::filterEdges(), edgeVertex::getEdge(), surfaceSets::getHangingCells(), syncTools::getMasterPoints(), globalIndexAndTransform::globalIndexAndTransform(), hexRef8::hexRef8(), hexRef8Data::hexRef8Data(), edgeVertex::isEdge(), localPointRegion::localPointRegion(), polyTopoChange::makeMesh(), pointSet::maxSize(), pointZoneSet::maxSize(), Foam::meshCheck::mergeAndWrite(), meshTriangulation::meshTriangulation(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), vtkMesh::nFieldPoints(), mappedExtrudedPatchBase::patchLocalPoints(), PointEdgeWave< Type, TrackingData >::PointEdgeWave(), primitiveMesh::pointFaces(), points0MotionSolver::points0MotionSolver(), pointSet::pointSet(), pointZoneSet::pointZoneSet(), polyMesh::polyMesh(), polyTopoChange::polyTopoChange(), fvMeshDistribute::printMeshInfo(), pointMesh::size(), hexRef8Data::sync(), pointSet::sync(), syncTools::syncPointList(), meshRefinement::testSyncPointList(), and edgeVertex::vertToEVert().
|
inline |
Definition at line 71 of file primitiveMeshI.H.
References primitiveMesh::edges(), and List< T >::size().
Referenced by primitiveMesh::edgeCells(), primitiveMesh::edgeFaces(), edgeVertex::edgeToEVert(), directionInfo::edgeToFaceIndex(), syncTools::getMasterEdges(), addPatchCellLayer::globalEdgeFaces(), edgeVertex::isEdge(), primitiveMesh::nInternal0Edges(), primitiveMesh::nInternal1Edges(), primitiveMesh::nInternalEdges(), mappedExtrudedPatchBase::patchLocalPoints(), PointEdgeWave< Type, TrackingData >::PointEdgeWave(), Foam::meshCheck::printMeshStats(), and syncTools::syncEdgeList().
|
inline |
Definition at line 82 of file primitiveMeshI.H.
Referenced by Flux< CloudType, Derived >::accumulate(), snappyLayerDriver::addLayers(), preserveFaceZonesConstraint::apply(), preservePatchesConstraint::apply(), decompositionMethod::calcCellCells(), CentredFitSnGradData< Polynomial >::calcFit(), Foam::meshCheck::checkClosedBoundary(), meshRefinement::checkCoupledFaceZones(), Foam::meshCheck::checkCoupledPoints(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceWeights(), faceZone::checkParallelSync(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkUpperTriangular(), Foam::meshCheck::checkVolRatio(), decompositionMethod::decompose(), fvMeshDistribute::distribute(), faceCoupleInfo::faceCoupleInfo(), Foam::meshCheck::faceOrthogonality(), FacePostProcessing< CloudType >::FacePostProcessing(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), Foam::meshCheck::faceWeights(), localPointRegion::findDuplicateFacePairs(), localPointRegion::findDuplicateFaces(), polyMeshTetDecomposition::findFaceBasePts(), FvFaceCellWave< Type, TrackingData >::FvFaceCellWave(), repatchMesh::getNearest(), fvMeshSubset::interpolate(), primitiveMesh::isInternalFace(), Foam::meshCheck::mergeAndWrite(), meshRefinement::mergePatchFacesUndo(), MeshedSurface< Face >::MeshedSurface(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), mappedExtrudedPatchBase::patchFaceAreas(), polyTopoChange::polyTopoChange(), fvMeshDistribute::printCoupleInfo(), fvMeshDistribute::printMeshInfo(), repatchMesh::read(), refiner::refiner(), SloanRenumber::renumber(), triSurfaceMesh::sampleField(), fvMatrix< Type >::setValue(), surfaceMesh::size(), Foam::fvc::smooth(), Foam::fvc::spread(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::swapFaceList(), Foam::fvc::sweep(), faceZoneSet::sync(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncFacePositions(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), cellsToCells::trimLocalTgt(), cellsToCellsStabilisation::update(), Foam::meshCheck::volRatio(), extendedCellToFaceStencil::weightedSum(), and extendedUpwindCellToFaceStencil::weightedSum().
|
inline |
Definition at line 88 of file primitiveMeshI.H.
Referenced by refinementHistory::add(), preserveBafflesConstraint::add(), preserveFaceZonesConstraint::add(), preservePatchesConstraint::add(), singleProcessorFaceSetsConstraint::add(), polyMeshAdder::add(), snappyLayerDriver::addLayers(), preserveFaceZonesConstraint::apply(), preservePatchesConstraint::apply(), decompositionMethod::calcCellCells(), primitiveMesh::calcFaceCentresAndAreas(), CentredFitSnGradData< Polynomial >::calcFit(), polyTopoChange::changeMesh(), edgeCollapser::checkBadFaces(), Foam::meshCheck::checkClosedCells(), meshRefinement::checkCoupledFaceZones(), Foam::meshCheck::checkFaceFaces(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceWeights(), Foam::meshCheck::checkGeometry(), Foam::meshCheck::checkMesh(), faceZone::checkParallelSync(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkVolRatio(), structured::decompose(), decompositionMethod::decompose(), fvMeshDistribute::distribute(), cellsToCells::distributeMesh(), snappyLayerDriver::doLayers(), snappySnapDriver::doSnap(), FaceCellWave< Type, TrackingData >::FaceCellWave(), Foam::meshCheck::faceConcavity(), Foam::meshCheck::faceFlatness(), faceMapper::faceMapper(), Foam::meshCheck::faceOrthogonality(), Foam::meshCheck::facePyramidVolume(), faceSet::faceSet(), Foam::meshCheck::faceSkewness(), Foam::meshCheck::faceWeights(), faceZoneSet::faceZoneSet(), localPointRegion::findDuplicateFacePairs(), polyMeshTetDecomposition::findFaceBasePts(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), repatchMesh::getNearest(), polyTopoChange::makeMesh(), faceSet::maxSize(), faceZoneSet::maxSize(), Foam::meshCheck::mergeAndWrite(), snappyLayerDriver::mergePatchFacesUndo(), meshRefinement::mergePatchFacesUndo(), MeshedSurface< Face >::MeshedSurface(), meshRefinement::meshRefinement(), mappedExtrudedPatchBase::patchFaceAreas(), polyMesh::polyMesh(), Foam::polyMeshUnMergeCyclics(), snappySnapDriver::preSmoothPatch(), fvMeshDistribute::printMeshInfo(), repatchMesh::read(), refiner::refiner(), structuredRenumber::renumber(), SloanRenumber::renumber(), snappySnapDriver::repatchToSurface(), triSurfaceMesh::sampleField(), snappySnapDriver::scaleMesh(), decompositionMethod::setConstraints(), Foam::fvc::smooth(), Foam::fvc::spread(), MPLIC::surfaceAlpha(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::swapFaceList(), Foam::fvc::sweep(), faceSet::sync(), faceZoneSet::sync(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncFacePositions(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), cellsToCells::trimLocalTgt(), cellsToCellsStabilisation::update(), and Foam::meshCheck::volRatio().
|
inline |
Definition at line 94 of file primitiveMeshI.H.
Referenced by refinementHistoryConstraint::add(), polyMeshAdder::add(), snappyLayerDriver::addLayers(), refinementHistoryConstraint::apply(), nearWallFields::calcAddressing(), primitiveMesh::calcCellCentresAndVols(), primitiveMesh::calcCells(), intersection::calculate(), matching::calculate(), nearest::calculate(), cellClassification::cellClassification(), Foam::meshCheck::cellClosedness(), cellCuts::cellCuts(), Foam::meshCheck::cellDeterminant(), cellMapper::cellMapper(), primitiveMesh::cellPoints(), cellSet::cellSet(), cellZoneSet::cellZoneSet(), polyTopoChange::changeMesh(), Foam::meshCheck::checkGeometry(), Foam::meshCheck::checkTopology(), structured::decompose(), parMetis::decompose(), zoltan::decompose(), decompositionMethod::decompose(), fvMeshDistribute::distribute(), refinementHistory::distribute(), cellEdgeAddressingList::distribute(), cpuLoad::distribute(), cellsToCells::distributeMesh(), snappyLayerDriver::doLayers(), snappyRefineDriver::doRefine(), FaceCellWave< Type, TrackingData >::FaceCellWave(), refinementParameters::findCells(), meshRefinement::findRegions(), FvFaceCellWave< Type, TrackingData >::FvFaceCellWave(), surfaceSets::getHangingCells(), hexRef8::hexRef8(), hexRef8Data::hexRef8Data(), cellsToCells::initialise(), twoPhaseMixture::interfaceFraction(), interRegionPorosityForce::interRegionPorosityForce(), Kmesh::Kmesh(), Foam::levelSetFraction(), polyTopoChange::makeMesh(), cellEdgeAddressingList::mapMesh(), cpuLoad::mapMesh(), cellsToCells::maskCells(), cellSet::maxSize(), cellZoneSet::maxSize(), Foam::meshCheck::mergeAndWrite(), momentOfInertia::meshInertia(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), cellTable::operator=(), mappedExtrudedPatchBase::patchFaceAreas(), polyMesh::polyMesh(), polyTopoChange::polyTopoChange(), fvMeshDistribute::printMeshInfo(), Foam::meshCheck::printMeshStats(), ensightParts::recalculate(), refinementHistory::refinementHistory(), refiner::refiner(), renumberMethod::renumber(), CuthillMcKeeRenumber::renumber(), springRenumber::renumber(), structuredRenumber::renumber(), SloanRenumber::renumber(), volMesh::size(), Foam::fvc::smooth(), Foam::fvc::spread(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), Foam::fvc::sweep(), hexRef8Data::sync(), cellsToCells::tgtMeshSendCells(), cellEdgeAddressingList::topoChange(), distributor::update(), loadBalancer::update(), cellsToCellsStabilisation::update(), and cellsToCells::update().
|
inline |
Points not on boundary.
Definition at line 35 of file primitiveMeshI.H.
Referenced by Foam::meshCheck::printMeshStats().
|
inline |
Internal edges (i.e. not on boundary face) using.
no boundary point
Definition at line 47 of file primitiveMeshI.H.
References primitiveMesh::nEdges().
Referenced by Foam::meshCheck::printMeshStats().
|
inline |
Internal edges using 0 or 1 boundary point.
Definition at line 55 of file primitiveMeshI.H.
References primitiveMesh::nEdges().
Referenced by Foam::meshCheck::printMeshStats().
|
inline |
Internal edges using 0,1 or 2 boundary points.
Definition at line 63 of file primitiveMeshI.H.
References primitiveMesh::nEdges().
Referenced by Foam::meshCheck::printMeshStats().
|
pure virtual |
Return mesh points.
Implemented in polyMesh.
Referenced by primitiveMesh::calcFaceCentresAndAreas(), tetOverlapVolume::cellCellOverlapMinDecomp(), tetOverlapVolume::cellCellOverlapVolumeMinDecomp(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkEdgeLength(), Foam::meshCheck::checkFaceAngles(), Foam::meshCheck::checkFaceFlatness(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkPointNearness(), edgeVertex::coord(), localPointRegion::findDuplicateFaces(), repatchMesh::getNearest(), treeDataFace::getVolumeType(), Foam::meshTools::normEdgeVec(), treeDataFace::findIntersectOp::operator()(), treeDataFace::findNearestOp::operator()(), treeDataFace::overlaps(), primitiveMesh::pointInCellBB(), and pointSet::writeDebug().
|
pure virtual |
Return faces.
Implemented in polyMesh.
Referenced by Foam::meshCheck::boundaryFaceSkewness(), tetOverlapVolume::cellCellOverlapMinDecomp(), tetOverlapVolume::cellCellOverlapVolumeMinDecomp(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkCellsZipUp(), Foam::meshCheck::checkCommonOrder(), Foam::meshCheck::checkDuplicateFaces(), Foam::meshCheck::checkEdgeLength(), Foam::meshCheck::checkFaceFaces(), Foam::meshCheck::checkFaceFlatness(), Foam::meshCheck::checkFaceTet(), Foam::meshCheck::checkFaceVertices(), directionInfo::edgeToFaceIndex(), Foam::meshCheck::faceConcavity(), Foam::meshCheck::faceFlatness(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), localPointRegion::findDuplicateFaces(), surfaceSets::getHangingCells(), repatchMesh::getNearest(), treeDataFace::getVolumeType(), Foam::interpolatePointToCell(), hexMatcher::isA(), prismMatcher::isA(), pyrMatcher::isA(), tetMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), degenerateMatcher::match(), hexMatcher::matches(), prismMatcher::matches(), pyrMatcher::matches(), tetMatcher::matches(), tetWedgeMatcher::matches(), wedgeMatcher::matches(), treeDataFace::findIntersectOp::operator()(), treeDataFace::findNearestOp::operator()(), treeDataFace::overlaps(), primitiveMesh::pointFaces(), and primitiveMesh::pointInCellBB().
|
pure virtual |
Face face-owner addressing.
Implemented in polyMesh.
Referenced by tetOverlapVolume::cellCellOverlapMinDecomp(), tetOverlapVolume::cellCellOverlapVolumeMinDecomp(), Foam::meshCheck::cellClosedness(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkConcaveCells(), Foam::meshCheck::checkNonOrtho(), Foam::meshCheck::checkUpperTriangular(), Foam::meshTools::faceOnCell(), Foam::meshCheck::faceOrthogonality(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), Foam::meshCheck::getAffectedCells(), Foam::meshTools::getSharedFace(), hexMatcher::isA(), prismMatcher::isA(), pyrMatcher::isA(), tetMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), degenerateMatcher::match(), hexMatcher::matches(), prismMatcher::matches(), pyrMatcher::matches(), tetMatcher::matches(), tetWedgeMatcher::matches(), wedgeMatcher::matches(), and Foam::meshTools::otherCell().
|
pure virtual |
Face face-neighbour addressing.
Implemented in polyMesh.
Referenced by Foam::meshCheck::cellClosedness(), Foam::meshCheck::checkNonOrtho(), Foam::meshCheck::checkUpperTriangular(), Foam::meshTools::faceOnCell(), Foam::meshCheck::faceOrthogonality(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::faceSkewness(), Foam::meshCheck::getAffectedCells(), Foam::meshTools::getSharedFace(), and Foam::meshTools::otherCell().
|
pure virtual |
Return old points for mesh motion.
Implemented in polyMesh.
const Foam::cellShapeList & cellShapes | ( | ) | const |
Return cell shapes.
Definition at line 337 of file primitiveMesh.C.
const Foam::edgeList & edges | ( | ) | const |
Return mesh edges. Uses calcEdges.
Definition at line 502 of file primitiveMeshEdges.C.
Referenced by snappyLayerDriver::addLayers(), motionSmootherAlgo::avg(), addPatchCellLayer::calcSidePatch(), Foam::meshCheck::checkTopology(), edgeVertex::coord(), Foam::meshTools::edgeToCutDir(), directionInfo::edgeToFaceIndex(), Foam::meshTools::findEdge(), Foam::meshTools::getEdgeFaces(), Foam::meshTools::getParallelEdges(), treeDataFace::getVolumeType(), addPatchCellLayer::globalEdgeFaces(), primitiveMesh::nEdges(), Foam::meshTools::normEdgeVec(), Foam::meshTools::otherEdge(), directionInfo::updateCell(), pointEdgeDist::updateEdge(), pointEdgePoint::updateEdge(), and Foam::meshTools::walkFace().
|
static |
Helper function to calculate cell-face addressing from.
face-cell addressing. If nCells is not provided it will scan for the maximum.
Definition at line 30 of file primitiveMeshCells.C.
References forAll, Foam::max(), primitiveMesh::nCells(), List< T >::setSize(), and List< T >::size().
|
static |
Helper function to calculate point ordering. Returns true.
if points already ordered, false and fills pointMap (old to new). Map splits points into those not used by any boundary face and those that are.
Definition at line 128 of file primitiveMesh.C.
References f(), forAll, nPoints, List< T >::setSize(), and List< T >::size().
const Foam::labelListList & cellCells | ( | ) | const |
Definition at line 100 of file primitiveMeshCellCells.C.
Referenced by cellsToCells::appendNbrCells(), and Foam::meshCheck::checkTopology().
const Foam::labelListList & edgeCells | ( | ) | const |
Definition at line 32 of file primitiveMeshEdgeCells.C.
References Foam::abort(), primitiveMesh::cellEdges(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::invertManyToMany(), primitiveMesh::nEdges(), and Foam::Pout.
Referenced by Foam::meshCheck::checkTopology(), and Foam::meshTools::edgeOnCell().
const Foam::labelListList & pointCells | ( | ) | const |
Definition at line 108 of file primitiveMeshPointCells.C.
Referenced by primitiveMesh::cellPoints(), Foam::meshCheck::checkPoints(), Foam::meshCheck::checkTopology(), volPointInterpolation::interpolateUnconstrained(), refiner::refiner(), and volPointInterpolation::volPointInterpolation().
const Foam::cellList & cells | ( | ) | const |
Definition at line 136 of file primitiveMeshCells.C.
Referenced by pointMVCWeight::calcWeights(), tetOverlapVolume::cellCellOverlapMinDecomp(), tetOverlapVolume::cellCellOverlapVolumeMinDecomp(), Foam::meshCheck::cellDeterminant(), polyMeshTetDecomposition::cellTetIndices(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkCellDeterminant(), Foam::meshCheck::checkCellsZipUp(), Foam::meshCheck::checkClosedCells(), Foam::meshCheck::checkConcaveCells(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkTopology(), Foam::meshCheck::checkUpperTriangular(), particle::correctAfterInteractionListReferral(), outletStabilised< Type >::correction(), cutPolyIsoSurface::cutPolyIsoSurface(), probes::findElements(), polyMeshTetDecomposition::findTet(), surfaceSets::getHangingCells(), Foam::meshTools::getSharedFace(), Foam::interpolatePointToCell(), hexMatcher::isA(), prismMatcher::isA(), pyrMatcher::isA(), tetMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), particle::locate(), cellsToCells::maskCells(), degenerateMatcher::match(), hexMatcher::matches(), prismMatcher::matches(), pyrMatcher::matches(), tetMatcher::matches(), tetWedgeMatcher::matches(), wedgeMatcher::matches(), meshRefinement::mergePatchFacesUndo(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), treeDataCell::findIntersectOp::operator()(), treeDataCell::overlaps(), primitiveMesh::pointInCellBB(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), Foam::meshCheck::printMeshStats(), refiner::refiner(), MPLIC::setCellAlphaf(), fvMatrix< Type >::setValue(), MPLIC::surfaceAlpha(), cellsToCells::tgtMeshSendCells(), layerInfo::updateFace(), and outletStabilised< Type >::weights().
const Foam::labelListList & edgeFaces | ( | ) | const |
Definition at line 31 of file primitiveMeshEdgeFaces.C.
References Foam::abort(), Foam::endl(), primitiveMesh::faceEdges(), Foam::FatalError, FatalErrorInFunction, Foam::invertManyToMany(), primitiveMesh::nEdges(), and Foam::Pout.
Referenced by addPatchCellLayer::calcSidePatch(), Foam::meshCheck::checkTopology(), Foam::meshTools::getEdgeFaces(), and treeDataFace::getVolumeType().
const Foam::labelListList & pointFaces | ( | ) | const |
Definition at line 32 of file primitiveMeshPointFaces.C.
References Foam::endl(), primitiveMesh::faces(), Foam::invertManyToMany(), primitiveMesh::nPoints(), and Foam::Pout.
Referenced by singleProcessorFaceSetsConstraint::add(), singleProcessorFaceSetsConstraint::apply(), Foam::meshCheck::checkFaceFaces(), Foam::meshCheck::checkPoints(), Foam::meshCheck::checkTopology(), decompositionMethod::decompose(), cellLooper::getVertFacesNonEdge(), treeDataFace::getVolumeType(), and Foam::polyMeshZipUpCells().
const Foam::labelListList & cellEdges | ( | ) | const |
Definition at line 118 of file primitiveMeshCellEdges.C.
Referenced by cellFeatures::cellFeatures(), Foam::meshCheck::checkTopology(), Foam::meshTools::cutDirToEdge(), and primitiveMesh::edgeCells().
const Foam::labelListList & faceEdges | ( | ) | const |
Definition at line 525 of file primitiveMeshEdges.C.
References Foam::endl(), es(), f(), UList< T >::fcIndex(), forAll, Foam::Pout, List< T >::setSize(), and List< T >::size().
Referenced by Foam::meshCheck::checkTopology(), primitiveMesh::edgeFaces(), Foam::meshTools::edgeOnFace(), Foam::meshTools::getSharedEdge(), treeDataFace::getVolumeType(), directionInfo::updateCell(), and Foam::meshTools::walkFace().
const Foam::labelListList & pointEdges | ( | ) | const |
Definition at line 513 of file primitiveMeshEdges.C.
Referenced by snappyLayerDriver::addLayers(), addPatchCellLayer::calcSidePatch(), Foam::meshCheck::checkTopology(), Foam::meshTools::findEdge(), and addPatchCellLayer::globalEdgeFaces().
const Foam::labelListList & pointPoints | ( | ) | const |
Definition at line 91 of file primitiveMeshPointPoints.C.
const Foam::labelListList & cellPoints | ( | ) | const |
Definition at line 31 of file primitiveMeshCellPoints.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::invertManyToMany(), primitiveMesh::nCells(), primitiveMesh::pointCells(), and Foam::Pout.
Referenced by tetOverlapVolume::overlappingCells(), and pointMVCWeight::pointMVCWeight().
const Foam::vectorField & cellCentres | ( | ) | const |
Definition at line 160 of file primitiveMeshCellCentresAndVols.C.
Referenced by waveAlphaFvPatchScalarField::alphan(), snappySnapDriver::avgCellCentres(), mappedInternalPatchBase::calcMapping(), tetOverlapVolume::cellCellOverlapMinDecomp(), tetOverlapVolume::cellCellOverlapVolumeMinDecomp(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceSkewness(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceWeight(), Foam::meshCheck::checkMesh(), structured::decompose(), decompositionMethod::decompose(), polyMeshTetDecomposition::findBasePoint(), probes::findElements(), polyMeshTetDecomposition::findFaceBasePts(), polyMeshTetDecomposition::findSharedBasePoint(), Foam::levelSetFraction(), particle::locate(), cellZone::meshCentres(), treeDataCell::findNearestOp::operator()(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), mappedInternalPatchBase::samplePoints(), treeDataCell::shapePoints(), tetIndices::tet(), waveVelocityFvPatchVectorField::Un(), cellsToCellsStabilisation::update(), refinementDistanceData::updateCell(), WallInfo< WallLocation >::updateCell(), and cellSet::writeDebug().
const Foam::vectorField & faceCentres | ( | ) | const |
Definition at line 100 of file primitiveMeshFaceCentresAndAreas.C.
Referenced by preserveBafflesConstraint::add(), primitiveMesh::calcCellCentresAndVols(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), Foam::meshCheck::checkConcaveCells(), Foam::meshCheck::checkFaceFlatness(), Foam::meshCheck::checkFaceSkewness(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceWeight(), Foam::meshCheck::checkMesh(), decompositionMethod::decompose(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), patchProbes::findElements(), probes::findElements(), repatchMesh::getNearest(), treeDataFace::getVolumeType(), meshTriangulation::meshTriangulation(), treeDataFace::findIntersectOp::operator()(), treeDataFace::overlaps(), mappedExtrudedPatchBase::patchFaceAreas(), fvMeshDistribute::printCoupleInfo(), snappySnapDriver::repatchToSurface(), treeDataFace::shapePoints(), triSurfaceTools::triangulateFaceCentre(), cellsToCellsStabilisation::update(), refinementDistanceData::updateFace(), WallInfo< WallLocation >::updateFace(), and faceSet::writeDebug().
const Foam::scalarField & cellVolumes | ( | ) | const |
Definition at line 171 of file primitiveMeshCellCentresAndVols.C.
Referenced by polyTopoChange::changeMesh(), Foam::meshCheck::checkCellVolumes(), Foam::meshCheck::checkClosedCells(), Foam::meshCheck::checkMesh(), Foam::meshCheck::checkVolRatio(), cellPointWeight::findTetrahedron(), polyTopoChange::makeMesh(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
const Foam::vectorField & faceAreas | ( | ) | const |
Definition at line 111 of file primitiveMeshFaceCentresAndAreas.C.
Referenced by primitiveMesh::calcCellCentresAndVols(), edgeCollapser::checkBadFaces(), Foam::meshCheck::checkCellDeterminant(), Foam::meshCheck::checkClosedBoundary(), Foam::meshCheck::checkClosedCells(), Foam::meshCheck::checkConcaveCells(), Foam::meshCheck::checkFaceAngles(), Foam::meshCheck::checkFaceAreas(), Foam::meshCheck::checkFaceFlatness(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceWeight(), Foam::meshCheck::checkMesh(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), FitData< FitDataType, ExtendedStencil, Polynomial >::findFaceDirs(), repatchMesh::getNearest(), treeDataFace::getVolumeType(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), and mappedExtrudedPatchBase::patchFaceAreas().
const Foam::scalarField & magFaceAreas | ( | ) | const |
Definition at line 122 of file primitiveMeshFaceCentresAndAreas.C.
Referenced by decompositionMethod::calcCellCells(), cellPointWeight::findTriangle(), and MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration().
Foam::tmp< Foam::scalarField > movePoints | ( | const pointField & | p, |
const pointField & | oldP | ||
) |
Move points, returns volumes swept by faces in motion.
Definition at line 305 of file primitiveMesh.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, forAll, nPoints, tmp< T >::ref(), and List< T >::size().
Referenced by polyMesh::movePoints().
|
inline |
Return true if given face label is internal to the mesh.
Definition at line 100 of file primitiveMeshI.H.
References primitiveMesh::nInternalFaces().
Referenced by preserveBafflesConstraint::apply(), preserveFaceZonesConstraint::apply(), singleProcessorFaceSetsConstraint::apply(), addPatchCellLayer::calcSidePatch(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), Foam::meshCheck::checkFaceTwist(), Foam::meshCheck::checkFaceWeights(), Foam::meshCheck::checkNonOrtho(), faceZone::checkParallelSync(), Foam::meshCheck::checkVolRatio(), outletStabilised< Type >::correction(), decompositionMethod::decompose(), Foam::meshTools::faceOnCell(), Foam::meshCheck::facePyramidVolume(), Foam::meshCheck::getAffectedCells(), Foam::meshTools::getSharedFace(), meshTriangulation::meshTriangulation(), MGridGenGAMGAgglomeration::MGridGenGAMGAgglomeration(), particle::onBoundaryFace(), particle::onInternalFace(), Foam::meshTools::otherCell(), fvMatrix< Type >::setValue(), and outletStabilised< Type >::weights().
Return true if the point in the cell bounding box.
The bounding box may be isotropically inflated by the fraction inflationFraction
Definition at line 32 of file primitiveMeshFindCell.C.
References primitiveMesh::cells(), boundBox::contains(), primitiveMesh::faces(), Foam::mag(), boundBox::max(), boundBox::min(), VectorSpace< Form, Cmpt, Ncmpts >::one, p, primitiveMesh::points(), and boundBox::span().
Return true if the point is in the cell.
Definition at line 59 of file primitiveMeshFindCell.C.
References cells, f(), forAll, and p.
Referenced by polyMesh::pointInCell().
Foam::label findNearestCell | ( | const point & | location | ) | const |
Find the cell with the nearest cell centre to location.
Definition at line 86 of file primitiveMeshFindCell.C.
References Foam::magSqr(), and List< T >::size().
Foam::label findCell | ( | const point & | location | ) | const |
Find cell enclosing this location (-1 if not in mesh)
Definition at line 108 of file primitiveMeshFindCell.C.
References n.
void printAllocated | ( | ) | const |
Print a list of all the currently allocated mesh data.
Definition at line 31 of file primitiveMeshClear.C.
References Foam::endl(), and Foam::Pout.
|
inline |
Definition at line 106 of file primitiveMeshI.H.
|
inline |
Definition at line 112 of file primitiveMeshI.H.
|
inline |
Definition at line 118 of file primitiveMeshI.H.
|
inline |
Definition at line 124 of file primitiveMeshI.H.
|
inline |
Definition at line 130 of file primitiveMeshI.H.
|
inline |
Definition at line 136 of file primitiveMeshI.H.
|
inline |
Definition at line 142 of file primitiveMeshI.H.
|
inline |
Definition at line 148 of file primitiveMeshI.H.
|
inline |
Definition at line 154 of file primitiveMeshI.H.
|
inline |
Definition at line 160 of file primitiveMeshI.H.
|
inline |
Definition at line 166 of file primitiveMeshI.H.
|
inline |
Definition at line 172 of file primitiveMeshI.H.
|
inline |
Definition at line 178 of file primitiveMeshI.H.
|
inline |
Definition at line 184 of file primitiveMeshI.H.
|
inline |
Definition at line 190 of file primitiveMeshI.H.
|
inline |
Definition at line 196 of file primitiveMeshI.H.
|
inline |
Definition at line 202 of file primitiveMeshI.H.
const Foam::labelList & cellCells | ( | const label | celli, |
DynamicList< label > & | storage | ||
) | const |
cellCells using cells.
Definition at line 111 of file primitiveMeshCellCells.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), cells, DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), and forAll.
const Foam::labelList & cellCells | ( | const label | celli | ) | const |
Definition at line 151 of file primitiveMeshCellCells.C.
const Foam::labelList & cellPoints | ( | const label | celli, |
DynamicList< label > & | storage | ||
) | const |
cellPoints using cells
Definition at line 58 of file primitiveMeshCellPoints.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::capacity(), cells, DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), List< T >::clear(), f(), forAll, forAllConstIter, and DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity().
const Foam::labelList & cellPoints | ( | const label | celli | ) | const |
Definition at line 101 of file primitiveMeshCellPoints.C.
const Foam::labelList & pointCells | ( | const label | pointi, |
DynamicList< label > & | storage | ||
) | const |
pointCells using pointFaces
Definition at line 119 of file primitiveMeshPointCells.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), forAll, n, pFaces, DynamicList< T, SizeInc, SizeMult, SizeDiv >::setSize(), List< T >::size(), and Foam::sort().
const Foam::labelList & pointCells | ( | const label | pointi | ) | const |
Definition at line 174 of file primitiveMeshPointCells.C.
const Foam::labelList & pointPoints | ( | const label | pointi, |
DynamicList< label > & | storage | ||
) | const |
pointPoints using edges, pointEdges
Definition at line 102 of file primitiveMeshPointPoints.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::capacity(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), forAll, DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), and List< T >::size().
const Foam::labelList & pointPoints | ( | const label | pointi | ) | const |
Definition at line 134 of file primitiveMeshPointPoints.C.
const Foam::labelList & faceEdges | ( | const label | facei, |
DynamicList< label > & | storage | ||
) | const |
faceEdges using pointFaces, edges, pointEdges
Definition at line 586 of file primitiveMeshEdges.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::capacity(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), f(), forAll, DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), and List< T >::size().
const Foam::labelList & faceEdges | ( | const label | facei | ) | const |
Definition at line 624 of file primitiveMeshEdges.C.
const Foam::labelList & edgeFaces | ( | const label | edgeI, |
DynamicList< label > & | storage | ||
) | const |
edgeFaces using pointFaces, edges, pointEdges
Definition at line 57 of file primitiveMeshEdgeFaces.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), Foam::e, and List< T >::size().
const Foam::labelList & edgeFaces | ( | const label | edgeI | ) | const |
Definition at line 103 of file primitiveMeshEdgeFaces.C.
const Foam::labelList & edgeCells | ( | const label | edgeI, |
DynamicList< label > & | storage | ||
) | const |
edgeCells using pointFaces, edges, pointEdges
Definition at line 57 of file primitiveMeshEdgeCells.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), and forAll.
const Foam::labelList & edgeCells | ( | const label | edgeI | ) | const |
Definition at line 127 of file primitiveMeshEdgeCells.C.
const Foam::labelList & cellEdges | ( | const label | celli, |
DynamicList< label > & | storage | ||
) | const |
cellEdges using cells, pointFaces, edges, pointEdges
Definition at line 630 of file primitiveMeshEdges.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::capacity(), cells, DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), List< T >::clear(), forAll, forAllConstIter, and DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity().
const Foam::labelList & cellEdges | ( | const label | celli | ) | const |
Definition at line 673 of file primitiveMeshEdges.C.
void clearGeom | ( | ) |
Clear geometry.
Definition at line 129 of file primitiveMeshClear.C.
References Foam::deleteDemandDrivenData(), Foam::endl(), and Foam::Pout.
Referenced by polyMesh::clearGeom(), and polyMesh::setPoints().
void clearAddressing | ( | ) |
Clear topological data.
Definition at line 146 of file primitiveMeshClear.C.
References Foam::deleteDemandDrivenData(), Foam::endl(), and Foam::Pout.
Referenced by polyMesh::clearAddressing().
void clearOut | ( | ) |
Clear all geometry and addressing unnecessary for CFD.
Definition at line 175 of file primitiveMeshClear.C.
|
delete |
Disallow default bitwise assignment.
|
static |
Estimated number of cells per edge.
Definition at line 263 of file primitiveMesh.H.
|
static |
Estimated number of cells per point.
Definition at line 266 of file primitiveMesh.H.
|
static |
Estimated number of faces per cell.
Definition at line 269 of file primitiveMesh.H.
|
static |
Estimated number of faces per edge.
Definition at line 272 of file primitiveMesh.H.
|
static |
Estimated number of faces per point.
Definition at line 275 of file primitiveMesh.H.
|
static |
Estimated number of edges per cell.
Definition at line 278 of file primitiveMesh.H.
|
static |
Estimated number of edges per cell.
Definition at line 281 of file primitiveMesh.H.
|
static |
Estimated number of edges per point.
Definition at line 284 of file primitiveMesh.H.
|
static |
Estimated number of points per cell.
Definition at line 287 of file primitiveMesh.H.
|
static |
Estimated number of points per face.
Definition at line 290 of file primitiveMesh.H.