extendedCentredFaceToCellStencil Class Reference
Inheritance diagram for extendedCentredFaceToCellStencil:
[legend]
Collaboration diagram for extendedCentredFaceToCellStencil:
[legend]

Public Member Functions

 extendedCentredFaceToCellStencil (const faceToCellStencil &)
 Construct from uncompacted face 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 T >
void collectData (const GeometricField< T, fvsPatchField, surfaceMesh > &fld, List< List< T > > &stencilFld) const
 Use map to get the data into stencil order. More...
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > weightedSum (const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const List< List< scalar > > &stencilWeights) const
 Sum surface field contributions to create cell values. More...
 
- Public Member Functions inherited from extendedFaceToCellStencil
 extendedFaceToCellStencil (const polyMesh &)
 Construct from mesh. More...
 
template<class Type >
void collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, List< List< Type > > &stencilFld)
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const List< List< scalar > > &stencilWeights)
 

Additional Inherited Members

- Static Public Member Functions inherited from extendedFaceToCellStencil
template<class T >
static void collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< T, fvsPatchField, surfaceMesh > &fld, List< List< T > > &stencilFld)
 Use map to get the data into stencil order. More...
 
template<class Type >
static tmp< GeometricField< Type, fvPatchField, volMesh > > weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const List< List< scalar > > &stencilWeights)
 Sum surface field contributions to create cell values. More...
 
- Protected Attributes inherited from extendedFaceToCellStencil
const polyMeshmesh_
 

Detailed Description

Constructor & Destructor Documentation

◆ extendedCentredFaceToCellStencil()

extendedCentredFaceToCellStencil ( const faceToCellStencil stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 34 of file extendedCentredFaceToCellStencil.C.

References PstreamBuffers::nProcs(), and extendedCentredFaceToCellStencil::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 87 of file extendedCentredFaceToCellStencil.H.

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

Here is the caller graph for this function:

◆ stencil()

const labelListList & stencil ( ) const
inline

Return reference to the stencil.

Definition at line 93 of file extendedCentredFaceToCellStencil.H.

Referenced by extendedCentredFaceToCellStencil::collectData(), extendedCentredFaceToCellStencil::extendedCentredFaceToCellStencil(), and extendedCentredFaceToCellStencil::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 58 of file extendedCentredFaceToCellStencil.C.

References forAll, and UPstream::msgType().

Here is the call graph for this function:

◆ collectData()

void collectData ( const GeometricField< T, fvsPatchField, surfaceMesh > &  fld,
List< List< T > > &  stencilFld 
) const
inline

Use map to get the data into stencil order.

Definition at line 103 of file extendedCentredFaceToCellStencil.H.

References extendedFaceToCellStencil::collectData(), fld(), extendedCentredFaceToCellStencil::map(), and extendedCentredFaceToCellStencil::stencil().

Here is the call graph for this function:

◆ weightedSum()

tmp< GeometricField< Type, fvPatchField, volMesh > > weightedSum ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  fld,
const List< List< scalar > > &  stencilWeights 
) const
inline

Sum surface field contributions to create cell values.

Definition at line 120 of file extendedCentredFaceToCellStencil.H.

References fld(), extendedCentredFaceToCellStencil::map(), extendedCentredFaceToCellStencil::stencil(), and extendedFaceToCellStencil::weightedSum().

Here is the call graph for this function:

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