Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
decompositionConstraint Class Referenceabstract
Inheritance diagram for decompositionConstraint:
Inheritance graph
[legend]
Collaboration diagram for decompositionConstraint:
Collaboration graph
[legend]

Public Member Functions

 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...
 
virtual void add (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const =0
 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. Usually no. More...
 

Static Public Member Functions

static autoPtr< decompositionConstraintNew (const dictionary &constraintsDict, const word &type)
 Return a reference to the selected decompositionConstraint. More...
 

Protected Attributes

dictionary coeffDict_
 Model coefficients dictionary. More...
 

Detailed Description

Source files

Definition at line 54 of file decompositionConstraint.H.

Constructor & Destructor Documentation

◆ decompositionConstraint()

decompositionConstraint ( const dictionary constraintsDict,
const word type 
)

Construct with generic dictionary with optional entry for type.

Definition at line 39 of file decompositionConstraint.C.

References decompositionConstraint::New().

Here is the call graph for this function:

◆ ~decompositionConstraint()

Destructor.

Definition at line 81 of file decompositionConstraint.C.

Member Function Documentation

◆ TypeName()

TypeName ( "decompositionConstraint"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
decompositionConstraint  ,
dictionary  ,
(const dictionary &constraintsDict, const word &type ,
(constraintsDict, type  
)

◆ New()

Foam::autoPtr< Foam::decompositionConstraint > New ( const dictionary constraintsDict,
const word type 
)
static

Return a reference to the selected decompositionConstraint.

Definition at line 52 of file decompositionConstraint.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::Info, and Foam::nl.

Referenced by decompositionConstraint::decompositionConstraint(), and decompositionMethod::decompositionMethod().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add()

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

◆ apply()

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

Apply any additional post-decomposition constraints. Usually no.

need to do anything since decomposition method should have already obeyed the constraints

Reimplemented in singleProcessorFaceSetsConstraint, preservePatchesConstraint, preserveFaceZonesConstraint, preserveBafflesConstraint, and refinementHistoryConstraint.

Definition at line 134 of file decompositionConstraint.H.

Member Data Documentation

◆ coeffDict_

dictionary coeffDict_
protected

Model coefficients dictionary.

Definition at line 61 of file decompositionConstraint.H.

Referenced by preserveBafflesConstraint::add().


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