30 template<
class Class,
class Type>
33 const Type& (Class::*method)()
const,
34 const Type& (Class::*otherMethod)()
const
37 return method == otherMethod;
41 template<
class Class,
class Type,
class OtherType>
44 const Type& (Class::*method)()
const,
45 const OtherType& (Class::*otherMethod)()
const
56 return nInternalPoints_;
70 return nInternal0Edges_;
78 return nInternal1Edges_;
86 return nInternalEdges_;
94 nEdges_ = edges().size();
103 return nInternalFaces_;
121 return faceIndex < nInternalFaces();
Cell-face mesh analysis engine.
label nInternal1Edges() const
Internal edges using 0 or 1 boundary point.
const labelListList & pointEdges() const
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
label nInternalEdges() const
Internal edges using 0,1 or 2 boundary points.
const labelListList & cellEdges() const
const vectorField & faceCentres() const
label nInternalPoints() const
Points not on boundary.
const labelListList & pointCells() const
const scalarField & cellVolumes() const
label nInternalFaces() const
const vectorField & cellCentres() const
const cellShapeList & cellShapes() const
Return cell shapes.
const labelListList & cellCells() const
const labelListList & cellPoints() const
static bool isMethod(const Type &(Class::*method)() const, const Type &(Class::*otherMethod)() const)
Test if the supplied methods are the same. Same type overload.
bool has(const Type &(primitiveMesh::*method)() const) const
Return whether the result of the given method has been allocated.
const scalarField & magFaceAreas() const
const labelListList & pointFaces() const
const labelListList & edgeFaces() const
const labelListList & pointPoints() const
const labelListList & faceEdges() const
const labelListList & edgeCells() const
const vectorField & faceAreas() const
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
const cellList & cells() const
label nInternal0Edges() const
Internal edges (i.e. not on boundary face) using.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.