extendedFaceToCellStencil Class Reference

Note: transformations on coupled patches not supported. Problem is the positions of cells reachable through these patches. More...

Inheritance diagram for extendedFaceToCellStencil:
Collaboration diagram for extendedFaceToCellStencil:

Public Member Functions

 extendedFaceToCellStencil (const polyMesh &)
 Construct from mesh. More...
 
template<class Type >
Foam::tmp< Foam::VolField< Type > > weightedSum (const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, const List< List< scalar >> &stencilWeights)
 

Static Public Member Functions

template<class Type >
static void collectData (const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, List< List< Type >> &stencilFld)
 Use map to get the data into stencil order. More...
 
template<class Type >
static tmp< VolField< Type > > weightedSum (const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, const List< List< scalar >> &stencilWeights)
 Sum surface field contributions to create cell values. More...
 

Protected Attributes

const polyMeshmesh_
 

Detailed Description

Note: transformations on coupled patches not supported. Problem is the positions of cells reachable through these patches.

Source files

Definition at line 54 of file extendedFaceToCellStencil.H.

Constructor & Destructor Documentation

◆ extendedFaceToCellStencil()

Member Function Documentation

◆ collectData()

void collectData ( const distributionMap map,
const labelListList stencil,
const SurfaceField< Type > &  fld,
List< List< Type >> &  stencilFld 
)
static

Use map to get the data into stencil order.

Definition at line 31 of file extendedFaceToCellStencilTemplates.C.

References distributionMapBase::constructSize(), distributionMap::distribute(), fld(), forAll, fvsPatchField< Type >::patch(), patchi, List< T >::setSize(), List< T >::size(), fvPatch::start(), and Foam::Zero.

Referenced by extendedCentredFaceToCellStencil::collectData().

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

◆ weightedSum() [1/2]

static tmp<VolField<Type> > weightedSum ( const distributionMap map,
const labelListList stencil,
const SurfaceField< Type > &  fld,
const List< List< scalar >> &  stencilWeights 
)
static

Sum surface field contributions to create cell values.

Referenced by extendedCentredFaceToCellStencil::weightedSum().

Here is the caller graph for this function:

◆ weightedSum() [2/2]

Foam::tmp<Foam::VolField<Type> > weightedSum ( const distributionMap map,
const labelListList stencil,
const SurfaceField< Type > &  fld,
const List< List< scalar >> &  stencilWeights 
)

Definition at line 82 of file extendedFaceToCellStencilTemplates.C.

References fld(), forAll, tmp< T >::ref(), sf(), 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 extendedFaceToCellStencil.H.


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