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.
|
virtual |
Destructor.
Definition at line 39 of file processorLduInterfaceField.C.
| TypeName | ( | "processorLduInterfaceField" | ) |
Runtime type information.
|
pure virtual |
Return communicator used for comms.
Implemented in processorGAMGInterfaceField, and processorFvPatchField< Type >.
|
pure virtual |
Return processor number.
Implemented in processorGAMGInterfaceField, and processorFvPatchField< Type >.
|
pure virtual |
Return neighbour processor number.
Implemented in processorGAMGInterfaceField, and processorFvPatchField< Type >.
|
pure virtual |
Return transformation between the coupled patches.
Implemented in processorGAMGInterfaceField, processorCyclicFvPatchField< Type >, processorFvPatchField< Type >, and nonConformalProcessorCyclicFvPatchField< Type >.
Referenced by processorLduInterfaceField::transformCoupleField(), and processorLduInterfaceField::transforms().

|
pure virtual |
Return rank of component for transform.
Implemented in processorGAMGInterfaceField, processorCyclicFvPatchField< Type >, processorFvPatchField< Type >, and nonConformalProcessorCyclicFvPatchField< Type >.
Referenced by processorLduInterfaceField::transforms().

|
inline |
Is the transform required.
Definition at line 90 of file processorLduInterfaceField.H.
References processorLduInterfaceField::rank(), processorLduInterfaceField::transform(), and transformer::transforms().
Referenced by processorLduInterfaceField::transformCoupleField().


| void transformCoupleField | ( | Field< Type > & | f | ) | const |
Transform given patch field.
Definition at line 118 of file processorLduInterfaceField.H.
References f(), processorLduInterfaceField::transform(), transformer::transform(), and processorLduInterfaceField::transforms().

| void transformCoupleField | ( | scalarField & | f, |
| const direction | cmpt | ||
| ) | const |
Transform given patch component field.
Definition at line 45 of file processorLduInterfaceField.C.
References VectorSpace< Form, Cmpt, Ncmpts >::component(), Foam::diag(), Foam::exit(), f(), Foam::FatalError, FatalErrorInFunction, Foam::sqr(), Foam::T(), Foam::transform(), and transforms.
