Note: transformations on coupled patches not supported. Problem is the positions of cells reachable through these patches. More...
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 polyMesh & | mesh_ |
Note: transformations on coupled patches not supported. Problem is the positions of cells reachable through these patches.
Definition at line 54 of file extendedFaceToCellStencil.H.
|
explicit |
Construct from mesh.
Definition at line 32 of file extendedFaceToCellStencil.C.
References polyMesh::boundaryMesh(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, patchIdentifier::name(), patches, patchi, coupledPolyPatch::transform(), and transformer::transformsPosition().
|
static |
Use map to get the data into stencil order.
Referenced by extendedCentredFaceToCellStencil::collectData().
|
static |
Sum surface field contributions to create cell values.
Referenced by extendedFaceToCellStencil::collectData(), and extendedCentredFaceToCellStencil::weightedSum().
void collectData | ( | const mapDistribute & | map, |
const labelListList & | stencil, | ||
const GeometricField< Type, fvsPatchField, surfaceMesh > & | fld, | ||
List< List< Type >> & | stencilFld | ||
) |
Definition at line 32 of file extendedFaceToCellStencilTemplates.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), mapDistributeBase::constructSize(), mapDistribute::distribute(), forAll, fvsPatchField< Type >::patch(), patchi, List< T >::setSize(), List< T >::size(), extendedFaceToCellStencil::weightedSum(), and Foam::Zero.
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 83 of file extendedFaceToCellStencilTemplates.C.
References DimensionedField< Type, GeoMesh >::dimensions(), forAll, mesh, DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), sf(), and Foam::Zero.
|
protected |
Definition at line 60 of file extendedFaceToCellStencil.H.