Public Member Functions | |
extendedCentredFaceToCellStencil (const faceToCellStencil &) | |
Construct from uncompacted face stencil. More... | |
const mapDistribute & | map () const |
Return reference to the parallel distribution map. More... | |
const labelListList & | stencil () const |
Return reference to the stencil. More... | |
void | compact () |
After removing elements from the stencil adapt the schedule (map). More... | |
template<class T > | |
void | collectData (const GeometricField< T, fvsPatchField, surfaceMesh > &fld, List< List< T > > &stencilFld) const |
Use map to get the data into stencil order. More... | |
template<class Type > | |
tmp< GeometricField< Type, fvPatchField, volMesh > > | weightedSum (const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const List< List< scalar > > &stencilWeights) const |
Sum surface field contributions to create cell values. More... | |
![]() | |
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) |
Private Member Functions | |
extendedCentredFaceToCellStencil (const extendedCentredFaceToCellStencil &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const extendedCentredFaceToCellStencil &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
autoPtr< mapDistribute > | mapPtr_ |
Swap map for getting neigbouring data. More... | |
labelListList | stencil_ |
Per face the stencil. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
const polyMesh & | mesh_ |
Definition at line 49 of file extendedCentredFaceToCellStencil.H.
|
private |
Disallow default bitwise copy construct.
|
explicit |
Construct from uncompacted face stencil.
Definition at line 33 of file extendedCentredFaceToCellStencil.C.
References faceToCellStencil::globalNumbering().
|
private |
Disallow default bitwise assignment.
|
inline |
Return reference to the parallel distribution map.
Definition at line 85 of file extendedCentredFaceToCellStencil.H.
References extendedCentredFaceToCellStencil::mapPtr_.
Referenced by extendedCentredFaceToCellStencil::collectData(), extendedCentredFaceToCellStencil::compact(), and extendedCentredFaceToCellStencil::weightedSum().
|
inline |
Return reference to the stencil.
Definition at line 91 of file extendedCentredFaceToCellStencil.H.
References extendedCentredFaceToCellStencil::stencil_.
Referenced by extendedCentredFaceToCellStencil::collectData(), and extendedCentredFaceToCellStencil::weightedSum().
void compact | ( | ) |
After removing elements from the stencil adapt the schedule (map).
Definition at line 57 of file extendedCentredFaceToCellStencil.C.
References forAll, extendedCentredFaceToCellStencil::map(), extendedCentredFaceToCellStencil::mapPtr_, UPstream::msgType(), and extendedCentredFaceToCellStencil::stencil_.
|
inline |
Use map to get the data into stencil order.
Definition at line 102 of file extendedCentredFaceToCellStencil.H.
References extendedFaceToCellStencil::collectData(), fld(), extendedCentredFaceToCellStencil::map(), and extendedCentredFaceToCellStencil::stencil().
|
inline |
Sum surface field contributions to create cell values.
Definition at line 119 of file extendedCentredFaceToCellStencil.H.
References fld(), extendedCentredFaceToCellStencil::map(), extendedCentredFaceToCellStencil::stencil(), and extendedFaceToCellStencil::weightedSum().
|
private |
Swap map for getting neigbouring data.
Definition at line 56 of file extendedCentredFaceToCellStencil.H.
Referenced by extendedCentredFaceToCellStencil::compact(), and extendedCentredFaceToCellStencil::map().
|
private |
Per face the stencil.
Definition at line 59 of file extendedCentredFaceToCellStencil.H.
Referenced by extendedCentredFaceToCellStencil::compact(), and extendedCentredFaceToCellStencil::stencil().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.