47#ifndef PDRmeshArrays_H
48#define PDRmeshArrays_H
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A single block x-y-z rectilinear mesh addressable as i,j,k with simplified creation....
OpenFOAM/PDRblock addressing information.
label nCells() const
The number of cells.
List< labelVector > cellIndex
For each cell, the corresponding i-j-k address.
void read(const Time &runTime, const PDRblock &pdrBlock)
Read OpenFOAM mesh and determine i-j-k indices for faces/cells.
List< direction > faceOrient
For each face, the x/y/z orientation.
~PDRmeshArrays()=default
Destructor.
void classify(const polyMesh &mesh, const PDRblock &pdrBlock)
Determine i-j-k indices for faces/cells.
static scalar gridPointRelTol
Relative tolerance when matching grid points. Default = 0.02.
labelVector cellDims
The cell i-j-k addressing range.
List< labelVector > faceIndex
For each face, the corresponding i-j-k address.
label nFaces() const
The number of faces.
PDRmeshArrays()=default
Default construct.
labelVector faceDims
The face i-j-k addressing range.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Mesh consisting of general polyhedral cells.