Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
extendedCellToFaceStencil Class Reference

Calculates/constains the extended cell-to-face stencil. More...

Inheritance diagram for extendedCellToFaceStencil:
Inheritance graph
[legend]
Collaboration diagram for extendedCellToFaceStencil:
Collaboration graph
[legend]

Public Member Functions

 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)
 

Static Public Member Functions

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

static void writeStencilStats (Ostream &os, const labelListList &stencil, const mapDistribute &map)
 Write some statistics about stencil. More...
 

Protected Attributes

const polyMeshmesh_
 

Detailed Description

Calculates/constains the extended cell-to-face stencil.

The stencil is a list of indices into either cells or boundary faces in a compact way. (element 0 is owner, 1 is neighbour). The index numbering is

When used in evaluation is a two stage process:

Source files

Definition at line 65 of file extendedCellToFaceStencil.H.

Constructor & Destructor Documentation

extendedCellToFaceStencil ( const polyMesh mesh)
explicit

Member Function Documentation

void writeStencilStats ( Ostream os,
const labelListList stencil,
const mapDistribute map 
)
staticprotected
ClassName ( "extendedCellToFaceStencil"  )
static void collectData ( const mapDistribute map,
const labelListList stencil,
const GeometricField< T, fvPatchField, volMesh > &  fld,
List< List< T > > &  stencilFld 
)
static

Use map to get the data into stencil order.

Referenced by extendedCentredCellToFaceStencil::collectData(), extendedCentredCellToCellStencil::collectData(), and extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil().

Here is the caller graph for this function:

static tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > weightedSum ( const mapDistribute map,
const labelListList stencil,
const GeometricField< Type, fvPatchField, volMesh > &  fld,
const List< List< scalar > > &  stencilWeights 
)
static

Sum vol field contributions to create face values.

Referenced by extendedCellToFaceStencil::collectData(), and extendedCentredCellToFaceStencil::weightedSum().

Here is the caller graph for this function:

void collectData ( const mapDistribute map,
const labelListList stencil,
const GeometricField< Type, fvPatchField, volMesh > &  fld,
List< List< Type > > &  stencilFld 
)
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 
)

Member Data Documentation

const polyMesh& mesh_
protected

Definition at line 71 of file extendedCellToFaceStencil.H.


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