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 const transformertransform () const =0
 Return transformation between the coupled patches. More...
 
virtual int rank () const =0
 Return rank of component for transform. More...
 
bool transforms () const
 Is the transform required. 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 50 of file processorLduInterfaceField.H.

Constructor & Destructor Documentation

◆ processorLduInterfaceField()

Construct given coupled patch.

Definition at line 62 of file processorLduInterfaceField.H.

◆ ~processorLduInterfaceField()

Destructor.

Definition at line 39 of file processorLduInterfaceField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "processorLduInterfaceField"  )

Runtime type information.

◆ comm()

virtual label comm ( ) const
pure virtual

Return communicator used for comms.

Implemented in processorGAMGInterfaceField, and processorFvPatchField< Type >.

◆ myProcNo()

virtual int myProcNo ( ) const
pure virtual

Return processor number.

Implemented in processorGAMGInterfaceField, and processorFvPatchField< Type >.

◆ neighbProcNo()

virtual int neighbProcNo ( ) const
pure virtual

Return neighbour processor number.

Implemented in processorGAMGInterfaceField, and processorFvPatchField< Type >.

◆ transform()

virtual const transformer& transform ( ) const
pure virtual

◆ rank()

virtual int rank ( ) const
pure virtual

Return rank of component for transform.

Implemented in processorGAMGInterfaceField, processorCyclicFvPatchField< Type >, processorFvPatchField< Type >, and nonConformalProcessorCyclicFvPatchField< Type >.

Referenced by processorLduInterfaceField::transforms().

Here is the caller graph for this function:

◆ transforms()

bool transforms ( ) const
inline

Is the transform required.

Definition at line 90 of file processorLduInterfaceField.H.

References processorLduInterfaceField::rank(), processorLduInterfaceField::transform(), and transformer::transforms().

Referenced by processorLduInterfaceField::transformCoupleField().

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

◆ transformCoupleField() [1/2]

void transformCoupleField ( Field< Type > &  f) const

Transform given patch field.

Definition at line 118 of file processorLduInterfaceField.H.

References f(), processorLduInterfaceField::transform(), transformer::transform(), and processorLduInterfaceField::transforms().

Here is the call graph for this function:

◆ transformCoupleField() [2/2]

void transformCoupleField ( scalarField f,
const direction  cmpt 
) const

Transform given patch component field.

Definition at line 45 of file processorLduInterfaceField.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.

Here is the call graph for this function:

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