Public Member Functions | List of all members
preserveFaceZones Class Reference

Constraint to keep/move owner and neighbour of faceZone onto same processor. More...

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

Public Member Functions

 TypeName ("preserveFaceZones")
 
 preserveFaceZones (const dictionary &dict)
 
 preserveFaceZones (const UList< wordRe > &zones)
 
virtual ~preserveFaceZones ()=default
 
virtual void add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
 
virtual void apply (const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const
 
- Public Member Functions inherited from decompositionConstraint
 TypeName ("decompositionConstraint")
 
 declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &dict),(dict))
 
 decompositionConstraint (const dictionary &constraintDict)
 
 decompositionConstraint (const dictionary &constraintDict, const word &modelType)
 
virtual ~decompositionConstraint ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from decompositionConstraint
static autoPtr< decompositionConstraintNew (const dictionary &constraintDict)
 
static autoPtr< decompositionConstraintNew (const dictionary &constraintDict, const word &modelType)
 
- Protected Member Functions inherited from decompositionConstraint
void getMinBoundaryValue (const polyMesh &mesh, const labelList &decomposition, labelList &destProc) const
 
 decompositionConstraint (const decompositionConstraint &)=delete
 
void operator= (const decompositionConstraint &)=delete
 
- Protected Attributes inherited from decompositionConstraint
dictionary coeffDict_
 

Detailed Description

Constraint to keep/move owner and neighbour of faceZone onto same processor.


Dictionary parameters

Property Description Required Default
type preserveFaceZones yes
zones List of face zone names or regexs yes
Source files

Definition at line 72 of file preserveFaceZonesConstraint.H.

Constructor & Destructor Documentation

◆ preserveFaceZones() [1/2]

preserveFaceZones ( const dictionary dict)
explicit

Definition at line 47 of file preserveFaceZonesConstraint.C.

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

Here is the call graph for this function:

◆ preserveFaceZones() [2/2]

preserveFaceZones ( const UList< wordRe > &  zones)
explicit

Definition at line 64 of file preserveFaceZonesConstraint.C.

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

Here is the call graph for this function:

◆ ~preserveFaceZones()

virtual ~preserveFaceZones ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "preserveFaceZones"  )

◆ add()

void add ( const polyMesh mesh,
boolList blockedFace,
PtrList< labelList > &  specifiedProcessorFaces,
labelList specifiedProcessor,
List< labelPair > &  explicitConnections 
) const
virtual

Implements decompositionConstraint.

Definition at line 83 of file preserveFaceZonesConstraint.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, mesh, ZoneMesh::names(), reduce(), List::setSize(), and zoneIDs.

Here is the call graph for this function:

◆ apply()

void apply ( const polyMesh mesh,
const boolList blockedFace,
const PtrList< labelList > &  specifiedProcessorFaces,
const labelList specifiedProcessor,
const List< labelPair > &  explicitConnections,
labelList decomposition 
) const
virtual

Reimplemented from decompositionConstraint.

Definition at line 124 of file preserveFaceZonesConstraint.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::Info, mesh, ZoneMesh::names(), reduce(), and zoneIDs.

Here is the call graph for this function:

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