Public Member Functions | Private Member Functions | Private Attributes
extendedCentredCellToFaceStencil Class Reference
Inheritance diagram for extendedCentredCellToFaceStencil:
Inheritance graph
[legend]
Collaboration diagram for extendedCentredCellToFaceStencil:
Collaboration graph
[legend]

Public Member Functions

 extendedCentredCellToFaceStencil (const cellToFaceStencil &)
 Construct from uncompacted face stencil. More...
 
const mapDistributemap () const
 Return reference to the parallel distribution map. More...
 
const labelListListstencil () 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, fvPatchField, volMesh > &fld, List< List< T > > &stencilFld) const
 Use map to get the data into stencil order. More...
 
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. More...
 
- Public Member Functions inherited from extendedCellToFaceStencil
 ClassName ("extendedCellToFaceStencil")
 
 extendedCellToFaceStencil (const polyMesh &)
 Construct from mesh. More...
 
template<class Type >
void collectData (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, List< List< Type > > &stencilFld)
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > weightedSum (const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar > > &stencilWeights)
 

Private Member Functions

 extendedCentredCellToFaceStencil (const extendedCentredCellToFaceStencil &)
 Disallow default bitwise copy construct. More...
 
void operator= (const extendedCentredCellToFaceStencil &)
 Disallow default bitwise assignment. More...
 

Private Attributes

autoPtr< mapDistributemapPtr_
 Swap map for getting neigbouring data. More...
 
labelListList stencil_
 Per face the stencil. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from extendedCellToFaceStencil
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. More...
 
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. More...
 
- Static Protected Member Functions inherited from extendedCellToFaceStencil
static void writeStencilStats (Ostream &os, const labelListList &stencil, const mapDistribute &map)
 Write some statistics about stencil. More...
 
- Protected Attributes inherited from extendedCellToFaceStencil
const polyMeshmesh_
 

Detailed Description

Source files

Definition at line 49 of file extendedCentredCellToFaceStencil.H.

Constructor & Destructor Documentation

◆ extendedCentredCellToFaceStencil() [1/2]

Disallow default bitwise copy construct.

◆ extendedCentredCellToFaceStencil() [2/2]

extendedCentredCellToFaceStencil ( const cellToFaceStencil stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 33 of file extendedCentredCellToFaceStencil.C.

References cellToFaceStencil::globalNumbering().

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

void operator= ( const extendedCentredCellToFaceStencil )
private

Disallow default bitwise assignment.

◆ map()

const mapDistribute& map ( ) const
inline

◆ stencil()

const labelListList& stencil ( ) const
inline

◆ compact()

void compact ( )

After removing elements from the stencil adapt the schedule (map).

Definition at line 57 of file extendedCentredCellToFaceStencil.C.

References forAll, extendedCentredCellToFaceStencil::map(), extendedCentredCellToFaceStencil::mapPtr_, UPstream::msgType(), and extendedCentredCellToFaceStencil::stencil_.

Here is the call graph for this function:

◆ collectData()

void collectData ( const GeometricField< T, fvPatchField, volMesh > &  fld,
List< List< T > > &  stencilFld 
) const
inline

Use map to get the data into stencil order.

Definition at line 102 of file extendedCentredCellToFaceStencil.H.

References extendedCellToFaceStencil::collectData(), fld(), extendedCentredCellToFaceStencil::map(), and extendedCentredCellToFaceStencil::stencil().

Here is the call graph for this function:

◆ weightedSum()

tmp<GeometricField<Type, fvsPatchField, surfaceMesh> > weightedSum ( const GeometricField< Type, fvPatchField, volMesh > &  fld,
const List< List< scalar > > &  stencilWeights 
) const
inline

Sum vol field contributions to create face values.

Definition at line 119 of file extendedCentredCellToFaceStencil.H.

References fld(), extendedCentredCellToFaceStencil::map(), extendedCentredCellToFaceStencil::stencil(), and extendedCellToFaceStencil::weightedSum().

Referenced by CentredFitSnGradScheme< Type, Polynomial, Stencil >::correction(), and CentredFitScheme< Type, Polynomial, Stencil >::correction().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ mapPtr_

autoPtr<mapDistribute> mapPtr_
private

Swap map for getting neigbouring data.

Definition at line 56 of file extendedCentredCellToFaceStencil.H.

Referenced by extendedCentredCellToFaceStencil::compact(), and extendedCentredCellToFaceStencil::map().

◆ stencil_

labelListList stencil_
private

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