Public Member Functions | List of all members
preservePatches Class Reference

Constraint to keep owner and neighbour of (cyclic) patch on same processor. More...

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

Public Member Functions

 TypeName ("preservePatches")
 
 preservePatches (const dictionary &dict)
 
 preservePatches (const UList< wordRe > &patches)
 
virtual ~preservePatches ()=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 owner and neighbour of (cyclic) patch on same processor.


Dictionary parameters

Property Description Required Default
type preservePatches yes
patches List of patch names or regexs yes
Source files

Definition at line 74 of file preservePatchesConstraint.H.

Constructor & Destructor Documentation

◆ preservePatches() [1/2]

preservePatches ( const dictionary dict)
explicit

Definition at line 47 of file preservePatchesConstraint.C.

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

Here is the call graph for this function:

◆ preservePatches() [2/2]

preservePatches ( const UList< wordRe > &  patches)
explicit

Definition at line 66 of file preservePatchesConstraint.C.

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

Here is the call graph for this function:

◆ ~preservePatches()

virtual ~preservePatches ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "preservePatches"  )

◆ add()

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

◆ apply()

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

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