FreeFOAM The Cross-Platform CFD Toolkit
extendedCentredFaceToCellStencil Class Reference

#include <finiteVolume/extendedCentredFaceToCellStencil.H>


Detailed Description

+ Inheritance diagram for extendedCentredFaceToCellStencil:
+ Collaboration diagram for extendedCentredFaceToCellStencil:

List of all members.

Public Member Functions

 extendedCentredFaceToCellStencil (const faceToCellStencil &)
 Construct from uncompacted face stencil.
const mapDistribute & map () const
 Return reference to the parallel distribution map.
const labelListList & stencil () 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, fvsPatchField, surfaceMesh > &fld, List< List< T > > &stencilFld) const
 Use map to get the data into stencil order.
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.
- Public Member Functions inherited from extendedFaceToCellStencil
 extendedFaceToCellStencil (const polyMesh &)
 Construct from mesh.
template<class Type >
void collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, List< List< Type > > &stencilFld)

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.
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.
- Protected Attributes inherited from extendedFaceToCellStencil
const polyMesh & mesh_

Constructor & Destructor Documentation

extendedCentredFaceToCellStencil ( const faceToCellStencil &  stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 36 of file extendedCentredFaceToCellStencil.C.

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


Member Function Documentation

const mapDistribute& map ( ) const
inline
const labelListList& stencil ( ) const
inline
void compact ( )

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

Definition at line 57 of file extendedCentredFaceToCellStencil.C.

References forAll, and extendedCentredFaceToCellStencil::map().

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

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

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

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


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