Baseclass for cell-to-cell stencils. More...
Public Member Functions | |
extendedCellToCellStencil (const polyMesh &) | |
Construct from mesh. More... | |
template<class Type , class WeightType > | |
Foam::tmp< Foam::GeometricField< typename Foam::outerProduct< WeightType, Type >::type, Foam::fvPatchField, Foam::volMesh > > | weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType > > &stencilWeights) |
Static Public Member Functions | |
template<class Type , class WeightType > | |
static tmp< GeometricField< typename outerProduct< WeightType, Type >::type, fvPatchField, volMesh > > | weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType > > &stencilWeights) |
Sum surface field contributions to create cell values. More... | |
Protected Attributes | |
const polyMesh & | mesh_ |
Baseclass for cell-to-cell stencils.
Definition at line 54 of file extendedCellToCellStencil.H.
|
explicit |
Construct from mesh.
Definition at line 32 of file extendedCellToCellStencil.C.
References polyMesh::boundaryMesh(), coupled(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, patchIdentifier::name(), coupledPolyPatch::parallel(), patches, and coupledPolyPatch::separated().
|
static |
Sum surface field contributions to create cell values.
Referenced by extendedCentredCellToCellStencil::weightedSum().
Foam::tmp< Foam::GeometricField< typename Foam::outerProduct< WeightType, Type >::type, Foam::fvPatchField, Foam::volMesh > > weightedSum | ( | const mapDistribute & | map, |
const labelListList & | stencil, | ||
const GeometricField< Type, fvPatchField, volMesh > & | fld, | ||
const List< List< WeightType > > & | stencilWeights | ||
) |
Definition at line 42 of file extendedCellToCellStencilTemplates.C.
References extendedCellToFaceStencil::collectData(), fld(), forAll, mesh, fvMesh::time(), Time::timeName(), and Foam::Zero.
|
protected |
Definition at line 60 of file extendedCellToCellStencil.H.