extendedCentredFaceToCellStencil Class Reference
Inheritance diagram for extendedCentredFaceToCellStencil:
Collaboration diagram for extendedCentredFaceToCellStencil:

Public Member Functions

 extendedCentredFaceToCellStencil (const faceToCellStencil &)
 Construct from uncompacted face stencil. More...
 
 extendedCentredFaceToCellStencil (const extendedCentredFaceToCellStencil &)
 Disallow default bitwise copy construction. More...
 
const mapDistribute & map () const
 Return reference to the parallel distribution map. More...
 
const labelListList & stencil () 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...
 
void operator= (const extendedCentredFaceToCellStencil &)=delete
 Disallow default bitwise assignment. 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 polyMesh & mesh_
 

Detailed Description

Constructor & Destructor Documentation

◆ extendedCentredFaceToCellStencil() [1/2]

extendedCentredFaceToCellStencil ( const faceToCellStencil &  stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 33 of file extendedCentredFaceToCellStencil.C.

References faceToCellStencil::globalNumbering().

Here is the call graph for this function:

◆ extendedCentredFaceToCellStencil() [2/2]

Disallow default bitwise copy construction.

Member Function Documentation

◆ map()

const mapDistribute& map ( ) const
inline

Return reference to the parallel distribution map.

Definition at line 79 of file extendedCentredFaceToCellStencil.H.

Referenced by extendedCentredFaceToCellStencil::collectData(), extendedCentredFaceToCellStencil::compact(), 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 85 of file extendedCentredFaceToCellStencil.H.

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

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compact()

void compact ( )

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

Definition at line 56 of file extendedCentredFaceToCellStencil.C.

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

Referenced by extendedCentredFaceToCellStencil::stencil().

Here is the call graph for this function:
Here is the caller 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 96 of file extendedCentredFaceToCellStencil.H.

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

Referenced by extendedCentredFaceToCellStencil::stencil().

Here is the call graph for this function:
Here is the caller 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 113 of file extendedCentredFaceToCellStencil.H.

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

Referenced by extendedCentredFaceToCellStencil::collectData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const extendedCentredFaceToCellStencil &  )
delete

Disallow default bitwise assignment.

Referenced by extendedCentredFaceToCellStencil::weightedSum().

Here is the caller graph for this function:

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