Provides a grid manager with a method for creating vectors with polar Coordinates and one for creating a Cartesian grid from these polar coordinates.
More...
template<class
Grid>
class Dumux::CakeGridManager< Grid >
All keys are expected to be in group GridParameterGroup.
The following keys are recognized:
- Radial : min/max value for radial coordinate
- Angular : min/max value for angular coordinate
- Axial : min/max value for axial coordinate Adding 0, 1 (or 2 in 3D) specifies in which direction (x, y and z, respectively) the radial, angular and axial direction are oriented
- Cells : number of cells array for x-coordinate (Again, an added 0, 1 or 2 specifies x, y or z)
- Grading : grading factor array for x-coordinate (Same here)
- Verbosity : whether the grid construction should output to standard out
The grading factor \( g \) specifies the ratio between the next and the current cell size: \( g = \frac{h_{i+1}}{h_i} \). Negative grading factors are converted to \( g = -\frac{1}{g_\textrm{negative}} \) to avoid issues with imprecise fraction numbers.