FreeFOAM The Cross-Platform CFD Toolkit
extendedCentredCellToFaceStencil Class Reference

#include <finiteVolume/extendedCentredCellToFaceStencil.H>


Detailed Description

+ Inheritance diagram for extendedCentredCellToFaceStencil:
+ Collaboration diagram for extendedCentredCellToFaceStencil:

List of all members.

Public Member Functions

 extendedCentredCellToFaceStencil (const cellToFaceStencil &)
 Construct from uncompacted face stencil.
const mapDistributemap () const
 Return reference to the parallel distribution map.
const labelListListstencil () const
 Return reference to the stencil.
void compact ()
 After removing elements from the stencil adapt the schedule (map).
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.
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.
- Public Member Functions inherited from extendedCellToFaceStencil
 ClassName ("extendedCellToFaceStencil")
 extendedCellToFaceStencil (const polyMesh &)
 Construct from mesh.
template<class Type >
void collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, List< List< Type > > &stencilFld)

Additional Inherited Members

- Static Public Member Functions inherited from extendedCellToFaceStencil
static autoPtr< mapDistributecalcDistributeMap (const polyMesh &mesh, const globalIndex &globalNumbering, labelListList &faceStencil)
 Calculate distribute map.
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.
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.
- Static Protected Member Functions inherited from extendedCellToFaceStencil
static void writeStencilStats (Ostream &os, const labelListList &stencil, const mapDistribute &map)
 Write some statistics about stencil.
- Protected Attributes inherited from extendedCellToFaceStencil
const polyMeshmesh_

Constructor & Destructor Documentation

extendedCentredCellToFaceStencil ( const cellToFaceStencil stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 33 of file extendedCentredCellToFaceStencil.C.

References cellToFaceStencil::globalNumbering(), and cellToFaceStencil::mesh().


Member Function Documentation

void compact ( )

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

Definition at line 54 of file extendedCentredCellToFaceStencil.C.

References forAll, and extendedCentredCellToFaceStencil::map().

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 103 of file extendedCentredCellToFaceStencil.H.

References extendedCentredCellToFaceStencil::map(), and extendedCentredCellToFaceStencil::stencil().

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: