processorLduInterfaceField Class Referenceabstract

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

Inheritance diagram for processorLduInterfaceField:

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 bool doTransform () const =0
 Is the transform required. More...
 
virtual const tensorFieldforwardT () const =0
 Return face 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 processor coupled interfaces.

Source files

Definition at line 49 of file processorLduInterfaceField.H.

Constructor & Destructor Documentation

◆ processorLduInterfaceField()

◆ ~processorLduInterfaceField()

Destructor.

Definition at line 39 of file processorLduInterfaceField.C.

References processorLduInterfaceField::transformCoupleField().

Referenced by processorLduInterfaceField::processorLduInterfaceField().

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

Member Function Documentation

◆ TypeName()

TypeName ( "processorLduInterfaceField"  )

Runtime type information.

◆ comm()

virtual label comm ( ) const
pure virtual

Return communicator used for comms.

Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.

Referenced by processorLduInterfaceField::processorLduInterfaceField().

Here is the caller graph for this function:

◆ myProcNo()

virtual int myProcNo ( ) const
pure virtual

Return processor number.

Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.

Referenced by processorLduInterfaceField::processorLduInterfaceField().

Here is the caller graph for this function:

◆ neighbProcNo()

virtual int neighbProcNo ( ) const
pure virtual

Return neighbour processor number.

Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.

Referenced by processorLduInterfaceField::processorLduInterfaceField().

Here is the caller graph for this function:

◆ doTransform()

◆ forwardT()

virtual const tensorField& forwardT ( ) const
pure virtual

◆ rank()

virtual int rank ( ) const
pure virtual

Return rank of component for transform.

Implemented in processorFvPatchField< Type >, and processorGAMGInterfaceField.

Referenced by processorGAMGInterfaceField::processorGAMGInterfaceField(), and processorLduInterfaceField::processorLduInterfaceField().

Here is the caller graph for this function:

◆ transformCoupleField() [1/2]

void transformCoupleField ( Field< Type > &  f) const

Transform given patch field.

Definition at line 115 of file processorLduInterfaceField.H.

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

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

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 processorLduInterfaceField.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: