polyModifyFace Class Reference

Class describing modification of a face. More...

Inheritance diagram for polyModifyFace:
[legend]
Collaboration diagram for polyModifyFace:
[legend]

Public Member Functions

 TypeName ("modifyFace")
 Runtime type information. More...
 
 polyModifyFace ()
 Construct null. Used in constructing lists. More...
 
 polyModifyFace (const face &f, const label faceID, const label owner, const label neighbour, const bool flipFaceFlux, const label patchID, const bool removeFromZone, const label zoneID, const bool zoneFlip)
 Construct from components. More...
 
virtual autoPtr< topoActionclone () const
 Construct and return a clone. More...
 
const facenewFace () const
 Return face. More...
 
label faceID () const
 Return master face ID. More...
 
label owner () const
 Return owner cell ID. More...
 
label neighbour () const
 Return owner cell ID. More...
 
bool flipFaceFlux () const
 Does the face flux need to be flipped. More...
 
bool isInPatch () const
 Does the face belong to a boundary patch? More...
 
label patchID () const
 Boundary patch ID. More...
 
bool isInZone () const
 Does the face belong to a zone? More...
 
bool onlyInZone () const
 Is the face only a zone face (i.e. not belonging to a cell) More...
 
bool removeFromZone () const
 
label zoneID () const
 Face zone ID. More...
 
label zoneFlip () const
 Face zone flip. More...
 
- Public Member Functions inherited from topoAction
 TypeName ("topoAction")
 Runtime type information. More...
 
 topoAction ()
 Construct null. More...
 
virtual ~topoAction ()=default
 Destructor. More...
 

Detailed Description

Class describing modification of a face.

Definition at line 50 of file polyModifyFace.H.

Constructor & Destructor Documentation

◆ polyModifyFace() [1/2]

polyModifyFace ( )
inline

Construct null. Used in constructing lists.

Definition at line 95 of file polyModifyFace.H.

Referenced by polyModifyFace::clone().

Here is the caller graph for this function:

◆ polyModifyFace() [2/2]

polyModifyFace ( const face f,
const label  faceID,
const label  owner,
const label  neighbour,
const bool  flipFaceFlux,
const label  patchID,
const bool  removeFromZone,
const label  zoneID,
const bool  zoneFlip 
)
inline

Construct from components.

Definition at line 110 of file polyModifyFace.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::min(), and polyModifyFace::zoneFlip().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "modifyFace"  )

Runtime type information.

◆ clone()

virtual autoPtr<topoAction> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements topoAction.

Definition at line 189 of file polyModifyFace.H.

References polyModifyFace::polyModifyFace().

Here is the call graph for this function:

◆ newFace()

const face& newFace ( ) const
inline

Return face.

Definition at line 200 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ faceID()

label faceID ( ) const
inline

Return master face ID.

Definition at line 206 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ owner()

label owner ( ) const
inline

Return owner cell ID.

Definition at line 212 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ neighbour()

label neighbour ( ) const
inline

Return owner cell ID.

Definition at line 218 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ flipFaceFlux()

bool flipFaceFlux ( ) const
inline

Does the face flux need to be flipped.

Definition at line 224 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ isInPatch()

bool isInPatch ( ) const
inline

Does the face belong to a boundary patch?

Definition at line 230 of file polyModifyFace.H.

◆ patchID()

label patchID ( ) const
inline

Boundary patch ID.

Definition at line 236 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ isInZone()

bool isInZone ( ) const
inline

Does the face belong to a zone?

Definition at line 242 of file polyModifyFace.H.

◆ onlyInZone()

bool onlyInZone ( ) const
inline

Is the face only a zone face (i.e. not belonging to a cell)

Definition at line 248 of file polyModifyFace.H.

◆ removeFromZone()

bool removeFromZone ( ) const
inline

Definition at line 253 of file polyModifyFace.H.

◆ zoneID()

label zoneID ( ) const
inline

Face zone ID.

Definition at line 259 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

◆ zoneFlip()

label zoneFlip ( ) const
inline

Face zone flip.

Definition at line 265 of file polyModifyFace.H.

Referenced by polyModifyFace::polyModifyFace(), and polyTopoChange::setAction().

Here is the caller graph for this function:

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