Go to the documentation of this file.
35 #ifndef channelIndex_H
36 #define channelIndex_H
113 const bool symmetric,
131 const bool asymmetric=
false
Does averaging of fields over layers of cells. Assumes layered mesh.
void operator=(const channelIndex &)
scalarField regionCount_
Per global region the number of cells (scalarField so we can use.
Mesh consisting of general polyhedral cells.
Field< T > collapse(const Field< T > &vsf, const bool asymmetric=false) const
Collapse a field to a line.
Pre-declare SubField and related Field type.
channelIndex(const channelIndex &)
Disallow default bitwise copy construct and assignment.
autoPtr< regionSplit > cellRegion_
Per cell the global region.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const scalarField & y() const
Return the field of Y locations from the cell centres.
Direction is an integer type used to represent the Cartesian directions etc. Currently it is a typede...
scalarField y_
Sorted component of cell centres.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
labelList sortMap_
From sorted region back to unsorted global region.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const bool symmetric_
Is mesh symmetric.
static const NamedEnum< vector::components, 3 > vectorComponentsNames_
void calcLayeredRegions(const polyMesh &mesh, const labelList &startFaces)
Field< T > regionSum(const Field< T > &cellField) const
Sum field per region.
void walkOppositeFaces(const polyMesh &mesh, const labelList &startFaces, boolList &blockedFace)
const direction dir_
Direction to sort.