Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an plane defined by normal and a base point. More...
Public Member Functions  
cutFacePLIC (const fvMesh &mesh)  
Construct from fvMesh and a scalarField. More...  
label  calcSubFace (const label faceI, const vector &normal, const vector &base) 
Calculate cut points along edges of faceI. More...  
const point &  subFaceCentre () const 
Returns centre of cutted face. More...  
const vector &  subFaceArea () const 
Returns area vector of cutted face. More...  
const DynamicList< point > &  subFacePoints () const 
Returns the cut edge of the cutted face. More...  
const DynamicList< point > &  surfacePoints () const 
Returns point of the face in sorted of cutted face. More...  
void  clearStorage () 
Resets internal variables. More...  
Public Member Functions inherited from cutFace  
cutFace (const fvMesh &mesh)  
Construct from fvMesh. More...  
Additional Inherited Members  
Static Public Attributes inherited from cutFace  
static int  debug = 0 
Protected Member Functions inherited from cutFace  
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) 
Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an plane defined by normal and a base point.
Henning Scheufler, Johan Roenby, Accurate and efficient surface reconstruction from volume fraction data on general meshes, Journal of Computational Physics, 2019, doi 10.1016/j.jcp.2019.01.009
Original code supplied by Henning Scheufler, DLR (2019)
Definition at line 70 of file cutFacePLIC.H.

explicit 
Construct from fvMesh and a scalarField.
Definition at line 34 of file cutFacePLIC.C.
References cutFacePLIC::clearStorage().
Calculate cut points along edges of faceI.
Definition at line 53 of file cutFacePLIC.C.
References cutFace::calcSubFace(), f(), forAll, Foam::mag(), and Foam::Zero.
const Foam::point & subFaceCentre  (  )  const 
Returns centre of cutted face.
Definition at line 118 of file cutFacePLIC.C.
const Foam::vector & subFaceArea  (  )  const 
Returns area vector of cutted face.
Definition at line 124 of file cutFacePLIC.C.
const Foam::DynamicList< Foam::point > & subFacePoints  (  )  const 
Returns the cut edge of the cutted face.
Definition at line 130 of file cutFacePLIC.C.
const Foam::DynamicList< Foam::point > & surfacePoints  (  )  const 
Returns point of the face in sorted of cutted face.
Definition at line 136 of file cutFacePLIC.C.
void clearStorage  (  ) 
Resets internal variables.
Definition at line 142 of file cutFacePLIC.C.
References Foam::Zero.
Referenced by cutFacePLIC::cutFacePLIC().