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:
[legend]
Collaboration diagram for extendedFaceToCellStencil:
[legend]

Public Member Functions

 extendedFaceToCellStencil (const polyMesh &)
 Construct from mesh. More...
 
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. More...
 
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. 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 56 of file extendedFaceToCellStencil.H.

Constructor & Destructor Documentation

◆ extendedFaceToCellStencil()

extendedFaceToCellStencil ( const polyMesh mesh)
explicit

Construct from mesh.

Definition at line 34 of file extendedFaceToCellStencil.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

◆ collectData() [1/2]

static void collectData ( const mapDistribute map,
const labelListList stencil,
const GeometricField< T, fvsPatchField, surfaceMesh > &  fld,
List< List< T > > &  stencilFld 
)
static

Use map to get the data into stencil order.

Referenced by extendedCentredFaceToCellStencil::collectData().

Here is the caller graph for this function:

◆ weightedSum() [1/2]

static tmp< GeometricField< Type, fvPatchField, volMesh > > weightedSum ( const mapDistribute map,
const labelListList stencil,
const GeometricField< Type, fvsPatchField, surfaceMesh > &  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:

◆ collectData() [2/2]

void collectData ( const mapDistribute map,
const labelListList stencil,
const GeometricField< Type, fvsPatchField, surfaceMesh > &  fld,
List< List< Type > > &  stencilFld 
)

Definition at line 33 of file extendedFaceToCellStencilTemplates.C.

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

Here is the call graph for this function:

◆ weightedSum() [2/2]

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 84 of file extendedFaceToCellStencilTemplates.C.

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


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