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 &)=delete
 Disallow default bitwise copy construction. More...
 
const distributionMap & 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 Type >
void collectData (const SurfaceField< Type > &fld, List< List< Type >> &stencilFld) const
 Use map to get the data into stencil order. More...
 
template<class Type >
tmp< VolField< Type > > weightedSum (const SurfaceField< Type > &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 >
Foam::tmp< Foam::VolField< Type > > weightedSum (const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, const List< List< scalar >> &stencilWeights)
 

Additional Inherited Members

- Static Public Member Functions inherited from extendedFaceToCellStencil
template<class Type >
static void collectData (const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, List< List< Type >> &stencilFld)
 Use map to get the data into stencil order. More...
 
template<class Type >
static tmp< VolField< Type > > weightedSum (const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &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 32 of file extendedCentredFaceToCellStencil.C.

References UPstream::nProcs(), and extendedCentredFaceToCellStencil::stencil().

Here is the call graph for this function:

◆ extendedCentredFaceToCellStencil() [2/2]

Disallow default bitwise copy construction.

Member Function Documentation

◆ map()

const distributionMap& map ( ) const
inline

Return reference to the parallel distribution map.

Definition at line 79 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 85 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 56 of file extendedCentredFaceToCellStencil.C.

References forAll, and UPstream::msgType().

Here is the call graph for this function:

◆ collectData()

void collectData ( const SurfaceField< Type > &  fld,
List< List< Type >> &  stencilFld 
) const
inline

Use map to get the data into stencil order.

Definition at line 95 of file extendedCentredFaceToCellStencil.H.

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

Here is the call graph for this function:

◆ weightedSum()

tmp<VolField<Type> > weightedSum ( const SurfaceField< Type > &  fld,
const List< List< scalar >> &  stencilWeights 
) const
inline

Sum surface field contributions to create cell values.

Definition at line 112 of file extendedCentredFaceToCellStencil.H.

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

Here is the call graph for this function:

◆ operator=()

void operator= ( const extendedCentredFaceToCellStencil &  )
delete

Disallow default bitwise assignment.


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