Public Member Functions | |
extendedCentredCellToCellStencil (const cellToCellStencil &) | |
Construct from uncompacted cell 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 Type > | |
void | collectData (const GeometricField< Type, fvPatchField, volMesh > &fld, List< List< Type > > &stencilFld) const |
Use map to get the data into stencil order. More... | |
template<class Type , class WeightType > | |
tmp< GeometricField< typename outerProduct< WeightType, Type >::type, fvPatchField, volMesh > > | weightedSum (const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType > > &stencilWeights) const |
Sum vol field contributions to create cell values. More... | |
![]() | |
extendedCellToCellStencil (const polyMesh &) | |
Construct from mesh. More... | |
Private Member Functions | |
extendedCentredCellToCellStencil (const extendedCentredCellToCellStencil &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const extendedCentredCellToCellStencil &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
autoPtr< mapDistribute > | mapPtr_ |
Swap map for getting neigbouring data. More... | |
labelListList | stencil_ |
Per cell the stencil. More... | |
Additional Inherited Members | |
![]() | |
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. More... | |
![]() | |
const polyMesh & | mesh_ |
Definition at line 50 of file extendedCentredCellToCellStencil.H.
|
private |
Disallow default bitwise copy construct.
|
explicit |
Construct from uncompacted cell stencil.
Definition at line 33 of file extendedCentredCellToCellStencil.C.
References cellToCellStencil::globalNumbering().
|
private |
Disallow default bitwise assignment.
|
inline |
Return reference to the parallel distribution map.
Definition at line 86 of file extendedCentredCellToCellStencil.H.
References extendedCentredCellToCellStencil::mapPtr_.
Referenced by extendedCentredCellToCellStencil::collectData(), extendedCentredCellToCellStencil::compact(), and extendedCentredCellToCellStencil::weightedSum().
|
inline |
Return reference to the stencil.
Definition at line 92 of file extendedCentredCellToCellStencil.H.
References extendedCentredCellToCellStencil::stencil_.
Referenced by extendedCentredCellToCellStencil::collectData(), main(), and extendedCentredCellToCellStencil::weightedSum().
void compact | ( | ) |
After removing elements from the stencil adapt the schedule (map).
Definition at line 57 of file extendedCentredCellToCellStencil.C.
References forAll, extendedCentredCellToCellStencil::map(), extendedCentredCellToCellStencil::mapPtr_, UPstream::msgType(), and extendedCentredCellToCellStencil::stencil_.
|
inline |
Use map to get the data into stencil order.
Definition at line 103 of file extendedCentredCellToCellStencil.H.
References extendedCellToFaceStencil::collectData(), fld(), extendedCentredCellToCellStencil::map(), and extendedCentredCellToCellStencil::stencil().
Referenced by LeastSquaresVectors< Stencil >::calcLeastSquaresVectors(), and main().
|
inline |
Sum vol field contributions to create cell values.
Definition at line 128 of file extendedCentredCellToCellStencil.H.
References fld(), extendedCentredCellToCellStencil::map(), extendedCentredCellToCellStencil::stencil(), and extendedCellToCellStencil::weightedSum().
|
private |
Swap map for getting neigbouring data.
Definition at line 57 of file extendedCentredCellToCellStencil.H.
Referenced by extendedCentredCellToCellStencil::compact(), and extendedCentredCellToCellStencil::map().
|
private |
Per cell the stencil.
Definition at line 60 of file extendedCentredCellToCellStencil.H.
Referenced by extendedCentredCellToCellStencil::compact(), and extendedCentredCellToCellStencil::stencil().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.