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.
References cyclicLduInterfaceField::transform(), and cyclicLduInterfaceField::~cyclicLduInterfaceField().
|
virtual |
Destructor.
Definition at line 39 of file cyclicLduInterfaceField.C.
References cyclicLduInterfaceField::transformCoupleField().
Referenced by cyclicLduInterfaceField::cyclicLduInterfaceField().
TypeName | ( | "cyclicLduInterfaceField" | ) |
Runtime type information.
|
pure virtual |
Return the transformation.
Implemented in cyclicFvPatchField< Type >, and cyclicGAMGInterfaceField.
Referenced by cyclicLduInterfaceField::cyclicLduInterfaceField(), cyclicLduInterfaceField::transformCoupleField(), and cyclicLduInterfaceField::transforms().
|
inline |
Is the transform required.
Definition at line 78 of file cyclicLduInterfaceField.H.
References f(), cyclicLduInterfaceField::rank(), cyclicLduInterfaceField::transform(), cyclicLduInterfaceField::transformCoupleField(), and transformer::transforms().
Referenced by cyclicLduInterfaceField::transformCoupleField().
|
pure virtual |
Return rank of component for transform.
Implemented in cyclicFvPatchField< Type >, and cyclicGAMGInterfaceField.
Referenced by cyclicGAMGInterfaceField::cyclicGAMGInterfaceField(), and cyclicLduInterfaceField::transforms().
|
inline |
Transform given patch field.
Definition at line 110 of file cyclicLduInterfaceField.H.
References cyclicLduInterfaceField::transform(), transformer::transform(), and cyclicLduInterfaceField::transforms().
Referenced by cyclicLduInterfaceField::transforms(), and cyclicLduInterfaceField::~cyclicLduInterfaceField().
void transformCoupleField | ( | scalarField & | f, |
const direction | cmpt | ||
) | const |
Transform given patch component field.
Definition at line 46 of file cyclicLduInterfaceField.C.
References VectorSpace< Form, Cmpt, Ncmpts >::component(), dimensioned< Type >::component(), Foam::diag(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::sqr(), Foam::T(), Foam::transform(), and transforms.