Loading...
Searching...
No Matches
extendedCellToCellStencil Class Reference

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

#include <extendedCellToCellStencil.H>

Inheritance diagram for extendedCellToCellStencil:
Collaboration diagram for extendedCellToCellStencil:

Public Member Functions

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

Protected Attributes

const polyMeshmesh_

Detailed Description

Baseclass for cell-to-cell stencils.

Source files

Definition at line 50 of file extendedCellToCellStencil.H.

Constructor & Destructor Documentation

◆ extendedCellToCellStencil()

extendedCellToCellStencil ( const polyMesh & mesh)
explicit

Construct from mesh.

Definition at line 25 of file extendedCellToCellStencil.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 extendedCentredCellToCellStencil::extendedCentredCellToCellStencil().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ weightedSum() [1/2]

template<class Type, class WeightType>
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.

References fld().

Referenced by extendedCentredCellToCellStencil::weightedSum().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ weightedSum() [2/2]

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 )

Definition at line 35 of file extendedCellToCellStencilTemplates.C.

References extendedCellToFaceStencil::collectData(), fld(), forAll, mesh, and Foam::Zero.

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

const polyMesh& mesh_
protected

Definition at line 56 of file extendedCellToCellStencil.H.

Referenced by extendedCellToCellStencil().


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