Note: transformations on coupled patches not supported. Problem is the positions of cells reachable through these patches. More...
#include <extendedFaceToCellStencil.H>


Public Member Functions | |
| 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) |
| template<class Type> | |
| Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvsPatchField, surfaceMesh > &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, 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 | |
| const polyMesh & | mesh_ |
Note: transformations on coupled patches not supported. Problem is the positions of cells reachable through these patches.
Definition at line 52 of file extendedFaceToCellStencil.H.
|
explicit |
Construct from mesh.
Definition at line 27 of file extendedFaceToCellStencil.C.
References coupled, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, mesh_, patchIdentifier::name(), coupledPolyPatch::parallel(), patches, Foam::refCast(), and coupledPolyPatch::separated().
Referenced by extendedCentredFaceToCellStencil::extendedCentredFaceToCellStencil().


|
static |
Use map to get the data into stencil order.
References fld().
Referenced by extendedCentredFaceToCellStencil::collectData(), and weightedSum().


|
static |
Sum surface field contributions to create cell values.
References fld().
Referenced by extendedCentredFaceToCellStencil::weightedSum().


| void collectData | ( | const mapDistribute & | map, |
| const labelListList & | stencil, | ||
| const GeometricField< Type, fvsPatchField, surfaceMesh > & | fld, | ||
| List< List< Type > > & | stencilFld ) |
Definition at line 26 of file extendedFaceToCellStencilTemplates.C.
References mapDistributeBase::constructSize(), mapDistribute::distribute(), fld(), forAll, fvsPatchFieldBase::patch(), List< T >::setSize(), UList< T >::size(), fvPatch::start(), and Foam::Zero.

| Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > weightedSum | ( | const mapDistribute & | map, |
| const labelListList & | stencil, | ||
| const GeometricField< Type, fvsPatchField, surfaceMesh > & | fld, | ||
| const List< List< scalar > > & | stencilWeights ) |
Definition at line 77 of file extendedFaceToCellStencilTemplates.C.
References collectData(), fld(), forAll, mesh, tmp< T >::ref(), and Foam::Zero.

|
protected |
Definition at line 58 of file extendedFaceToCellStencil.H.
Referenced by extendedFaceToCellStencil().