Public Member Functions | Private Attributes
singleProcessorFaceSetsConstraint Class Reference
Inheritance diagram for singleProcessorFaceSetsConstraint:
Inheritance graph
[legend]
Collaboration diagram for singleProcessorFaceSetsConstraint:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("singleProcessorFaceSets")
 Runtime type information. More...
 
 singleProcessorFaceSetsConstraint (const dictionary &constraintsDict, const word &type)
 Construct with generic dictionary with optional entry for type. More...
 
 singleProcessorFaceSetsConstraint (const List< Tuple2< word, label > > &setNameAndProcs)
 Construct from components. More...
 
virtual ~singleProcessorFaceSetsConstraint ()
 Destructor. More...
 
virtual void add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
 Add my constraints to list of constraints. More...
 
virtual void apply (const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &decomposition) const
 Apply any additional post-decomposition constraints. More...
 
- Public Member Functions inherited from decompositionConstraint
 TypeName ("decompositionConstraint")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, decompositionConstraint, dictionary,(const dictionary &constraintsDict, const word &type),(constraintsDict, type))
 
 decompositionConstraint (const dictionary &constraintsDict, const word &type)
 Construct with generic dictionary with optional entry for type. More...
 
virtual ~decompositionConstraint ()
 Destructor. More...
 

Private Attributes

List< Tuple2< word, label > > setNameAndProcs_
 List of faceSet+processor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from decompositionConstraint
static autoPtr< decompositionConstraintNew (const dictionary &constraintsDict, const word &type)
 Return a reference to the selected decompositionConstraint. More...
 
- Protected Attributes inherited from decompositionConstraint
dictionary coeffDict_
 Model coefficients dictionary. More...
 

Detailed Description

Definition at line 53 of file singleProcessorFaceSetsConstraint.H.

Constructor & Destructor Documentation

◆ singleProcessorFaceSetsConstraint() [1/2]

singleProcessorFaceSetsConstraint ( const dictionary constraintsDict,
const word type 
)

Construct with generic dictionary with optional entry for type.

Definition at line 52 of file singleProcessorFaceSetsConstraint.C.

References Foam::endl(), forAll, Foam::Info, and Foam::type().

Here is the call graph for this function:

◆ singleProcessorFaceSetsConstraint() [2/2]

singleProcessorFaceSetsConstraint ( const List< Tuple2< word, label > > &  setNameAndProcs)

Construct from components.

Definition at line 77 of file singleProcessorFaceSetsConstraint.C.

References Foam::endl(), forAll, Foam::Info, and Foam::type().

Here is the call graph for this function:

◆ ~singleProcessorFaceSetsConstraint()

virtual ~singleProcessorFaceSetsConstraint ( )
inlinevirtual

Destructor.

Definition at line 85 of file singleProcessorFaceSetsConstraint.H.

Member Function Documentation

◆ TypeName()

TypeName ( "singleProcessorFaceSets"  )

Runtime type information.

◆ add()

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

Add my constraints to list of constraints.

Implements decompositionConstraint.

Definition at line 102 of file singleProcessorFaceSetsConstraint.C.

References List::append(), PtrList::append(), Foam::endl(), f(), forAll, forAllConstIter(), Foam::Info, mesh, pFaces, Foam::reduce(), List::setSize(), PtrList::size(), HashTable::size(), HashTable::sortedToc(), and Foam::type().

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

Apply any additional post-decomposition constraints.

Reimplemented from decompositionConstraint.

Definition at line 226 of file singleProcessorFaceSetsConstraint.C.

References Foam::endl(), f(), forAll, Foam::Info, mesh, pFaces, Foam::reduce(), List::size(), and Foam::type().

Here is the call graph for this function:

Field Documentation

◆ setNameAndProcs_

List<Tuple2<word, label> > setNameAndProcs_
private

List of faceSet+processor.

Definition at line 60 of file singleProcessorFaceSetsConstraint.H.


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