Abstract base class for processor coupled interfaces. More...
Public Member Functions | |
TypeName ("processorLduInterfaceField") | |
Runtime type information. More... | |
processorLduInterfaceField () | |
Construct given coupled patch. More... | |
virtual | ~processorLduInterfaceField () |
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 const transformer & | transform () const =0 |
Return transformation between the coupled patches. More... | |
virtual int | rank () const =0 |
Return rank of component for transform. More... | |
bool | transforms () const |
Is the transform required. More... | |
template<class Type > | |
void | transformCoupleField (Field< Type > &f) const |
Transform given patch field. More... | |
void | transformCoupleField (scalarField &f, const direction cmpt) const |
Transform given patch component field. More... | |
Abstract base class for processor coupled interfaces.
Definition at line 50 of file processorLduInterfaceField.H.
|
inline |
Construct given coupled patch.
Definition at line 62 of file processorLduInterfaceField.H.
References processorLduInterfaceField::comm(), processorLduInterfaceField::myProcNo(), processorLduInterfaceField::neighbProcNo(), processorLduInterfaceField::rank(), processorLduInterfaceField::transform(), and processorLduInterfaceField::~processorLduInterfaceField().
|
virtual |
Destructor.
Definition at line 39 of file processorLduInterfaceField.C.
References processorLduInterfaceField::transformCoupleField().
Referenced by processorLduInterfaceField::processorLduInterfaceField().
TypeName | ( | "processorLduInterfaceField" | ) |
Runtime type information.
|
pure virtual |
Return communicator used for comms.
Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.
Referenced by processorLduInterfaceField::processorLduInterfaceField().
|
pure virtual |
Return processor number.
Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.
Referenced by processorLduInterfaceField::processorLduInterfaceField().
|
pure virtual |
Return neighbour processor number.
Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.
Referenced by processorLduInterfaceField::processorLduInterfaceField().
|
pure virtual |
Return transformation between the coupled patches.
Implemented in processorFvPatchField< Type >, processorGAMGInterfaceField, and processorCyclicFvPatchField< Type >.
Referenced by processorLduInterfaceField::processorLduInterfaceField(), processorLduInterfaceField::transformCoupleField(), and processorLduInterfaceField::transforms().
|
pure virtual |
Return rank of component for transform.
Implemented in processorFvPatchField< Type >, processorGAMGInterfaceField, and processorCyclicFvPatchField< Type >.
Referenced by processorGAMGInterfaceField::processorGAMGInterfaceField(), processorLduInterfaceField::processorLduInterfaceField(), and processorLduInterfaceField::transforms().
|
inline |
Is the transform required.
Definition at line 90 of file processorLduInterfaceField.H.
References f(), processorLduInterfaceField::rank(), processorLduInterfaceField::transform(), processorLduInterfaceField::transformCoupleField(), and transformer::transforms().
Referenced by processorLduInterfaceField::transformCoupleField().
void transformCoupleField | ( | Field< Type > & | f | ) | const |
Transform given patch field.
Definition at line 119 of file processorLduInterfaceField.H.
References processorLduInterfaceField::transform(), transformer::transform(), and processorLduInterfaceField::transforms().
Referenced by processorLduInterfaceField::transforms(), and processorLduInterfaceField::~processorLduInterfaceField().
void transformCoupleField | ( | scalarField & | f, |
const direction | cmpt | ||
) | const |
Transform given patch component field.
Definition at line 46 of file processorLduInterfaceField.C.
References Foam::component(), Foam::diag(), Foam::pow(), Foam::T(), and Foam::transform().