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< T > | regionSum (const Field< T > &cellField) const |
Sum field per region. More... | |
template<class T > | |
Field< T > | collapse (const Field< T > &vsf, const bool asymmetric=false) const |
Collapse a field to a line. More... | |
const scalarField & | y () const |
Return the field of Y locations from the cell centres. More... | |
Private Member Functions | |
void | walkOppositeFaces (const polyMesh &mesh, const labelList &startFaces, boolList &blockedFace) |
void | calcLayeredRegions (const polyMesh &mesh, const labelList &startFaces) |
channelIndex (const channelIndex &) | |
Disallow default bitwise copy construct and assignment. More... | |
void | operator= (const channelIndex &) |
Private Attributes | |
const bool | symmetric_ |
Is mesh symmetric. More... | |
const direction | dir_ |
Direction to sort. More... | |
autoPtr< regionSplit > | cellRegion_ |
Per cell the global region. More... | |
scalarField | regionCount_ |
Per global region the number of cells (scalarField so we can use. More... | |
labelList | sortMap_ |
From sorted region back to unsorted global region. More... | |
scalarField | y_ |
Sorted component of cell centres. More... | |
Static Private Attributes | |
static const NamedEnum< vector::components, 3 > | vectorComponentsNames_ |
Does averaging of fields over layers of cells. Assumes layered mesh.
Definition at line 52 of file channelIndex.H.
|
private |
Disallow default bitwise copy construct and assignment.
channelIndex | ( | const polyMesh & | , |
const dictionary & | |||
) |
Construct from dictionary.
channelIndex | ( | const polyMesh & | mesh, |
const labelList & | startFaces, | ||
const bool | symmetric, | ||
const direction | dir | ||
) |
Construct from supplied starting faces.
|
private |
|
private |
Collapse a field to a line.
|
inline |
Return the field of Y locations from the cell centres.
Definition at line 134 of file channelIndex.H.
References channelIndex::y_.
|
staticprivate |
Definition at line 57 of file channelIndex.H.
|
private |
Is mesh symmetric.
Definition at line 60 of file channelIndex.H.
|
private |
Direction to sort.
Definition at line 63 of file channelIndex.H.
|
private |
Per cell the global region.
Definition at line 66 of file channelIndex.H.
|
private |
Per global region the number of cells (scalarField so we can use.
field algebra)
Definition at line 70 of file channelIndex.H.
|
private |
From sorted region back to unsorted global region.
Definition at line 73 of file channelIndex.H.
|
private |
Sorted component of cell centres.
Definition at line 76 of file channelIndex.H.
Referenced by channelIndex::y().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.