Public Member Functions | List of all members
layerAdditionRemoval Class Reference

Cell layer addition mesh modifier. More...

Inheritance diagram for layerAdditionRemoval:
Inheritance graph
[legend]
Collaboration diagram for layerAdditionRemoval:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("layerAdditionRemoval")
 
 layerAdditionRemoval (const word &name, const label index, const polyTopoChanger &ptc, const word &zoneName, const scalar minThickness, const scalar maxThickness, const bool thicknessFromVolume=true)
 
 layerAdditionRemoval (const word &name, const dictionary &dict, const label index, const polyTopoChanger &ptc)
 
virtual ~layerAdditionRemoval ()=default
 
virtual bool changeTopology () const
 
virtual void setRefinement (polyTopoChange &) const
 
virtual void modifyMotionPoints (pointField &motionPoints) const
 
virtual void updateMesh (const mapPolyMesh &)
 
scalar minLayerThickness () const
 
void setMinLayerThickness (const scalar t) const
 
scalar maxLayerThickness () const
 
void setMaxLayerThickness (const scalar t) const
 
virtual void write (Ostream &) const
 
virtual void writeDict (Ostream &) const
 
- Public Member Functions inherited from polyMeshModifier
 TypeName ("meshModifier")
 
 declareRunTimeSelectionTable (autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme))
 
 polyMeshModifier (const word &name, const label index, const polyTopoChanger &mme, const bool act)
 
virtual ~polyMeshModifier ()=default
 
const wordname () const
 
label index () const
 
const polyTopoChangertopoChanger () const
 
Switch active () const
 
void enable () const
 
void disable () const
 

Additional Inherited Members

- Static Public Member Functions inherited from polyMeshModifier
static autoPtr< polyMeshModifierNew (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 

Detailed Description

Cell layer addition mesh modifier.

Source files

Definition at line 51 of file layerAdditionRemoval.H.

Constructor & Destructor Documentation

◆ layerAdditionRemoval() [1/2]

layerAdditionRemoval ( const word name,
const label  index,
const polyTopoChanger ptc,
const word zoneName,
const scalar  minThickness,
const scalar  maxThickness,
const bool  thicknessFromVolume = true 
)

Definition at line 101 of file layerAdditionRemoval.C.

◆ layerAdditionRemoval() [2/2]

layerAdditionRemoval ( const word name,
const dictionary dict,
const label  index,
const polyTopoChanger ptc 
)

Definition at line 127 of file layerAdditionRemoval.C.

◆ ~layerAdditionRemoval()

virtual ~layerAdditionRemoval ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "layerAdditionRemoval"  )

◆ changeTopology()

bool changeTopology ( ) const
virtual

◆ setRefinement()

void setRefinement ( polyTopoChange ref) const
virtual

Implements polyMeshModifier.

Definition at line 349 of file layerAdditionRemoval.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), mesh, Foam::name(), Foam::Pout, ref(), and timeIndex.

Here is the call graph for this function:

◆ modifyMotionPoints()

void modifyMotionPoints ( pointField motionPoints) const
virtual

Implements polyMeshModifier.

Definition at line 210 of file setLayerPairing.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::name(), and Foam::Pout.

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh )
virtual

Implements polyMeshModifier.

Definition at line 388 of file layerAdditionRemoval.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), mesh, Foam::name(), and Foam::Pout.

Here is the call graph for this function:

◆ minLayerThickness()

scalar minLayerThickness ( ) const
inline

Definition at line 189 of file layerAdditionRemoval.H.

◆ setMinLayerThickness()

void setMinLayerThickness ( const scalar  t) const

Definition at line 413 of file layerAdditionRemoval.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ maxLayerThickness()

scalar maxLayerThickness ( ) const
inline

Definition at line 198 of file layerAdditionRemoval.H.

◆ setMaxLayerThickness()

void setMaxLayerThickness ( const scalar  t) const

Definition at line 426 of file layerAdditionRemoval.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Implements polyMeshModifier.

Definition at line 439 of file layerAdditionRemoval.C.

References Foam::endl(), Foam::name(), Foam::nl, os(), and Foam::type().

Here is the call graph for this function:

◆ writeDict()

void writeDict ( Ostream os) const
virtual

Implements polyMeshModifier.

Definition at line 451 of file layerAdditionRemoval.C.

References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::name(), Foam::nl, os(), and Foam::type().

Here is the call graph for this function:

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