refinementHistoryConstraint Class Reference

Constraint to keep all cells originating from refining the same cell onto the same processor. Reads polyMesh/refinementHistory. More...

Inheritance diagram for refinementHistoryConstraint:
Collaboration diagram for refinementHistoryConstraint:

Public Member Functions

 TypeName ("refinementHistory")
 Runtime type information. More...
 
 refinementHistoryConstraint (const dictionary &constraintsDict, const word &type)
 Construct with generic dictionary with optional entry for type. More...
 
 refinementHistoryConstraint ()
 Construct from components. More...
 
virtual ~refinementHistoryConstraint ()
 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...
 
 decompositionConstraint (const decompositionConstraint &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~decompositionConstraint ()
 Destructor. More...
 
void operator= (const decompositionConstraint &)=delete
 Disallow default bitwise assignment. 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

Constraint to keep all cells originating from refining the same cell onto the same processor. Reads polyMesh/refinementHistory.

Source files

Definition at line 50 of file refinementHistoryConstraint.H.

Constructor & Destructor Documentation

◆ refinementHistoryConstraint() [1/2]

refinementHistoryConstraint ( const dictionary constraintsDict,
const word type 
)

Construct with generic dictionary with optional entry for type.

Definition at line 48 of file refinementHistoryConstraint.C.

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

Here is the call graph for this function:

◆ refinementHistoryConstraint() [2/2]

Construct from components.

Definition at line 64 of file refinementHistoryConstraint.C.

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

Here is the call graph for this function:

◆ ~refinementHistoryConstraint()

virtual ~refinementHistoryConstraint ( )
inlinevirtual

Destructor.

Definition at line 76 of file refinementHistoryConstraint.H.

Member Function Documentation

◆ TypeName()

TypeName ( "refinementHistory"  )

Runtime type information.

◆ 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: