OpenFOAM logo
Open Source CFD Toolkit

cyclicAmgCoupledInterface Class Reference

Inheritance diagram for cyclicAmgCoupledInterface:

Inheritance graph
[legend]
Collaboration diagram for cyclicAmgCoupledInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("cyclic")
 Runtime type information.
 cyclicAmgCoupledInterface (const lduCoupledInterface *fineInterfacePtr, const label index)
 Construct from coupled interface.
virtual bool coupled () const
 Return true if this patch field is coupled.
label size () const
 Return size.
virtual tmp< labelFieldnbrColour (const labelField &) const
 Return neighbour colouring.
virtual tmp< scalarFieldcoeffs (const labelField &localColour, const labelField &nbrColour, const scalarField &fineCoeffs) const
 Given colouring for both sides, return coarse level coefficients.
virtual const labelFieldaddressing () const
 Return addressing.
virtual void updateInterfaceMatrix (const scalarField &psiInternal, scalarField &result, const lduMatrix &, const scalarField &coeffs, const direction cmpt) const
 Update result field based on interface functionality.
virtual bool doTransform () const
 Cyclic coupled interface functions Does the patch field perform the transfromation.
virtual const tensorFieldforwardT () const
 Return face transformation tensor.
virtual const tensorFieldreverseT () const
 Return neighbour-cell transformation tensor.
virtual int rank () const
 Return rank of component for transform.

Constructor & Destructor Documentation

cyclicAmgCoupledInterface const lduCoupledInterface fineInterfacePtr,
const label  index
 

Construct from coupled interface.


Member Function Documentation

virtual const labelField& addressing  )  const [virtual]
 

Return addressing.

Reimplemented from amgCoupledInterface.

virtual tmp<scalarField> coeffs const labelField localColour,
const labelField nbrColour,
const scalarField fineCoeffs
const [virtual]
 

Given colouring for both sides, return coarse level coefficients.

Because of the algorithmic complexity, this also calculates the addressing.

Reimplemented from amgCoupledInterface.

virtual bool coupled  )  const [inline, virtual]
 

Return true if this patch field is coupled.

Reimplemented from lduCoupledInterface.

Definition at line 113 of file cyclicAmgCoupledInterface.H.

References Foam::direction, Foam::labelField, and Foam::scalarField.

virtual bool doTransform  )  const [inline, virtual]
 

Cyclic coupled interface functions Does the patch field perform the transfromation.

Implements cyclicLduCoupledInterface.

Definition at line 159 of file cyclicAmgCoupledInterface.H.

virtual const tensorField& forwardT  )  const [inline, virtual]
 

Return face transformation tensor.

Implements cyclicLduCoupledInterface.

Definition at line 165 of file cyclicAmgCoupledInterface.H.

virtual tmp<labelField> nbrColour const labelField  )  const [virtual]
 

Return neighbour colouring.

Reimplemented from amgCoupledInterface.

virtual int rank  )  const [inline, virtual]
 

Return rank of component for transform.

Implements cyclicLduCoupledInterface.

Definition at line 177 of file cyclicAmgCoupledInterface.H.

virtual const tensorField& reverseT  )  const [inline, virtual]
 

Return neighbour-cell transformation tensor.

Implements cyclicLduCoupledInterface.

Definition at line 171 of file cyclicAmgCoupledInterface.H.

label size  )  const
 

Return size.

TypeName "cyclic"   ) 
 

Runtime type information.

virtual void updateInterfaceMatrix const scalarField psiInternal,
scalarField result,
const lduMatrix ,
const scalarField coeffs,
const direction  cmpt
const [virtual]
 

Update result field based on interface functionality.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org