An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields. More...
Public Member Functions | |
TypeName ("lduInterfaceField") | |
Runtime type information. More... | |
lduInterfaceField (const lduInterface &patch) | |
Construct given coupled patch. More... | |
virtual | ~lduInterfaceField ()=default |
Destructor. More... | |
const lduInterface & | interface () const |
Return the interface. More... | |
virtual const word & | interfaceFieldType () const |
Return the interface type. More... | |
bool | updatedMatrix () const |
Whether matrix has been updated. More... | |
bool & | updatedMatrix () |
Whether matrix has been updated. More... | |
virtual bool | ready () const |
Is all data available. More... | |
virtual void | initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
virtual void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const =0 |
template<class Type > | |
void | addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const |
Add/subtract weighted contributions to internal field. More... | |
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields.
Definition at line 58 of file lduInterfaceField.H.
|
inlineexplicit |
Construct given coupled patch.
Definition at line 88 of file lduInterfaceField.H.
|
virtualdefault |
Destructor.
TypeName | ( | "lduInterfaceField" | ) |
Runtime type information.
|
inline |
Return the interface.
Definition at line 104 of file lduInterfaceField.H.
|
inlinevirtual |
Return the interface type.
Reimplemented in jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicAMIFvPatchField< Type >, and jumpCyclicAMIFvPatchField< scalar >.
Definition at line 110 of file lduInterfaceField.H.
Referenced by GAMGInterfaceField::New().
|
inline |
Whether matrix has been updated.
Definition at line 119 of file lduInterfaceField.H.
Referenced by processorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorGAMGInterfaceField::initInterfaceMatrixUpdate(), calculatedProcessorGAMGInterfaceField::initInterfaceMatrixUpdate(), processorFvPatchField< Type >::updateInterfaceMatrix(), processorGAMGInterfaceField::updateInterfaceMatrix(), and calculatedProcessorGAMGInterfaceField::updateInterfaceMatrix().
|
inline |
Whether matrix has been updated.
Definition at line 125 of file lduInterfaceField.H.
|
inlinevirtual |
Is all data available.
Reimplemented in calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, and lduCalculatedProcessorField< Type >.
Definition at line 131 of file lduInterfaceField.H.
|
inlinevirtual |
Initialise neighbour matrix update. Add/subtract coupled contributions to matrix
Reimplemented in LduInterfaceField< Type >, LduInterfaceField< scalar >, LduInterfaceField< vector >, processorFaPatchField< Type >, processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, calculatedProcessorGAMGInterfaceField, and processorFaPatchField< Type >.
Definition at line 138 of file lduInterfaceField.H.
|
pure virtual |
Update result field based on interface functionality. Add/subtract coupled contributions to matrix
Implemented in LduInterfaceField< scalar >, LduInterfaceField< vector >, LduInterfaceField< Type >, processorFaPatchField< Type >, processorFaPatchField< Type >, cyclicFaPatchField< Type >, processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, cyclicFvPatchField< Type >, cyclicFvPatchField< scalar >, cyclicFvPatchField< vector >, cyclicACMIFvPatchField< Type >, cyclicAMIFvPatchField< Type >, cyclicAMIFvPatchField< scalar >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< scalar >, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< scalar >, processorFvPatchField< Type >, cyclicACMIGAMGInterfaceField, cyclicAMIGAMGInterfaceField, lduCalculatedProcessorField< Type >, cyclicGAMGInterfaceField, processorGAMGInterfaceField, calculatedProcessorGAMGInterfaceField, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< scalar >, coupledFaPatchField< Type >, coupledFvPatchField< Type >, coupledFvPatchField< scalar >, and coupledFvPatchField< vector >.
void addToInternalField | ( | Field< Type > & | result, |
const bool | add, | ||
const labelUList & | faceCells, | ||
const scalarField & | coeffs, | ||
const Field< Type > & | vals | ||
) | const |
Add/subtract weighted contributions to internal field.
Definition at line 31 of file lduInterfaceFieldTemplates.C.
References Foam::add(), and forAll.