Loading...
Searching...
No Matches
extendedCentredCellToCellStencil Class Reference

#include <extendedCentredCellToCellStencil.H>

Inheritance diagram for extendedCentredCellToCellStencil:
Collaboration diagram for extendedCentredCellToCellStencil:

Public Member Functions

 extendedCentredCellToCellStencil (const cellToCellStencil &)
 Construct from uncompacted cell stencil.
const mapDistributemap () const
 Return reference to the parallel distribution map.
const labelListListstencil () const
 Return reference to the stencil.
void compact ()
 After removing elements from the stencil adapt the schedule (map).
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.
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.
Public Member Functions inherited from extendedCellToCellStencil
 extendedCellToCellStencil (const polyMesh &)
 Construct from mesh.
template<class Type, class WeightType>
Foam::tmp< Foam::GeometricField< typename Foam::outerProduct< WeightType, Type >::type, Foam::fvPatchField, Foam::volMesh > > weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType > > &stencilWeights)

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.
Protected Attributes inherited from extendedCellToCellStencil
const polyMeshmesh_

Detailed Description

Constructor & Destructor Documentation

◆ extendedCentredCellToCellStencil()

extendedCentredCellToCellStencil ( const cellToCellStencil & stencil)
explicit

Construct from uncompacted cell stencil.

Definition at line 27 of file extendedCentredCellToCellStencil.C.

References extendedCellToCellStencil::extendedCellToCellStencil(), mesh, UPstream::nProcs(), and stencil().

Here is the call graph for this function:

Member Function Documentation

◆ map()

const mapDistribute & map ( ) const
inline

Return reference to the parallel distribution map.

Definition at line 96 of file extendedCentredCellToCellStencil.H.

Referenced by LeastSquaresGrad< Type, Stencil >::calcGrad(), collectData(), compact(), and weightedSum().

Here is the caller graph for this function:

◆ stencil()

const labelListList & stencil ( ) const
inline

Return reference to the stencil.

Definition at line 104 of file extendedCentredCellToCellStencil.H.

Referenced by LeastSquaresGrad< Type, Stencil >::calcGrad(), collectData(), extendedCentredCellToCellStencil(), and weightedSum().

Here is the caller graph for this function:

◆ compact()

void compact ( )

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

Definition at line 51 of file extendedCentredCellToCellStencil.C.

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

Here is the call graph for this function:

◆ collectData()

template<class Type>
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 118 of file extendedCentredCellToCellStencil.H.

References extendedCellToFaceStencil::collectData(), fld(), map(), and stencil().

Here is the call graph for this function:

◆ weightedSum()

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
inline

Sum vol field contributions to create cell values.

Definition at line 145 of file extendedCentredCellToCellStencil.H.

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

Here is the call graph for this function:

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