Go to the documentation of this file.
58 bool hasInvalid(
false);
61 # pragma omp parallel for schedule(dynamic, 50)
65 const face& bf = bFaces[bfI];
72 scalar minDist(VGREAT);
90 n /= (
mag(
n) + VSMALL);
94 const scalar d = (
points[bf[pI]] - triCentre) &
n;
96 if( d >
tol_ * minDist )
polyMeshGen & mesh_
Reference to the mesh.
boolList invertedCell_
boolean list containing information about inverted cells
void decomposeMesh(const boolList &)
perform decomposition of selected cell into pyramids
#define forAll(list, i)
Loop across all elements in list.
const VRWGraph & newFacesForFace() const
A List obtained as a section of another List.
point centre(const pointField &) const
Centre point of face.
const pointFieldPMG & points() const
access to points
dimensioned< scalar > mag(const dimensioned< Type > &)
const meshSurfaceEngine & surfaceEngine() const
return const reference to meshSurfaceEngine
void updateFaceSubsets(const ListType &)
label nInternalFaces() const
return number of internal faces
Point centre() const
Return centre (centroid)
A triangle primitive used to calculate face normals and swept volumes.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
const faceList::subList & boundaryFaces() const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar tol_
relative deviation compared to the layer thickness
vector normal() const
Return vector normal.
boolList decomposeFace_
classification of faces in the mesh
void decomposeCellsIntoPyramids()
decompose adjacent cells into pyramids
void decomposeMeshFaces(const boolList &decomposeFace)
decompose selected faces into triangles using midnode subdivision
label nextLabel(const label i) const
Next vertex on face.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool findNonPlanarBoundaryFaces()
const dimensionedScalar c
Speed of light in a vacuum.
void decomposeBoundaryFaces()
decompose existing faces
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const labelList & faceOwners() const