Abstract base class for processor coupled interfaces. More...
Public Member Functions | |
TypeName ("processorLduInterfaceField") | |
Runtime type information. More... | |
processorLduInterfaceField ()=default | |
Construct null. More... | |
virtual | ~processorLduInterfaceField ()=default |
Destructor. More... | |
virtual label | comm () const =0 |
Return communicator used for comms. More... | |
virtual int | myProcNo () const =0 |
Return processor number. More... | |
virtual int | neighbProcNo () const =0 |
Return neighbour processor number. More... | |
virtual bool | doTransform () const =0 |
Is the transform required. More... | |
virtual const tensorField & | forwardT () const =0 |
Return face transformation tensor. More... | |
virtual int | rank () const =0 |
Return rank of component for transform. More... | |
template<class Type > | |
void | transformCoupleField (Field< Type > &f) const |
Transform given patch field. More... | |
void | transformCoupleField (solveScalarField &f, const direction cmpt) const |
Transform given patch component field. More... | |
Abstract base class for processor coupled interfaces.
Definition at line 52 of file processorLduInterfaceField.H.
|
default |
Construct null.
|
virtualdefault |
Destructor.
TypeName | ( | "processorLduInterfaceField" | ) |
Runtime type information.
|
pure virtual |
Return communicator used for comms.
Implemented in processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, and calculatedProcessorGAMGInterfaceField.
|
pure virtual |
Return processor number.
Implemented in processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, and calculatedProcessorGAMGInterfaceField.
|
pure virtual |
Return neighbour processor number.
Implemented in processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, and calculatedProcessorGAMGInterfaceField.
|
pure virtual |
Is the transform required.
Implemented in processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, processorCyclicFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, and calculatedProcessorGAMGInterfaceField.
Referenced by processorLduInterfaceField::transformCoupleField().
|
pure virtual |
Return face transformation tensor.
Implemented in processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, processorCyclicFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, and calculatedProcessorGAMGInterfaceField.
Referenced by processorLduInterfaceField::transformCoupleField().
|
pure virtual |
Return rank of component for transform.
Implemented in processorFaPatchField< Type >, calculatedProcessorFvPatchField< Type >, processorFvPatchField< Type >, lduCalculatedProcessorField< Type >, processorGAMGInterfaceField, and calculatedProcessorGAMGInterfaceField.
Referenced by processorLduInterfaceField::transformCoupleField().
void transformCoupleField | ( | Field< Type > & | f | ) | const |
Transform given patch field.
Definition at line 116 of file processorLduInterfaceField.H.
References processorLduInterfaceField::doTransform(), f(), processorLduInterfaceField::forwardT(), and Foam::transform().
Referenced by processorFaPatchField< Type >::transformCoupleField().
void transformCoupleField | ( | solveScalarField & | f, |
const direction | cmpt | ||
) | const |
Transform given patch component field.
Definition at line 42 of file processorLduInterfaceField.C.
References Foam::component(), Foam::diag(), processorLduInterfaceField::doTransform(), f(), processorLduInterfaceField::forwardT(), Foam::pow(), and processorLduInterfaceField::rank().