Public Member Functions | List of all members
extendedCentredCellToCellStencil Class Reference
Inheritance diagram for extendedCentredCellToCellStencil:
Inheritance graph
[legend]
Collaboration diagram for extendedCentredCellToCellStencil:
Collaboration graph
[legend]

Public Member Functions

 extendedCentredCellToCellStencil (const cellToCellStencil &)
 Construct from uncompacted cell stencil. More...
 
const mapDistributemap () const
 Return reference to the parallel distribution map. More...
 
const labelListListstencil () const
 Return reference to the stencil. More...
 
void compact ()
 After removing elements from the stencil adapt the schedule (map). More...
 
template<class Type >
void collectData (const GeometricField< Type, fvPatchField, volMesh > &fld, List< List< Type >> &stencilFld) const
 Use map to get the data into stencil order. More...
 
template<class Type , class WeightType >
tmp< GeometricField< typename outerProduct< WeightType, Type >::type, fvPatchField, volMesh > > weightedSum (const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType >> &stencilWeights) const
 Sum vol field contributions to create cell values. More...
 
- Public Member Functions inherited from extendedCellToCellStencil
 extendedCellToCellStencil (const polyMesh &)
 Construct from mesh. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from extendedCellToCellStencil
template<class Type , class WeightType >
static tmp< GeometricField< typename outerProduct< WeightType, Type >::type, fvPatchField, volMesh > > weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType >> &stencilWeights)
 Sum surface field contributions to create cell values. More...
 
- Protected Attributes inherited from extendedCellToCellStencil
const polyMeshmesh_
 

Detailed Description

Source files

Definition at line 50 of file extendedCentredCellToCellStencil.H.

Constructor & Destructor Documentation

extendedCentredCellToCellStencil ( const cellToCellStencil stencil)
explicit

Construct from uncompacted cell stencil.

Definition at line 33 of file extendedCentredCellToCellStencil.C.

References cellToCellStencil::globalNumbering().

Here is the call graph for this function:

Member Function Documentation

const mapDistribute& map ( ) const
inline

Return reference to the parallel distribution map.

Definition at line 86 of file extendedCentredCellToCellStencil.H.

Referenced by extendedCentredCellToCellStencil::collectData(), extendedCentredCellToCellStencil::compact(), and extendedCentredCellToCellStencil::weightedSum().

Here is the caller graph for this function:

const labelListList& stencil ( ) const
inline

Return reference to the stencil.

Definition at line 92 of file extendedCentredCellToCellStencil.H.

References extendedCentredCellToCellStencil::collectData(), and extendedCentredCellToCellStencil::compact().

Referenced by extendedCentredCellToCellStencil::collectData(), and extendedCentredCellToCellStencil::weightedSum().

Here is the call graph for this function:

Here is the caller graph for this function:

void compact ( )

After removing elements from the stencil adapt the schedule (map).

Definition at line 56 of file extendedCentredCellToCellStencil.C.

References forAll, extendedCentredCellToCellStencil::map(), and UPstream::msgType().

Referenced by extendedCentredCellToCellStencil::stencil().

Here is the call graph for this function:

Here is the caller graph for this function:

void collectData ( const GeometricField< Type, fvPatchField, volMesh > &  fld,
List< List< Type >> &  stencilFld 
) const
inline

Use map to get the data into stencil order.

Definition at line 103 of file extendedCentredCellToCellStencil.H.

References extendedCellToFaceStencil::collectData(), extendedCentredCellToCellStencil::map(), extendedCentredCellToCellStencil::stencil(), and extendedCentredCellToCellStencil::weightedSum().

Referenced by extendedCentredCellToCellStencil::stencil(), and LeastSquaresVectors< Stencil >::~LeastSquaresVectors().

Here is the call graph for this function:

Here is the caller graph for this function:

tmp< GeometricField < typename outerProduct<WeightType, Type>::type, fvPatchField, volMesh > > weightedSum ( const GeometricField< Type, fvPatchField, volMesh > &  fld,
const List< List< WeightType >> &  stencilWeights 
) const
inline

Sum vol field contributions to create cell values.

Definition at line 128 of file extendedCentredCellToCellStencil.H.

References extendedCentredCellToCellStencil::map(), extendedCentredCellToCellStencil::stencil(), and extendedCellToCellStencil::weightedSum().

Referenced by extendedCentredCellToCellStencil::collectData().

Here is the call graph for this function:

Here is the caller graph for this function:


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