#include <finiteVolume/extendedCentredCellToFaceStencil.H>
Definition at line 50 of file extendedCentredCellToFaceStencil.H.
Public Member Functions | |
extendedCentredCellToFaceStencil (const cellToFaceStencil &) | |
Construct from uncompacted face stencil. | |
const mapDistribute & | map () const |
Return reference to the parallel distribution map. | |
const labelListList & | stencil () const |
Return reference to the stencil. | |
void | compact () |
After removing elements from the stencil adapt the schedule (map). | |
template<class T > | |
void | collectData (const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T > > &stencilFld) const |
Use map to get the data into stencil order. | |
template<class Type > | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | weightedSum (const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar > > &stencilWeights) const |
Sum vol field contributions to create face values. | |
![]() | |
ClassName ("extendedCellToFaceStencil") | |
extendedCellToFaceStencil (const polyMesh &) | |
Construct from mesh. | |
template<class Type > | |
void | collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, List< List< Type > > &stencilFld) |
Additional Inherited Members | |
![]() | |
static autoPtr< mapDistribute > | calcDistributeMap (const polyMesh &mesh, const globalIndex &globalNumbering, labelListList &faceStencil) |
Calculate distribute map. | |
template<class T > | |
static void | collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T > > &stencilFld) |
Use map to get the data into stencil order. | |
template<class Type > | |
static tmp< GeometricField < Type, fvsPatchField, surfaceMesh > > | weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar > > &stencilWeights) |
Sum vol field contributions to create face values. | |
![]() | |
static void | writeStencilStats (Ostream &os, const labelListList &stencil, const mapDistribute &map) |
Write some statistics about stencil. | |
![]() | |
const polyMesh & | mesh_ |
|
explicit |
Construct from uncompacted face stencil.
Definition at line 33 of file extendedCentredCellToFaceStencil.C.
References cellToFaceStencil::globalNumbering(), and cellToFaceStencil::mesh().
|
inline |
Return reference to the parallel distribution map.
Definition at line 86 of file extendedCentredCellToFaceStencil.H.
Referenced by centredCECCellToFaceStencilObject::centredCECCellToFaceStencilObject(), centredCFCCellToFaceStencilObject::centredCFCCellToFaceStencilObject(), centredCPCCellToFaceStencilObject::centredCPCCellToFaceStencilObject(), centredFECCellToFaceStencilObject::centredFECCellToFaceStencilObject(), extendedCentredCellToFaceStencil::collectData(), extendedCentredCellToFaceStencil::compact(), and extendedCentredCellToFaceStencil::weightedSum().
|
inline |
Return reference to the stencil.
Definition at line 92 of file extendedCentredCellToFaceStencil.H.
Referenced by centredCECCellToFaceStencilObject::centredCECCellToFaceStencilObject(), centredCFCCellToFaceStencilObject::centredCFCCellToFaceStencilObject(), centredCPCCellToFaceStencilObject::centredCPCCellToFaceStencilObject(), centredFECCellToFaceStencilObject::centredFECCellToFaceStencilObject(), extendedCentredCellToFaceStencil::collectData(), and extendedCentredCellToFaceStencil::weightedSum().
void compact | ( | ) |
After removing elements from the stencil adapt the schedule (map).
Definition at line 54 of file extendedCentredCellToFaceStencil.C.
References forAll, and extendedCentredCellToFaceStencil::map().
|
inline |
Use map to get the data into stencil order.
Definition at line 103 of file extendedCentredCellToFaceStencil.H.
References extendedCentredCellToFaceStencil::map(), and extendedCentredCellToFaceStencil::stencil().
|
inline |
Sum vol field contributions to create face values.
Definition at line 120 of file extendedCentredCellToFaceStencil.H.
References extendedCentredCellToFaceStencil::map(), and extendedCentredCellToFaceStencil::stencil().
Referenced by CentredFitScheme< Type, Polynomial, Stencil >::correction().