Public Member Functions | List of all members
cyclicLduInterfaceField Class Referenceabstract

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

Inheritance diagram for cyclicLduInterfaceField:
Inheritance graph
[legend]

Public Member Functions

 TypeName ("cyclicLduInterfaceField")
 Runtime type information. More...
 
 cyclicLduInterfaceField ()
 Construct given coupled patch. More...
 
virtual ~cyclicLduInterfaceField ()
 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 (scalarField &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 49 of file cyclicLduInterfaceField.H.

Constructor & Destructor Documentation

◆ cyclicLduInterfaceField()

◆ ~cyclicLduInterfaceField()

Destructor.

Definition at line 39 of file cyclicLduInterfaceField.C.

References cyclicLduInterfaceField::transformCoupleField().

Referenced by cyclicLduInterfaceField::cyclicLduInterfaceField().

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

Member Function Documentation

◆ TypeName()

TypeName ( "cyclicLduInterfaceField"  )

Runtime type information.

◆ doTransform()

virtual bool doTransform ( ) const
pure virtual

◆ forwardT()

virtual const tensorField& forwardT ( ) const
pure virtual

Return face transformation tensor.

Implemented in cyclicFvPatchField< Type >, and cyclicGAMGInterfaceField.

Referenced by cyclicLduInterfaceField::cyclicLduInterfaceField(), and cyclicLduInterfaceField::transformCoupleField().

Here is the caller graph for this function:

◆ reverseT()

virtual const tensorField& reverseT ( ) const
pure virtual

Return neighbour-cell transformation tensor.

Implemented in cyclicFvPatchField< Type >, and cyclicGAMGInterfaceField.

Referenced by cyclicLduInterfaceField::cyclicLduInterfaceField().

Here is the caller graph for this function:

◆ rank()

virtual int rank ( ) const
pure virtual

Return rank of component for transform.

Implemented in cyclicFvPatchField< Type >, and cyclicGAMGInterfaceField.

Referenced by cyclicGAMGInterfaceField::cyclicGAMGInterfaceField(), and cyclicLduInterfaceField::cyclicLduInterfaceField().

Here is the caller graph for this function:

◆ transformCoupleField() [1/2]

void transformCoupleField ( Field< Type > &  f) const

Transform given patch field.

Definition at line 109 of file cyclicLduInterfaceField.H.

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

Referenced by cyclicLduInterfaceField::cyclicLduInterfaceField(), and cyclicLduInterfaceField::~cyclicLduInterfaceField().

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

◆ transformCoupleField() [2/2]

void transformCoupleField ( scalarField f,
const direction  cmpt 
) const

Transform given patch component field.

Definition at line 46 of file cyclicLduInterfaceField.C.

References Foam::component(), Foam::diag(), and Foam::pow().

Here is the call graph for this function:

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