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... | |
virtual void | initInterfaceMatrixUpdate (Field< Type > &, const bool add, const lduAddressing &, const label interfacei, const Field< Type > &, const scalarField &, const Pstream::commsTypes commsType) const |
Initialise neighbour matrix update. More... | |
virtual void | updateInterfaceMatrix (Field< Type > &, const bool add, const lduAddressing &, const label interfacei, const Field< Type > &, const scalarField &, const Pstream::commsTypes commsType) const =0 |
Update result field based on interface functionality. 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 |
Inherit initInterfaceMatrixUpdate from lduInterfaceField. More... | |
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 |
Inherit updateInterfaceMatrix from lduInterfaceField. More... | |
Public Member Functions inherited from lduInterfaceField | |
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 59 of file LduInterfaceField.H.
|
inline |
Construct given coupled patch.
Definition at line 81 of file LduInterfaceField.H.
|
virtualdefault |
Destructor.
TypeName | ( | "LduInterfaceField< Type >" | ) |
Runtime type information.
|
inlinevirtual |
Initialise neighbour matrix update.
Reimplemented in calculatedProcessorFvPatchField< Type >, and processorFvPatchField< Type >.
Definition at line 99 of file LduInterfaceField.H.
|
pure virtual |
Update result field based on interface functionality.
Implemented in cyclicAMIFvPatchField< scalar >, jumpCyclicFvPatchField< scalar >, jumpCyclicAMIFvPatchField< scalar >, cyclicFvPatchField< scalar >, cyclicACMIFvPatchField< Type >, cyclicAMIFvPatchField< Type >, jumpCyclicFvPatchField< Type >, jumpCyclicAMIFvPatchField< Type >, coupledFvPatchField< Type >, calculatedProcessorFvPatchField< Type >, cyclicFvPatchField< Type >, processorFvPatchField< Type >, jumpCyclicFvPatchField< vector >, and cyclicFvPatchField< vector >.
|
inlinevirtual |
Inherit initInterfaceMatrixUpdate from lduInterfaceField.
Reimplemented from lduInterfaceField.
Definition at line 138 of file lduInterfaceField.H.
|
virtual |
Inherit updateInterfaceMatrix from lduInterfaceField.
Implements lduInterfaceField.
Reimplemented in cyclicFvPatchField< scalar >, cyclicFvPatchField< vector >, cyclicAMIFvPatchField< scalar >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicAMIFvPatchField< scalar >, jumpCyclicAMIFvPatchField< scalar >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicFvPatchField< scalar >, jumpCyclicFvPatchField< vector >, jumpCyclicAMIFvPatchField< scalar >, coupledFvPatchField< scalar >, and coupledFvPatchField< vector >.