OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

primitiveMesh Class Reference

Cell-face mesh analysis engine. More...

Inheritance diagram for primitiveMesh:
Collaboration diagram for primitiveMesh:

List of all members.


Public Member Functions

 ClassName ("primitiveMesh")
 primitiveMesh (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells)
 Construct from components.
virtual ~primitiveMesh ()
void reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells)
 Reset this primitiveMesh given the primitive array sizes.
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.
void reset (const label nPoints, const label nInternalFaces, const label nFaces, const label nCells, const Xfer< cellList > &cells)
 Reset this primitiveMesh given the primitive array sizes and cells.
label nPoints () const
label nEdges () const
label nInternalFaces () const
label nFaces () const
label nCells () const
label nInternalPoints () const
 Points not on boundary.
label nInternal0Edges () const
 Internal edges (i.e. not on boundary face) using.
label nInternal1Edges () const
 Internal edges using 0 or 1 boundary point.
label nInternalEdges () const
 Internal edges using 0,1 or 2 boundary points.
virtual const pointFieldpoints () const =0
 Return mesh points.
virtual const faceListfaces () const =0
 Return faces.
virtual const labelListfaceOwner () const =0
 Face face-owner addresing.
virtual const labelListfaceNeighbour () const =0
 Face face-neighbour addressing.
virtual const pointFieldoldPoints () const =0
 Return old points for mesh motion.
const cellShapeListcellShapes () const
 Return cell shapes.
const edgeListedges () const
 Return mesh edges. Uses calcEdges.
const labelListListcellCells () const
const labelListListedgeCells () const
const labelListListpointCells () const
const cellListcells () const
const labelListListedgeFaces () const
const labelListListpointFaces () const
const labelListListcellEdges () const
const labelListListfaceEdges () const
const labelListListpointEdges () const
const labelListListpointPoints () const
const labelListListcellPoints () const
const vectorFieldcellCentres () const
const vectorFieldfaceCentres () const
const scalarFieldcellVolumes () const
const vectorFieldfaceAreas () const
tmp< scalarFieldmovePoints (const pointField &p, const pointField &oldP)
 Move points, returns volumes swept by faces in motion.
bool isInternalFace (const label faceIndex) const
 Return true if given face label is internal to the mesh.
bool checkCellsZipUp (const bool report=false, labelHashSet *setPtr=NULL) const
 Check cell zip-up.
bool checkFaceVertices (const bool report=false, labelHashSet *setPtr=NULL) const
 Check uniqueness of face vertices.
bool checkFaceFaces (const bool report=false, labelHashSet *setPtr=NULL) const
 Check face-face connectivity.
bool checkUpperTriangular (const bool report=false, labelHashSet *setPtr=NULL) const
 Check face ordering.
bool checkClosedBoundary (const bool report=false) const
 Check boundary for closedness.
bool checkClosedCells (const bool report=false, labelHashSet *setPtr=NULL, labelHashSet *highAspectSetPtr=NULL) const
 Check cells for closedness.
bool checkFaceAreas (const bool report=false, labelHashSet *setPtr=NULL) const
 Check for negative face areas.
bool checkCellVolumes (const bool report=false, labelHashSet *setPtr=NULL) const
 Check for negative cell volumes.
bool checkFaceOrthogonality (const bool report=false, labelHashSet *setPtr=NULL) const
 Check for non-orthogonality.
bool checkFacePyramids (const bool report=false, const scalar minPyrVol=-SMALL, labelHashSet *setPtr=NULL) const
 Check face pyramid volume.
bool checkFaceSkewness (const bool report=false, labelHashSet *setPtr=NULL) const
 Check face skewness.
bool checkFaceAngles (const bool report=false, const scalar maxSin=10, labelHashSet *setPtr=NULL) const
 Check face angles.
bool checkFaceFlatness (const bool report, const scalar warnFlatness, labelHashSet *setPtr) const
 Check face warpage: decompose face and check ratio between.
bool checkEdgeAlignment (const bool report, const Vector< label > &directions, labelHashSet *setPtr=NULL) const
 Check edge alignment for 1D/2D cases.
bool checkPoints (const bool report=false, labelHashSet *setPtr=NULL) const
 Check for unused points.
bool checkPointNearness (const bool report, const scalar reportDistSqr, labelHashSet *setPtr=NULL) const
 Check for point-point-nearness,.
bool checkEdgeLength (const bool report, const scalar minLenSqr, labelHashSet *setPtr=NULL) const
 Check edge length.
bool checkCellDeterminant (const bool report=false, labelHashSet *setPtr=NULL) const
 Check cell determinant.
bool checkTopology (const bool report=false) const
 Check mesh topology for correctness.
bool checkGeometry (const bool report=false) const
 Check mesh geometry (& implicitly topology) for correctness.
bool checkMesh (const bool report=false) const
 Check mesh for correctness. Returns false for no error.
bool checkMeshMotion (const pointField &newPoints, const bool report=false) const
 Check mesh motion for correctness given motion points.
bool pointInCellBB (const point &p, label celli) const
 Is the point in the cell bounding box.
bool pointInCell (const point &p, label celli) const
 Is the point in the cell.
label findNearestCell (const point &location) const
 Find the cell with the nearest cell centre to location.
label findCell (const point &location) const
 Find cell enclosing this location (-1 if not in mesh).
void printAllocated () const
 Print a list of all the currently allocated mesh data.
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 labelListcellCells (const label cellI, DynamicList< label > &) const
 cellCells using cells.
const labelListcellCells (const label cellI) const
const labelListcellPoints (const label cellI, DynamicList< label > &) const
 cellPoints using cells
const labelListcellPoints (const label cellI) const
const labelListpointCells (const label pointI, DynamicList< label > &) const
 pointCells using pointFaces
const labelListpointCells (const label pointI) const
const labelListpointPoints (const label pointI, DynamicList< label > &) const
 pointPoints using edges, pointEdges
const labelListpointPoints (const label pointI) const
const labelListfaceEdges (const label faceI, DynamicList< label > &) const
 faceEdges using pointFaces, edges, pointEdges
const labelListfaceEdges (const label faceI) const
const labelListedgeFaces (const label edgeI, DynamicList< label > &) const
 edgeFaces using pointFaces, edges, pointEdges
const labelListedgeFaces (const label edgeI) const
const labelListedgeCells (const label edgeI, DynamicList< label > &) const
 edgeCells using pointFaces, edges, pointEdges
const labelListedgeCells (const label edgeI) const
const labelListcellEdges (const label cellI, DynamicList< label > &) const
 cellEdges using cells, pointFaces, edges, pointEdges
const labelListcellEdges (const label cellI) const
void clearGeom ()
 Clear geometry.
void clearAddressing ()
 Clear topological data.
void clearOut ()
 Clear all geometry and addressing unnecessary for CFD.

Static Public Member Functions

static void calcCells (cellList &, const unallocLabelList &own, const unallocLabelList &nei, const label nCells=-1)
 Helper function to calculate cell-face addressing from.
static bool calcPointOrder (label &nInternalPoints, labelList &pointMap, const faceList &, const label nInternalFaces, const label nPoints)
 Helper function to calculate point ordering. Returns true.
static scalar setClosedThreshold (const scalar)
 Set the closedness ratio warning threshold.
static scalar setAspectThreshold (const scalar)
 Set the aspect ratio warning threshold.
static scalar setNonOrthThreshold (const scalar)
 Set the non-orthogonality warning threshold in degrees.
static scalar setSkewThreshold (const scalar)
 Set the skewness warning threshold as percentage.

Static Public Attributes

static const unsigned cellsPerEdge_ = 4
 Estimated number of cells per edge.
static const unsigned cellsPerPoint_ = 8
 Estimated number of cells per point.
static const unsigned facesPerCell_ = 6
 Estimated number of faces per cell.
static const unsigned facesPerEdge_ = 4
 Estimated number of faces per edge.
static const unsigned facesPerPoint_ = 12
 Estimated number of faces per point.
static const unsigned edgesPerCell_ = 12
 Estimated number of edges per cell.
static const unsigned edgesPerFace_ = 4
 Estimated number of edges per cell.
static const unsigned edgesPerPoint_ = 6
 Estimated number of edges per point.
static const unsigned pointsPerCell_ = 8
 Estimated number of points per cell.
static const unsigned pointsPerFace_ = 4
 Estimated number of points per face.

Protected Member Functions

 primitiveMesh ()
 Construct null.

Detailed Description

Cell-face mesh analysis engine.

Source files

Definition at line 74 of file primitiveMesh.H.


Constructor & Destructor Documentation

primitiveMesh (  )  [protected]

Construct null.

Definition at line 30 of file primitiveMesh.C.

primitiveMesh ( const label  nPoints,
const label  nInternalFaces,
const label  nFaces,
const label  nCells 
)

Construct from components.

Definition at line 70 of file primitiveMesh.C.

~primitiveMesh (  )  [virtual]

Definition at line 111 of file primitiveMesh.C.


Member Function Documentation

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 199 of file primitiveMesh.C.

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 255 of file primitiveMesh.C.

void reset ( const label  nPoints,
const label  nInternalFaces,
const label  nFaces,
const label  nCells,
const Xfer< cellList > &  cells 
)

Reset this primitiveMesh given the primitive array sizes and cells.

Definition at line 276 of file primitiveMesh.C.

label nEdges (  )  const [inline]

Definition at line 64 of file primitiveMeshI.H.

Referenced by edgeVertex::isEdge(), primitiveMesh::nInternal1Edges(), primitiveMesh::nInternalEdges(), and syncTools::syncEdgeList().

Here is the caller graph for this function:

label nInternalPoints (  )  const [inline]

Points not on boundary.

Definition at line 28 of file primitiveMeshI.H.

label nInternal0Edges (  )  const [inline]

Internal edges (i.e. not on boundary face) using.

no boundary point

Definition at line 40 of file primitiveMeshI.H.

label nInternal1Edges (  )  const [inline]

Internal edges using 0 or 1 boundary point.

Definition at line 48 of file primitiveMeshI.H.

References primitiveMesh::nEdges().

Here is the call graph for this function:

label nInternalEdges (  )  const [inline]

Internal edges using 0,1 or 2 boundary points.

Definition at line 56 of file primitiveMeshI.H.

References primitiveMesh::nEdges().

Here is the call graph for this function:

virtual const pointField& points (  )  const [pure virtual]

virtual const labelList& faceOwner (  )  const [pure virtual]

Face face-owner addresing.

Implemented in polyMesh.

Referenced by primitiveMesh::checkMeshMotion().

Here is the caller graph for this function:

virtual const labelList& faceNeighbour (  )  const [pure virtual]

Face face-neighbour addressing.

Implemented in polyMesh.

Referenced by primitiveMesh::checkMeshMotion().

Here is the caller graph for this function:

virtual const pointField& oldPoints (  )  const [pure virtual]

Return old points for mesh motion.

Implemented in polyMesh.

const Foam::cellShapeList & cellShapes (  )  const

Return cell shapes.

Definition at line 331 of file primitiveMesh.C.

const Foam::edgeList & edges (  )  const

Return mesh edges. Uses calcEdges.

Definition at line 491 of file primitiveMeshEdges.C.

Referenced by edgeCollapser::collapseEdge(), primitiveMesh::nInternalFaces(), and boundaryCutter::updateMesh().

Here is the caller graph for this function:

void calcCells ( cellList cellFaceAddr,
const unallocLabelList own,
const unallocLabelList nei,
const label  nCells = -1 
) [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 23 of file primitiveMeshCells.C.

References forAll, Foam::max(), and primitiveMesh::nCells().

Here is the call graph for this function:

bool calcPointOrder ( label nInternalPoints,
labelList pointMap,
const faceList faces,
const label  nInternalFaces,
const label  nPoints 
) [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 120 of file primitiveMesh.C.

References primitiveMesh::clearOut().

Here is the call graph for this function:

const Foam::labelListList & cellCells (  )  const

Definition at line 92 of file primitiveMeshCellCells.C.

const Foam::labelListList & edgeCells (  )  const

Definition at line 24 of file primitiveMeshEdgeCells.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, and Foam::Pout.

Here is the call graph for this function:

const Foam::labelListList & pointCells (  )  const

const Foam::labelListList & edgeFaces (  )  const

Definition at line 23 of file primitiveMeshEdgeFaces.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, and Foam::Pout.

Here is the call graph for this function:

const Foam::labelListList & pointFaces (  )  const

Definition at line 24 of file primitiveMeshPointFaces.C.

References Foam::endl(), primitiveMesh::faces(), Foam::invertManyToMany(), primitiveMesh::nPoints(), and Foam::Pout.

Referenced by pointPatchInterpolation::interpolate(), and Foam::polyMeshZipUpCells().

Here is the call graph for this function:

Here is the caller graph for this function:

const Foam::labelListList & cellEdges (  )  const

Definition at line 110 of file primitiveMeshCellEdges.C.

const Foam::labelListList & faceEdges (  )  const

Definition at line 514 of file primitiveMeshEdges.C.

Referenced by primitiveMesh::cellEdges(), and Foam::meshTools::faceOnCell().

Here is the caller graph for this function:

const Foam::labelListList & pointEdges (  )  const

Definition at line 502 of file primitiveMeshEdges.C.

const Foam::labelListList & pointPoints (  )  const

Definition at line 83 of file primitiveMeshPointPoints.C.

const Foam::labelListList & cellPoints (  )  const

Definition at line 23 of file primitiveMeshCellPoints.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, and Foam::Pout.

Referenced by hexRef8::getSplitPoints().

Here is the call graph for this function:

Here is the caller graph for this function:

const Foam::vectorField & faceCentres (  )  const

const Foam::scalarField & cellVolumes (  )  const

Definition at line 153 of file primitiveMeshCellCentresAndVols.C.

const Foam::vectorField & faceAreas (  )  const

Definition at line 134 of file primitiveMeshFaceCentresAndAreas.C.

Referenced by primitiveMesh::checkClosedBoundary(), boundaryMesh::getNearest(), and Particle< ParticleType >::lambda().

Here is the caller graph for this function:

Foam::tmp< Foam::scalarField > movePoints ( const pointField p,
const pointField oldP 
)

Move points, returns volumes swept by faces in motion.

Definition at line 297 of file primitiveMesh.C.

bool isInternalFace ( const label  faceIndex  )  const [inline]

bool checkCellsZipUp ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check cell zip-up.

Definition at line 1368 of file primitiveMeshCheck.C.

bool checkFaceVertices ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check uniqueness of face vertices.

Definition at line 1469 of file primitiveMeshCheck.C.

bool checkFaceFaces ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check face-face connectivity.

Definition at line 1750 of file primitiveMeshCheck.C.

bool checkUpperTriangular ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check face ordering.

Definition at line 1203 of file primitiveMeshCheck.C.

bool checkClosedBoundary ( const bool  report = false  )  const

Check boundary for closedness.

Definition at line 35 of file primitiveMeshCheck.C.

References Foam::cmptMag(), Foam::cmptMax(), Foam::endl(), primitiveMesh::faceAreas(), Foam::Info, Foam::mag(), primitiveMesh::nInternalFaces(), and Foam::reduce().

Here is the call graph for this function:

bool checkClosedCells ( const bool  report = false,
labelHashSet setPtr = NULL,
labelHashSet highAspectSetPtr = NULL 
) const

Check cells for closedness.

Definition at line 88 of file primitiveMeshCheck.C.

bool checkFaceAreas ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check for negative face areas.

Definition at line 257 of file primitiveMeshCheck.C.

bool checkCellVolumes ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check for negative cell volumes.

Definition at line 316 of file primitiveMeshCheck.C.

bool checkFaceOrthogonality ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check for non-orthogonality.

Definition at line 383 of file primitiveMeshCheck.C.

bool checkFacePyramids ( const bool  report = false,
const scalar  minPyrVol = -SMALL,
labelHashSet setPtr = NULL 
) const

Check face pyramid volume.

Definition at line 503 of file primitiveMeshCheck.C.

bool checkFaceSkewness ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check face skewness.

Definition at line 587 of file primitiveMeshCheck.C.

bool checkFaceAngles ( const bool  report = false,
const scalar  maxSin = 10,
labelHashSet setPtr = NULL 
) const

Check face angles.

Definition at line 810 of file primitiveMeshCheck.C.

bool checkFaceFlatness ( const bool  report,
const scalar  warnFlatness,
labelHashSet setPtr 
) const

Check face warpage: decompose face and check ratio between.

magnitude of sum of triangle areas and sum of magnitude of triangle areas.

Definition at line 938 of file primitiveMeshCheck.C.

bool checkEdgeAlignment ( const bool  report,
const Vector< label > &  directions,
labelHashSet setPtr = NULL 
) const

bool checkPoints ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check for unused points.

Definition at line 732 of file primitiveMeshCheck.C.

bool checkPointNearness ( const bool  report,
const scalar  reportDistSqr,
labelHashSet setPtr = NULL 
) const

Check for point-point-nearness,.

e.g. colocated points which may be part of baffles.

Definition at line 24 of file primitiveMeshCheckPointNearness.C.

References Foam::endl(), SortableList< T >::indices(), Foam::Info, Foam::magSqr(), primitiveMesh::points(), Foam::reduce(), List< T >::size(), and Foam::sqrt().

Here is the call graph for this function:

bool checkEdgeLength ( const bool  report,
const scalar  minLenSqr,
labelHashSet setPtr = NULL 
) const

bool checkCellDeterminant ( const bool  report = false,
labelHashSet setPtr = NULL 
) const

Check cell determinant.

Definition at line 1860 of file primitiveMeshCheck.C.

bool checkTopology ( const bool  report = false  )  const

Check mesh topology for correctness.

Returns false for no error.

Definition at line 1981 of file primitiveMeshCheck.C.

bool checkGeometry ( const bool  report = false  )  const

Check mesh geometry (& implicitly topology) for correctness.

Returns false for no error.

Definition at line 2014 of file primitiveMeshCheck.C.

bool checkMesh ( const bool  report = false  )  const

Check mesh for correctness. Returns false for no error.

Definition at line 2047 of file primitiveMeshCheck.C.

bool checkMeshMotion ( const pointField newPoints,
const bool  report = false 
) const

Foam::scalar setClosedThreshold ( const scalar  val  )  [static]

Set the closedness ratio warning threshold.

Definition at line 2079 of file primitiveMeshCheck.C.

Foam::scalar setAspectThreshold ( const scalar  val  )  [static]

Set the aspect ratio warning threshold.

Definition at line 2088 of file primitiveMeshCheck.C.

Foam::scalar setNonOrthThreshold ( const scalar  val  )  [static]

Set the non-orthogonality warning threshold in degrees.

Definition at line 2097 of file primitiveMeshCheck.C.

Foam::scalar setSkewThreshold ( const scalar  val  )  [static]

Set the skewness warning threshold as percentage.

of the face area vector

Definition at line 2106 of file primitiveMeshCheck.C.

bool pointInCellBB ( const point p,
label  celli 
) const

Is the point in the cell bounding box.

Definition at line 25 of file primitiveMeshFindCell.C.

References primitiveMesh::cellCentres(), primitiveMesh::cells(), Foam::distance(), primitiveMesh::faces(), forAll, Foam::mag(), Foam::max(), Foam::min(), and primitiveMesh::points().

Here is the call graph for this function:

bool pointInCell ( const point p,
label  celli 
) const

Is the point in the cell.

Definition at line 57 of file primitiveMeshFindCell.C.

Referenced by octreeDataCell::intersects().

Here is the caller graph for this function:

Foam::label findNearestCell ( const point location  )  const

Find the cell with the nearest cell centre to location.

Definition at line 83 of file primitiveMeshFindCell.C.

Foam::label findCell ( const point location  )  const

Find cell enclosing this location (-1 if not in mesh).

Definition at line 106 of file primitiveMeshFindCell.C.

Referenced by spray::inject().

Here is the caller graph for this function:

void printAllocated (  )  const

Print a list of all the currently allocated mesh data.

Definition at line 24 of file primitiveMeshClear.C.

References Foam::endl(), and Foam::Pout.

Here is the call graph for this function:

bool hasCellShapes (  )  const [inline]

Definition at line 99 of file primitiveMeshI.H.

References primitiveMesh::nInternalFaces().

Here is the call graph for this function:

bool hasEdges (  )  const [inline]

Definition at line 105 of file primitiveMeshI.H.

bool hasCellCells (  )  const [inline]

Definition at line 111 of file primitiveMeshI.H.

bool hasEdgeCells (  )  const [inline]

Definition at line 117 of file primitiveMeshI.H.

bool hasPointCells (  )  const [inline]

Definition at line 123 of file primitiveMeshI.H.

bool hasCells (  )  const [inline]

Definition at line 129 of file primitiveMeshI.H.

bool hasEdgeFaces (  )  const [inline]

Definition at line 135 of file primitiveMeshI.H.

bool hasPointFaces (  )  const [inline]

Definition at line 141 of file primitiveMeshI.H.

bool hasCellEdges (  )  const [inline]

Definition at line 147 of file primitiveMeshI.H.

bool hasFaceEdges (  )  const [inline]

Definition at line 153 of file primitiveMeshI.H.

bool hasPointEdges (  )  const [inline]

Definition at line 159 of file primitiveMeshI.H.

bool hasPointPoints (  )  const [inline]

Definition at line 165 of file primitiveMeshI.H.

bool hasCellPoints (  )  const [inline]

Definition at line 171 of file primitiveMeshI.H.

bool hasCellCentres (  )  const [inline]

Definition at line 177 of file primitiveMeshI.H.

bool hasFaceCentres (  )  const [inline]

Definition at line 183 of file primitiveMeshI.H.

bool hasCellVolumes (  )  const [inline]

Definition at line 189 of file primitiveMeshI.H.

bool hasFaceAreas (  )  const [inline]

Definition at line 195 of file primitiveMeshI.H.

const Foam::labelList & cellCells ( const label  cellI,
DynamicList< label > &  storage 
) const

cellCells using cells.

Definition at line 104 of file primitiveMeshCellCells.C.

const Foam::labelList & cellCells ( const label  cellI  )  const

Definition at line 143 of file primitiveMeshCellCells.C.

const Foam::labelList & cellPoints ( const label  cellI,
DynamicList< label > &  storage 
) const

cellPoints using cells

Definition at line 51 of file primitiveMeshCellPoints.C.

const Foam::labelList & cellPoints ( const label  cellI  )  const

Definition at line 93 of file primitiveMeshCellPoints.C.

const Foam::labelList & pointCells ( const label  pointI,
DynamicList< label > &  storage 
) const

pointCells using pointFaces

Definition at line 112 of file primitiveMeshPointCells.C.

const Foam::labelList & pointCells ( const label  pointI  )  const

Definition at line 166 of file primitiveMeshPointCells.C.

const Foam::labelList & pointPoints ( const label  pointI,
DynamicList< label > &  storage 
) const

pointPoints using edges, pointEdges

Definition at line 95 of file primitiveMeshPointPoints.C.

const Foam::labelList & pointPoints ( const label  pointI  )  const

Definition at line 127 of file primitiveMeshPointPoints.C.

const Foam::labelList & faceEdges ( const label  faceI,
DynamicList< label > &  storage 
) const

faceEdges using pointFaces, edges, pointEdges

Definition at line 576 of file primitiveMeshEdges.C.

const Foam::labelList & faceEdges ( const label  faceI  )  const

Definition at line 613 of file primitiveMeshEdges.C.

const Foam::labelList & edgeFaces ( const label  edgeI,
DynamicList< label > &  storage 
) const

edgeFaces using pointFaces, edges, pointEdges

Definition at line 50 of file primitiveMeshEdgeFaces.C.

const Foam::labelList & edgeFaces ( const label  edgeI  )  const

Definition at line 95 of file primitiveMeshEdgeFaces.C.

const Foam::labelList & edgeCells ( const label  edgeI,
DynamicList< label > &  storage 
) const

edgeCells using pointFaces, edges, pointEdges

Definition at line 50 of file primitiveMeshEdgeCells.C.

const Foam::labelList & edgeCells ( const label  edgeI  )  const

Definition at line 119 of file primitiveMeshEdgeCells.C.

const Foam::labelList & cellEdges ( const label  cellI,
DynamicList< label > &  storage 
) const

cellEdges using cells, pointFaces, edges, pointEdges

Definition at line 620 of file primitiveMeshEdges.C.

References primitiveMesh::faceEdges().

Here is the call graph for this function:

const Foam::labelList & cellEdges ( const label  cellI  )  const

Definition at line 662 of file primitiveMeshEdges.C.

References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append().

Here is the call graph for this function:

void clearGeom (  ) 

Clear geometry.

Reimplemented in polyMesh.

Definition at line 118 of file primitiveMeshClear.C.

References Foam::Pout.

void clearAddressing (  ) 

Clear topological data.

Reimplemented in polyMesh.

Definition at line 134 of file primitiveMeshClear.C.

void clearOut (  ) 

Clear all geometry and addressing unnecessary for CFD.

Reimplemented in fvMesh, and polyMesh.

Definition at line 163 of file primitiveMeshClear.C.

Referenced by primitiveMesh::calcPointOrder().

Here is the caller graph for this function:


Member Data Documentation

const unsigned cellsPerEdge_ = 4 [static]

Estimated number of cells per edge.

Definition at line 307 of file primitiveMesh.H.

const unsigned cellsPerPoint_ = 8 [static]

Estimated number of cells per point.

Definition at line 310 of file primitiveMesh.H.

const unsigned facesPerCell_ = 6 [static]

Estimated number of faces per cell.

Definition at line 313 of file primitiveMesh.H.

const unsigned facesPerEdge_ = 4 [static]

Estimated number of faces per edge.

Definition at line 316 of file primitiveMesh.H.

const unsigned facesPerPoint_ = 12 [static]

Estimated number of faces per point.

Definition at line 319 of file primitiveMesh.H.

const unsigned edgesPerCell_ = 12 [static]

Estimated number of edges per cell.

Definition at line 322 of file primitiveMesh.H.

const unsigned edgesPerFace_ = 4 [static]

Estimated number of edges per cell.

Definition at line 325 of file primitiveMesh.H.

const unsigned edgesPerPoint_ = 6 [static]

Estimated number of edges per point.

Definition at line 328 of file primitiveMesh.H.

const unsigned pointsPerCell_ = 8 [static]

Estimated number of points per cell.

Definition at line 331 of file primitiveMesh.H.

const unsigned pointsPerFace_ = 4 [static]

Estimated number of points per face.

Definition at line 334 of file primitiveMesh.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd