Abstract base class for cyclic coupled interfaces. More...
Public Member Functions | |
TypeName ("cyclicLduInterfaceField") | |
Runtime type information. More... | |
cyclicLduInterfaceField () | |
Construct given coupled patch. More... | |
virtual | ~cyclicLduInterfaceField () |
Destructor. More... | |
virtual const transformer & | transform () const =0 |
Return the transformation. More... | |
bool | transforms () const |
Is the transform required. 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 (scalarField &f, const direction cmpt) const |
Transform given patch component field. More... | |
Abstract base class for cyclic coupled interfaces.
Definition at line 50 of file cyclicLduInterfaceField.H.
|
inline |
Construct given coupled patch.
Definition at line 62 of file cyclicLduInterfaceField.H.
|
virtual |
Destructor.
Definition at line 39 of file cyclicLduInterfaceField.C.
TypeName | ( | "cyclicLduInterfaceField" | ) |
Runtime type information.
|
pure virtual |
Return the transformation.
Implemented in cyclicGAMGInterfaceField, and cyclicFvPatchField< Type >.
Referenced by cyclicLduInterfaceField::transformCoupleField(), and cyclicLduInterfaceField::transforms().
|
inline |
Is the transform required.
Definition at line 78 of file cyclicLduInterfaceField.H.
References cyclicLduInterfaceField::rank(), cyclicLduInterfaceField::transform(), and transformer::transforms().
Referenced by cyclicLduInterfaceField::transformCoupleField().
|
pure virtual |
Return rank of component for transform.
Implemented in cyclicGAMGInterfaceField, and cyclicFvPatchField< Type >.
Referenced by cyclicLduInterfaceField::transforms().
|
inline |
Transform given patch field.
Definition at line 109 of file cyclicLduInterfaceField.H.
References f(), cyclicLduInterfaceField::transform(), transformer::transform(), and cyclicLduInterfaceField::transforms().
void transformCoupleField | ( | scalarField & | f, |
const direction | cmpt | ||
) | const |
Transform given patch component field.
Definition at line 45 of file cyclicLduInterfaceField.C.
References dimensioned< Type >::component(), VectorSpace< Form, Cmpt, Ncmpts >::component(), Foam::diag(), Foam::exit(), f(), Foam::FatalError, FatalErrorInFunction, Foam::sqr(), Foam::T(), Foam::transform(), and transforms.