Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
cutFace Class Reference

Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections. More...

Inheritance diagram for cutFace:
Inheritance graph
[legend]

Public Member Functions

 cutFace (const fvMesh &mesh)
 

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)
 
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)
 

Detailed Description

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)

Source files

Definition at line 55 of file cutFace.H.

Constructor & Destructor Documentation

◆ cutFace()

cutFace ( const fvMesh mesh)
explicit

Definition at line 325 of file cutFace.C.

Member Function Documentation

◆ calcSubFace() [1/3]

void calcSubFace ( const label  faceI,
const scalarList pointStatus,
label  firstFullySubmergedPoint,
DynamicList< point > &  subFacePoints,
DynamicList< point > &  surfacePoints,
label &  faceStatus,
vector subFaceCentre,
vector subFaceArea 
)
protected

Definition at line 32 of file cutFace.C.

References DynamicList::append(), f(), p, points, and Foam::Zero.

Referenced by cutFacePLIC::calcSubFace(), cutFaceIso::calcSubFace(), and cutFaceAdvect::calcSubFace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcSubFace() [2/3]

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 
)
protected

Definition at line 109 of file cutFace.C.

References DynamicList::append(), f(), p, points, and Foam::Zero.

Here is the call graph for this function:

◆ calcSubFaceCentreAndArea()

void calcSubFaceCentreAndArea ( DynamicList< point > &  subFacePoints,
vector subFaceCentre,
vector subFaceArea 
)
protected

Definition at line 258 of file cutFace.C.

References Foam::constant::universal::c, Foam::mag(), n, nPoints, Foam::constant::mathematical::pi(), and Foam::Zero.

Here is the call graph for this function:

◆ calcSubFace() [3/3]

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 
)
protected

Definition at line 184 of file cutFace.C.

References DynamicList::append(), f(), p, points, and Foam::Zero.

Here is the call graph for this function:

Member Data Documentation

◆ debug

int debug = 0
static

Definition at line 130 of file cutFace.H.


The documentation for this class was generated from the following files: