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()

◆ ~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:

◆ transform()

◆ rank()

◆ transforms()

bool transforms ( ) const
inline

Is the transform required.

Definition at line 90 of file processorLduInterfaceField.H.

References f(), processorLduInterfaceField::rank(), processorLduInterfaceField::transform(), processorLduInterfaceField::transformCoupleField(), 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 119 of file processorLduInterfaceField.H.

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

Referenced by processorLduInterfaceField::transforms(), 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 VectorSpace< Form, Cmpt, Ncmpts >::component(), dimensioned< Type >::component(), Foam::diag(), Foam::exit(), 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: