extendedCentredCellToCellStencil Class Reference
Inheritance diagram for extendedCentredCellToCellStencil:
Collaboration diagram for extendedCentredCellToCellStencil:

Public Member Functions

 extendedCentredCellToCellStencil (const cellToCellStencil &)
 Construct from uncompacted cell stencil. More...
 
 extendedCentredCellToCellStencil (const extendedCentredCellToCellStencil &)=delete
 Disallow default bitwise copy construction. More...
 
const distributionMapmap () 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 VolField< Type > &fld, List< List< Type >> &stencilFld) const
 Use map to get the data into stencil order. More...
 
template<class Type , class WeightType >
tmp< VolField< typename outerProduct< WeightType, Type >::type > > weightedSum (const VolField< Type > &fld, const List< List< WeightType >> &stencilWeights) const
 Sum vol field contributions to create cell values. More...
 
void operator= (const extendedCentredCellToCellStencil &)=delete
 Disallow default bitwise assignment. 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< VolField< typename outerProduct< WeightType, Type >::type > > weightedSum (const distributionMap &map, const labelListList &stencil, const VolField< Type > &fld, const List< List< WeightType >> &stencilWeights)
 Sum surface field contributions to create cell values. More...
 
- Protected Attributes inherited from extendedCellToCellStencil
const polyMeshmesh_
 

Detailed Description

Constructor & Destructor Documentation

◆ extendedCentredCellToCellStencil() [1/2]

extendedCentredCellToCellStencil ( const cellToCellStencil stencil)
explicit

Construct from uncompacted cell stencil.

Definition at line 32 of file extendedCentredCellToCellStencil.C.

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

Here is the call graph for this function:

◆ extendedCentredCellToCellStencil() [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 80 of file extendedCentredCellToCellStencil.H.

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

Here is the caller graph for this function:

◆ stencil()

const labelListList& stencil ( ) const
inline

Return reference to the stencil.

Definition at line 86 of file extendedCentredCellToCellStencil.H.

Referenced by extendedCentredCellToCellStencil::collectData(), extendedCentredCellToCellStencil::extendedCentredCellToCellStencil(), and extendedCentredCellToCellStencil::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 extendedCentredCellToCellStencil.C.

References forAll, and UPstream::msgType().

Here is the call graph for this function:

◆ collectData()

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

Use map to get the data into stencil order.

Definition at line 96 of file extendedCentredCellToCellStencil.H.

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

Here is the call graph for this function:

◆ weightedSum()

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

Sum vol field contributions to create cell values.

Definition at line 114 of file extendedCentredCellToCellStencil.H.

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

Here is the call graph for this function:

◆ operator=()

void operator= ( const extendedCentredCellToCellStencil )
delete

Disallow default bitwise assignment.


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