extendedCentredCellToFaceStencil Class Reference
Inheritance diagram for extendedCentredCellToFaceStencil:
Collaboration diagram for extendedCentredCellToFaceStencil:

Public Member Functions

 extendedCentredCellToFaceStencil (const cellToFaceStencil &)
 Construct from uncompacted face stencil. More...
 
 extendedCentredCellToFaceStencil (const extendedCentredCellToFaceStencil &)=delete
 Disallow default bitwise copy construction. More...
 
const distributionMap & 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 VolField< Type > &fld, List< List< Type >> &stencilFld) const
 Use map to get the data into stencil order. More...
 
template<class Type >
tmp< SurfaceField< Type > > weightedSum (const VolField< Type > &fld, const List< List< scalar >> &stencilWeights) const
 Sum vol field contributions to create face values. More...
 
void operator= (const extendedCentredCellToFaceStencil &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from extendedCellToFaceStencil
 ClassName ("extendedCellToFaceStencil")
 
 extendedCellToFaceStencil (const polyMesh &)
 Construct from mesh. More...
 
template<class Type >
Foam::tmp< Foam::SurfaceField< Type > > weightedSum (const distributionMap &map, const labelListList &stencil, const VolField< Type > &fld, const List< List< scalar >> &stencilWeights)
 

Additional Inherited Members

- Static Public Member Functions inherited from extendedCellToFaceStencil
template<class Type >
static void collectData (const distributionMap &map, const labelListList &stencil, const VolField< Type > &fld, List< List< Type >> &stencilFld)
 Use map to get the data into stencil order. More...
 
template<class Type >
static tmp< SurfaceField< Type > > weightedSum (const distributionMap &map, const labelListList &stencil, const VolField< Type > &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 distributionMap &map)
 Write some statistics about stencil. More...
 
- Protected Attributes inherited from extendedCellToFaceStencil
const polyMesh & mesh_
 

Detailed Description

Constructor & Destructor Documentation

◆ extendedCentredCellToFaceStencil() [1/2]

extendedCentredCellToFaceStencil ( const cellToFaceStencil &  stencil)
explicit

Construct from uncompacted face stencil.

Definition at line 32 of file extendedCentredCellToFaceStencil.C.

References UPstream::nProcs(), and extendedCentredCellToFaceStencil::stencil().

Here is the call graph for this function:

◆ extendedCentredCellToFaceStencil() [2/2]

Disallow default bitwise copy construction.

Member Function Documentation

◆ map()

◆ stencil()

◆ compact()

void compact ( )

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

Definition at line 56 of file extendedCentredCellToFaceStencil.C.

References forAll, and UPstream::msgType().

Here is the call graph for this function:

◆ collectData()

void collectData ( const VolField< Type > &  fld,
List< List< Type >> &  stencilFld 
) const
inline

Use map to get the data into stencil order.

Definition at line 95 of file extendedCentredCellToFaceStencil.H.

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

Here is the call graph for this function:

◆ weightedSum()

tmp<SurfaceField<Type> > weightedSum ( const VolField< Type > &  fld,
const List< List< scalar >> &  stencilWeights 
) const
inline

Sum vol field contributions to create face values.

Definition at line 112 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:

◆ operator=()

void operator= ( const extendedCentredCellToFaceStencil &  )
delete

Disallow default bitwise assignment.


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