Public Member Functions | Private Member Functions | Private Attributes
extendedCentredFaceToCellStencil Class Reference
Inheritance diagram for extendedCentredFaceToCellStencil:
Inheritance graph
[legend]
Collaboration diagram for extendedCentredFaceToCellStencil:
Collaboration graph
[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)
 

Private Member Functions

 extendedCentredFaceToCellStencil (const extendedCentredFaceToCellStencil &)
 Disallow default bitwise copy construct. More...
 
void operator= (const extendedCentredFaceToCellStencil &)
 Disallow default bitwise assignment. More...
 

Private Attributes

autoPtr< mapDistributemapPtr_
 Swap map for getting neigbouring data. More...
 
labelListList stencil_
 Per face the stencil. More...
 

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

Source files

Definition at line 49 of file extendedCentredFaceToCellStencil.H.

Constructor & Destructor Documentation

◆ extendedCentredFaceToCellStencil() [1/2]

Disallow default bitwise copy construct.

◆ extendedCentredFaceToCellStencil() [2/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:

Member Function Documentation

◆ operator=()

void operator= ( const extendedCentredFaceToCellStencil )
private

Disallow default bitwise assignment.

◆ map()

const mapDistribute& map ( ) const
inline

Return reference to the parallel distribution map.

Definition at line 85 of file extendedCentredFaceToCellStencil.H.

References extendedCentredFaceToCellStencil::mapPtr_.

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 91 of file extendedCentredFaceToCellStencil.H.

References extendedCentredFaceToCellStencil::stencil_.

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

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

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 102 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 119 of file extendedCentredFaceToCellStencil.H.

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

Here is the call graph for this function:

Field Documentation

◆ mapPtr_

autoPtr<mapDistribute> mapPtr_
private

Swap map for getting neigbouring data.

Definition at line 56 of file extendedCentredFaceToCellStencil.H.

Referenced by extendedCentredFaceToCellStencil::compact(), and extendedCentredFaceToCellStencil::map().

◆ stencil_

labelListList stencil_
private

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