Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections. More...
Public Member Functions | |
cutFace (const fvMesh &mesh) | |
Construct from fvMesh. More... | |
Static Public Attributes | |
static int | debug = 0 |
Protected Member Functions | |
void | calcSubFace (const label faceI, const scalarList &pointStatus, label firstFullySubmergedPoint, DynamicList< point > &subFacePoints, DynamicList< point > &surfacePoints, label &faceStatus, vector &subFaceCentre, vector &subFaceArea) |
void | calcSubFace (const label faceI, const scalarList &pointStatus, const scalarList &weights, label firstFullySubmergedPoint, DynamicList< point > &subFacePoints, DynamicList< point > &surfacePoints, label &faceStatus, vector &subFaceCentre, vector &subFaceArea) |
void | calcSubFaceCentreAndArea (DynamicList< point > &subFacePoints, vector &subFaceCentre, vector &subFaceArea) |
Calculates centre and normal of the face. More... | |
void | calcSubFace (const face &f, const pointField &points, const scalarList &pointStatus, label firstFullySubmergedPoint, DynamicList< point > &subFacePoints, DynamicList< point > &surfacePoints, label &faceStatus, vector &subFaceCentre, vector &subFaceArea) |
Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections.
Original code supplied by Johan Roenby, DHI (2016) Henning Scheufler, DLR (2019)
|
protected |
Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where:
0: faceStatus is cut (has values larger and smaller than isoValue)
Definition at line 38 of file cutFace.C.
References DynamicList< T, SizeMin >::append(), cutFace::calcSubFaceCentreAndArea(), f(), polyMesh::faces(), p, points, polyMesh::points(), UList< T >::size(), and Foam::Zero.
Referenced by cutFaceIso::calcSubFace(), cutFaceAdvect::calcSubFace(), and cutFacePLIC::calcSubFace().
|
protected |
Calculate cut points along edges of face with pointStatus, pointfield, weights and computes geometric information and the face status where:
0: faceStatus is cut (has values larger and smaller than isoValue)
Definition at line 115 of file cutFace.C.
References DynamicList< T, SizeMin >::append(), f(), p, points, UList< T >::size(), and Foam::Zero.
|
protected |
Calculates centre and normal of the face.
Definition at line 264 of file cutFace.C.
References Foam::mag(), n, nPoints, UList< T >::size(), and Foam::Zero.
Referenced by cutFace::calcSubFace().
|
protected |
Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where:
0: faceStatus is cut (has values larger and smaller than isoValue)
Definition at line 190 of file cutFace.C.
References DynamicList< T, SizeMin >::append(), f(), p, points, UList< T >::size(), and Foam::Zero.