cyclicLduInterfaceField Class Referenceabstract

Abstract base class for cyclic coupled interfaces. More...

Inheritance diagram for cyclicLduInterfaceField:
[legend]

Public Member Functions

 TypeName ("cyclicLduInterfaceField")
 Runtime type information. More...
 
 cyclicLduInterfaceField ()=default
 Construct null. More...
 
virtual ~cyclicLduInterfaceField ()=default
 Destructor. More...
 
virtual bool doTransform () const =0
 Is the transform required. More...
 
virtual const tensorFieldforwardT () const =0
 Return face transformation tensor. More...
 
virtual const tensorFieldreverseT () const =0
 Return neighbour-cell 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...
 

Detailed Description

Abstract base class for cyclic coupled interfaces.

Source files

Definition at line 52 of file cyclicLduInterfaceField.H.

Constructor & Destructor Documentation

◆ cyclicLduInterfaceField()

Construct null.

◆ ~cyclicLduInterfaceField()

virtual ~cyclicLduInterfaceField ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "cyclicLduInterfaceField"  )

Runtime type information.

◆ doTransform()

virtual bool doTransform ( ) const
pure virtual

Is the transform required.

Implemented in cyclicFaPatchField< Type >, cyclicFvPatchField< Type >, cyclicFvPatchField< scalar >, cyclicFvPatchField< vector >, and cyclicGAMGInterfaceField.

Referenced by cyclicLduInterfaceField::transformCoupleField().

Here is the caller graph for this function:

◆ forwardT()

virtual const tensorField & forwardT ( ) const
pure virtual

Return face transformation tensor.

Implemented in cyclicFaPatchField< Type >, cyclicFvPatchField< Type >, cyclicFvPatchField< scalar >, cyclicFvPatchField< vector >, and cyclicGAMGInterfaceField.

Referenced by cyclicLduInterfaceField::transformCoupleField().

Here is the caller graph for this function:

◆ reverseT()

virtual const tensorField & reverseT ( ) const
pure virtual

◆ rank()

virtual int rank ( ) const
pure virtual

Return rank of component for transform.

Implemented in cyclicFaPatchField< Type >, cyclicFvPatchField< Type >, cyclicFvPatchField< scalar >, cyclicFvPatchField< vector >, and cyclicGAMGInterfaceField.

Referenced by cyclicLduInterfaceField::transformCoupleField().

Here is the caller graph for this function:

◆ transformCoupleField() [1/2]

void transformCoupleField ( Field< Type > &  f) const

Transform given patch field.

Definition at line 110 of file cyclicLduInterfaceField.H.

References cyclicLduInterfaceField::doTransform(), f(), cyclicLduInterfaceField::forwardT(), and Foam::transform().

Referenced by cyclicFaPatchField< Type >::transformCoupleField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transformCoupleField() [2/2]

void transformCoupleField ( solveScalarField f,
const direction  cmpt 
) const

Transform given patch component field.

Definition at line 42 of file cyclicLduInterfaceField.C.

References Foam::component(), Foam::diag(), cyclicLduInterfaceField::doTransform(), f(), cyclicLduInterfaceField::forwardT(), Foam::pow(), and cyclicLduInterfaceField::rank().

Here is the call graph for this function:

The documentation for this class was generated from the following files: