FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

extendedCentredFaceToCellStencil Class Reference

#include <finiteVolume/extendedCentredFaceToCellStencil.H>


Detailed Description

Source files

Definition at line 50 of file extendedCentredFaceToCellStencil.H.

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.

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: