An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields. More...
#include <lduInterfaceField.H>

Public Member Functions | |
| TypeName ("lduInterfaceField") | |
| Runtime type information. | |
| lduInterfaceField (const lduInterfaceField &)=delete | |
| No copy construct. | |
| void | operator= (const lduInterfaceField &)=delete |
| No copy assignment. | |
| lduInterfaceField (const lduInterface &patch) | |
| Construct given coupled patch. | |
| virtual | ~lduInterfaceField ()=default |
| Destructor. | |
| const lduInterface & | interface () const noexcept |
| Return the interface. | |
| virtual const word & | interfaceFieldType () const |
| Return the interface type. | |
| virtual bool | ready () const |
| Are all (receive) data available? | |
| bool | updatedMatrix () const noexcept |
| Whether matrix has been updated. | |
| bool | updatedMatrix (bool flag) const noexcept |
| Set matrix as update-to-date, return the previous value. | |
| 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 |
| Initialise neighbour matrix update. Add/subtract coupled contributions to matrix. | |
| 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 |
| Update result field based on interface functionality. Add/subtract coupled contributions to matrix. | |
| 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. | |
| bool & | updatedMatrix () noexcept |
| Adjust whether matrix has been updated. | |
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields.
Definition at line 55 of file lduInterfaceField.H.
|
delete |
No copy construct.
References lduInterfaceField().
Referenced by coupledFaPatchField< Type >::coupledFaPatchField(), coupledFaPatchField< Type >::coupledFaPatchField(), coupledFaPatchField< Type >::coupledFaPatchField(), coupledFaPatchField< Type >::coupledFaPatchField(), coupledFaPatchField< Type >::coupledFaPatchField(), coupledFaPatchField< Type >::coupledFaPatchField(), GAMGInterfaceField::declareRunTimeSelectionTable(), GAMGInterfaceField::declareRunTimeSelectionTable(), GAMGInterfaceField::GAMGInterfaceField(), GAMGInterfaceField::GAMGInterfaceField(), GAMGInterfaceField::GAMGInterfaceField(), LduInterfaceField< Type >::LduInterfaceField(), lduInterfaceField(), GAMGInterfaceField::New(), and operator=().


|
inlineexplicit |
Construct given coupled patch.
Definition at line 97 of file lduInterfaceField.H.
|
virtualdefault |
Destructor.
| TypeName | ( | "lduInterfaceField" | ) |
Runtime type information.
|
delete |
|
inlinenoexcept |
Return the interface.
Definition at line 115 of file lduInterfaceField.H.
References Foam::noexcept.
Referenced by calculatedProcessorFvPatchField< Type >::calculatedProcessorFvPatchField(), lduCalculatedProcessorField< Type >::ClassName(), lduCalculatedProcessorField< Type >::lduCalculatedProcessorField(), and calculatedProcessorFvPatchField< Type >::TypeName().

|
inlinevirtual |
Return the interface type.
Reimplemented in jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< scalar >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, and jumpCyclicFvPatchField< vector >.
Definition at line 123 of file lduInterfaceField.H.
References Foam::type().
Referenced by GAMGInterfaceField::New().


|
inlinevirtual |
Are all (receive) data available?
Reimplemented in calculatedProcessorFvPatchField< Type >, cyclicACMIFvPatchField< Type >, cyclicACMIGAMGInterfaceField, cyclicAMIFvPatchField< Type >, cyclicAMIFvPatchField< scalar >, cyclicAMIGAMGInterfaceField, lduCalculatedProcessorField< Type >, processorFaPatchField< Type >, processorFvPatchField< Type >, and processorGAMGInterfaceField.
Definition at line 134 of file lduInterfaceField.H.
|
inlinenoexcept |
Whether matrix has been updated.
Definition at line 142 of file lduInterfaceField.H.
References Foam::noexcept.
Referenced by calculatedProcessorFvPatchField< Type >::initInterfaceMatrixUpdate(), calculatedProcessorGAMGInterfaceField::initInterfaceMatrixUpdate(), cyclicACMIFvPatchField< Type >::initInterfaceMatrixUpdate(), cyclicACMIFvPatchField< Type >::initInterfaceMatrixUpdate(), cyclicACMIGAMGInterfaceField::initInterfaceMatrixUpdate(), cyclicAMIFvPatchField< Type >::initInterfaceMatrixUpdate(), cyclicAMIFvPatchField< Type >::initInterfaceMatrixUpdate(), cyclicAMIGAMGInterfaceField::initInterfaceMatrixUpdate(), lduCalculatedProcessorField< Type >::initInterfaceMatrixUpdate(), processorFaPatchField< Type >::initInterfaceMatrixUpdate(), processorFaPatchField< Type >::initInterfaceMatrixUpdate(), processorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorFvPatchField< Type >::initInterfaceMatrixUpdate(), processorGAMGInterfaceField::initInterfaceMatrixUpdate(), calculatedProcessorFvPatchField< Type >::updateInterfaceMatrix(), calculatedProcessorGAMGInterfaceField::updateInterfaceMatrix(), cyclicACMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicACMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicACMIGAMGInterfaceField::updateInterfaceMatrix(), cyclicAMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicAMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicAMIGAMGInterfaceField::updateInterfaceMatrix(), lduCalculatedProcessorField< Type >::updateInterfaceMatrix(), processorFaPatchField< Type >::updateInterfaceMatrix(), processorFaPatchField< Type >::updateInterfaceMatrix(), processorFvPatchField< Type >::updateInterfaceMatrix(), processorFvPatchField< Type >::updateInterfaceMatrix(), and processorGAMGInterfaceField::updateInterfaceMatrix().

|
inlinenoexcept |
Set matrix as update-to-date, return the previous value.
Definition at line 150 of file lduInterfaceField.H.
|
inlinevirtual |
Initialise neighbour matrix update. Add/subtract coupled contributions to matrix.
Reimplemented in calculatedProcessorFvPatchField< Type >, calculatedProcessorGAMGInterfaceField, cyclicACMIFvPatchField< Type >, cyclicACMIGAMGInterfaceField, cyclicAMIFvPatchField< Type >, cyclicAMIFvPatchField< scalar >, cyclicAMIGAMGInterfaceField, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< scalar >, lduCalculatedProcessorField< Type >, LduInterfaceField< Type >, LduInterfaceField< scalar >, LduInterfaceField< vector >, oversetFvPatchField< Type >, processorFaPatchField< Type >, processorFvPatchField< Type >, and processorGAMGInterfaceField.
Definition at line 164 of file lduInterfaceField.H.
References Foam::add().
Referenced by jumpCyclicAMIFvPatchField< Type >::initInterfaceMatrixUpdate(), jumpCyclicAMIFvPatchField< scalar >::initInterfaceMatrixUpdate(), and LduInterfaceField< Type >::~LduInterfaceField().


|
pure virtual |
Update result field based on interface functionality. Add/subtract coupled contributions to matrix.
Implemented in calculatedProcessorFvPatchField< Type >, calculatedProcessorGAMGInterfaceField, coupledFaPatchField< Type >, coupledFvPatchField< Type >, coupledFvPatchField< scalar >, coupledFvPatchField< vector >, cyclicACMIFvPatchField< Type >, cyclicACMIGAMGInterfaceField, cyclicAMIFvPatchField< Type >, cyclicAMIFvPatchField< scalar >, cyclicAMIGAMGInterfaceField, cyclicFaPatchField< Type >, cyclicFvPatchField< Type >, cyclicFvPatchField< scalar >, cyclicFvPatchField< vector >, cyclicGAMGInterfaceField, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< Type >, jumpCyclicAMIFvPatchField< scalar >, jumpCyclicAMIFvPatchField< scalar >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< Type >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< vector >, lduCalculatedProcessorField< Type >, LduInterfaceField< Type >, LduInterfaceField< scalar >, LduInterfaceField< vector >, oversetFvPatchField< Type >, oversetGAMGInterfaceField, processorFaPatchField< Type >, processorFvPatchField< Type >, and processorGAMGInterfaceField.
References Foam::add().

| 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 24 of file lduInterfaceFieldTemplates.C.
References Foam::add(), and forAll.
Referenced by cyclicFvPatchField< scalar >::manipulateMatrix(), calculatedProcessorGAMGInterfaceField::updateInterfaceMatrix(), cyclicACMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicACMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicACMIGAMGInterfaceField::updateInterfaceMatrix(), cyclicAMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicAMIFvPatchField< Type >::updateInterfaceMatrix(), cyclicAMIGAMGInterfaceField::updateInterfaceMatrix(), cyclicFaPatchField< Type >::updateInterfaceMatrix(), cyclicFaPatchField< Type >::updateInterfaceMatrix(), cyclicFvPatchField< scalar >::updateInterfaceMatrix(), cyclicGAMGInterfaceField::updateInterfaceMatrix(), jumpCyclicAMIFvPatchField< Type >::updateInterfaceMatrix(), jumpCyclicAMIFvPatchField< scalar >::updateInterfaceMatrix(), jumpCyclicFvPatchField< Type >::updateInterfaceMatrix(), jumpCyclicFvPatchField< scalar >::updateInterfaceMatrix(), processorFaPatchField< Type >::updateInterfaceMatrix(), processorFaPatchField< Type >::updateInterfaceMatrix(), processorFvPatchField< Type >::updateInterfaceMatrix(), processorFvPatchField< Type >::updateInterfaceMatrix(), and processorGAMGInterfaceField::updateInterfaceMatrix().


|
inlinenoexcept |
Adjust whether matrix has been updated.
Definition at line 214 of file lduInterfaceField.H.
References Foam::noexcept.