OpenFOAM/PDRblock addressing information. More...
#include <PDRmeshArrays.H>

Public Member Functions | |
| PDRmeshArrays ()=default | |
| Default construct. | |
| ~PDRmeshArrays ()=default | |
| Destructor. | |
| label | nCells () const |
| The number of cells. | |
| label | nFaces () const |
| The number of faces. | |
| void | classify (const polyMesh &mesh, const PDRblock &pdrBlock) |
| Determine i-j-k indices for faces/cells. | |
| void | read (const Time &runTime, const PDRblock &pdrBlock) |
| Read OpenFOAM mesh and determine i-j-k indices for faces/cells. | |
Public Attributes | |
| labelVector | cellDims |
| The cell i-j-k addressing range. | |
| labelVector | faceDims |
| The face i-j-k addressing range. | |
| List< labelVector > | cellIndex |
| For each cell, the corresponding i-j-k address. | |
| List< labelVector > | faceIndex |
| For each face, the corresponding i-j-k address. | |
| List< direction > | faceOrient |
| For each face, the x/y/z orientation. | |
Static Public Attributes | |
| static scalar | gridPointRelTol |
| Relative tolerance when matching grid points. Default = 0.02. | |
OpenFOAM/PDRblock addressing information.
Provides mapping for a rectilinear OpenFOAM mesh in terms of i-j-k indices for faces and cells.
The mesh points are first binned according to their i-j-k locations. Next the faces are classified according to their lowest x/y/z coordinates and the face orientation as x/y/z. Orientation in the sense +x or -x is not noted. The cell faces are then examined to determine the appropriate i-j-k location.
Definition at line 61 of file PDRmeshArrays.H.
|
default |
Default construct.
|
default |
Destructor.
|
inline |
|
inline |
Determine i-j-k indices for faces/cells.
References mesh.
Read OpenFOAM mesh and determine i-j-k indices for faces/cells.
References runTime.
|
static |
Relative tolerance when matching grid points. Default = 0.02.
Definition at line 68 of file PDRmeshArrays.H.
| labelVector cellDims |
The cell i-j-k addressing range.
Definition at line 73 of file PDRmeshArrays.H.
| labelVector faceDims |
The face i-j-k addressing range.
Definition at line 78 of file PDRmeshArrays.H.
| List<labelVector> cellIndex |
For each cell, the corresponding i-j-k address.
Definition at line 83 of file PDRmeshArrays.H.
Referenced by nCells().
| List<labelVector> faceIndex |
For each face, the corresponding i-j-k address.
Definition at line 88 of file PDRmeshArrays.H.
Referenced by nFaces().
For each face, the x/y/z orientation.
Definition at line 93 of file PDRmeshArrays.H.