extendedCellToCellStencil Class Reference

Baseclass for cell-to-cell stencils. More...

Inheritance diagram for extendedCellToCellStencil:
[legend]
Collaboration diagram for extendedCellToCellStencil:
[legend]

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 polyMeshmesh_
 

Detailed Description

Baseclass for cell-to-cell stencils.

Source files

Definition at line 54 of file extendedCellToCellStencil.H.

Constructor & Destructor Documentation

◆ extendedCellToCellStencil()

extendedCellToCellStencil ( const polyMesh mesh)
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().

Here is the call graph for this function:

Member Function Documentation

◆ weightedSum() [1/2]

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 
)
static

Sum surface field contributions to create cell values.

Referenced by extendedCentredCellToCellStencil::weightedSum().

Here is the caller graph for this function:

◆ weightedSum() [2/2]

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.

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

const polyMesh& mesh_
protected

Definition at line 60 of file extendedCellToCellStencil.H.


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