All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
decompositionConstraint Class Referenceabstract
Inheritance diagram for decompositionConstraint:
Collaboration diagram for decompositionConstraint:

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...
 
 decompositionConstraint (const decompositionConstraint &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const decompositionConstraint &)=delete
 Disallow default bitwise assignment. 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

Constructor & Destructor Documentation

◆ decompositionConstraint() [1/2]

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() [2/2]

Disallow default bitwise copy construction.

◆ ~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 128 of file decompositionConstraint.H.

References decompositionConstraint::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const decompositionConstraint )
delete

Disallow default bitwise assignment.

Referenced by decompositionConstraint::apply().

Here is the caller graph for this function:

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: