Loading...
Searching...
No Matches
lduInterfaceField Class Referenceabstract

An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields. More...

#include <lduInterfaceField.H>

Inheritance diagram for lduInterfaceField:

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 lduInterfaceinterface () const noexcept
 Return the interface.
virtual const wordinterfaceFieldType () 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.

Detailed Description

An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields.

Source files

Definition at line 55 of file lduInterfaceField.H.

Constructor & Destructor Documentation

◆ lduInterfaceField() [1/2]

◆ lduInterfaceField() [2/2]

lduInterfaceField ( const lduInterface & patch)
inlineexplicit

Construct given coupled patch.

Definition at line 97 of file lduInterfaceField.H.

◆ ~lduInterfaceField()

virtual ~lduInterfaceField ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "lduInterfaceField" )

Runtime type information.

◆ operator=()

void operator= ( const lduInterfaceField & )
delete

No copy assignment.

References lduInterfaceField().

Here is the call graph for this function:

◆ interface()

◆ interfaceFieldType()

virtual const word & interfaceFieldType ( ) const
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().

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

◆ ready()

◆ updatedMatrix() [1/3]

bool updatedMatrix ( ) const
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().

Here is the caller graph for this function:

◆ updatedMatrix() [2/3]

bool updatedMatrix ( bool flag) const
inlinenoexcept

Set matrix as update-to-date, return the previous value.

Definition at line 150 of file lduInterfaceField.H.

◆ initInterfaceMatrixUpdate()

◆ updateInterfaceMatrix()

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
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().

Here is the call graph for this function:

◆ addToInternalField()

template<class Type>
void addToInternalField ( Field< Type > & result,
const bool add,
const labelUList & faceCells,
const scalarField & coeffs,
const Field< Type > & vals ) const

◆ updatedMatrix() [3/3]

bool & updatedMatrix ( )
inlinenoexcept

Adjust whether matrix has been updated.

Deprecated
Prefer the updatedMatrix(bool) setter (JAN-2023)

Definition at line 214 of file lduInterfaceField.H.

References Foam::noexcept.


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