Public Member Functions | List of all members
extendedCentredCellToFaceStencil Class Reference
Inheritance diagram for extendedCentredCellToFaceStencil:
Inheritance graph
[legend]
Collaboration diagram for extendedCentredCellToFaceStencil:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Source files

Definition at line 49 of file extendedCentredCellToFaceStencil.H.

Constructor & Destructor Documentation

◆ extendedCentredCellToFaceStencil()

extendedCentredCellToFaceStencil ( const cellToFaceStencil stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 33 of file extendedCentredCellToFaceStencil.C.

References cellToFaceStencil::globalNumbering().

Here is the call graph for this function:

Member Function Documentation

◆ map()

const mapDistribute& map ( ) const
inline

◆ stencil()

const labelListList& stencil ( ) const
inline

◆ compact()

void compact ( )

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

Definition at line 56 of file extendedCentredCellToFaceStencil.C.

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

Referenced by extendedCentredCellToFaceStencil::stencil().

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

◆ collectData()

void collectData ( const GeometricField< T, fvPatchField, volMesh > &  fld,
List< List< T >> &  stencilFld 
) const
inline

Use map to get the data into stencil order.

Definition at line 102 of file extendedCentredCellToFaceStencil.H.

References extendedCellToFaceStencil::collectData(), extendedCentredCellToFaceStencil::map(), extendedCentredCellToFaceStencil::stencil(), and extendedCentredCellToFaceStencil::weightedSum().

Referenced by extendedCentredCellToFaceStencil::stencil().

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

◆ weightedSum()

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

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