A "mix-in" class used by classes that need frequent access to grid parameters.
More...
#include <grid.h>
|
| dvec & | x |
| | The coordinates of the grid points [m].
|
| |
| dvec & | r |
| | "radius" at x[j].
|
| |
| dvec & | rphalf |
| | "radius" at x[j+1/2].
|
| |
| dvec & | hh |
| | Grid spacing between x[j] and x[j+1].
|
| |
| dvec & | dlj |
| | Average of left and right grid spacing.
|
| |
| dvec & | cfm |
| | Coefficient for y[j-1] in first centered difference.
|
| |
| dvec & | cf |
| | Coefficient for y[j] in first centered difference.
|
| |
| dvec & | cfp |
| | Coefficient for y[j+1] in first centered difference.
|
| |
| int & | alpha |
| | curved grid exponent.
|
| |
| int & | beta |
| | curved grid exponent.
|
| |
| size_t & | nPoints |
| | number of grid point
|
| |
| size_t & | jj |
| | index of last grid point (== nPoints-1)
|
| |
A "mix-in" class used by classes that need frequent access to grid parameters.
◆ GridBased()
◆ ~GridBased()
| virtual GridBased::~GridBased |
( |
| ) |
|
|
inlinevirtual |
◆ setGrid()
| void GridBased::setGrid |
( |
const OneDimGrid & | grid | ) |
|
|
virtual |
◆ grid
The coordinates of the grid points [m].
"radius" at x[j].
Equal to 1 for planar geometries.
◆ rphalf
"radius" at x[j+1/2].
Equal to 1 for planar geometries.
◆ hh
Grid spacing between x[j] and x[j+1].
◆ dlj
Average of left and right grid spacing.
◆ cfm
Coefficient for y[j-1] in first centered difference.
◆ cf
Coefficient for y[j] in first centered difference.
◆ cfp
Coefficient for y[j+1] in first centered difference.
◆ alpha
curved grid exponent.
alpha = 1 for curved flames, 0 for planar flames and axisymmetric jet flames.
◆ beta
curved grid exponent.
beta = 2 for axisymmetric jet flames, 1 for planar flames and curved flames.
◆ nPoints
| size_t& GridBased::nPoints |
|
protected |
◆ jj
index of last grid point (== nPoints-1)
The documentation for this class was generated from the following files: