polyModifyFace Class Reference

Class describing modification of a face. More...

Inheritance diagram for polyModifyFace:
Collaboration diagram for polyModifyFace:

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 ()
 Destructor. More...
 

Detailed Description

Class describing modification of a face.

Definition at line 48 of file polyModifyFace.H.

Constructor & Destructor Documentation

◆ polyModifyFace() [1/2]

polyModifyFace ( )
inline

Construct null. Used in constructing lists.

Definition at line 93 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 108 of file polyModifyFace.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::min(), and List< T >::size().

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 187 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 198 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 204 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 210 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 216 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 222 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 228 of file polyModifyFace.H.

◆ patchID()

label patchID ( ) const
inline

Boundary patch ID.

Definition at line 234 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 240 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 246 of file polyModifyFace.H.

◆ removeFromZone()

bool removeFromZone ( ) const
inline

Definition at line 251 of file polyModifyFace.H.

◆ zoneID()

label zoneID ( ) const
inline

Face zone ID.

Definition at line 257 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 263 of file polyModifyFace.H.

Referenced by polyTopoChange::setAction().

Here is the caller graph for this function:

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