Public Member Functions | List of all members
channelIndex Class Reference

Does averaging of fields over layers of cells. Assumes layered mesh. More...

Public Member Functions

 channelIndex (const polyMesh &, const dictionary &)
 Construct from dictionary. More...
 
 channelIndex (const polyMesh &mesh, const labelList &startFaces, const bool symmetric, const direction dir)
 Construct from supplied starting faces. More...
 
template<class T >
Field< TregionSum (const Field< T > &cellField) const
 Sum field per region. More...
 
template<class T >
Field< Tcollapse (const Field< T > &vsf, const bool asymmetric=false) const
 Collapse a field to a line. More...
 
const scalarFieldy () const
 Return the field of Y locations from the cell centres. More...
 

Detailed Description

Does averaging of fields over layers of cells. Assumes layered mesh.

Source files

Definition at line 52 of file channelIndex.H.

Constructor & Destructor Documentation

◆ channelIndex() [1/2]

channelIndex ( const polyMesh ,
const dictionary  
)

Construct from dictionary.

◆ channelIndex() [2/2]

channelIndex ( const polyMesh mesh,
const labelList startFaces,
const bool  symmetric,
const direction  dir 
)

Construct from supplied starting faces.

Member Function Documentation

◆ regionSum()

Field<T> regionSum ( const Field< T > &  cellField) const

Sum field per region.

◆ collapse()

Field<T> collapse ( const Field< T > &  vsf,
const bool  asymmetric = false 
) const

Collapse a field to a line.

◆ y()

const scalarField& y ( ) const
inline

Return the field of Y locations from the cell centres.

Definition at line 134 of file channelIndex.H.


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