A half grid quantity.
More...
#include <grid_quantity.hpp>
|
const std::vector< double > | buffer |
| Buffer containing radial quantity.
|
|
const double | ds |
| Grid spacing in s.
|
|
A half grid quantity.
Half grid quantities lay between the full grid points. For half grid quantities the first index is invalid.
◆ half_grid()
half_grid::half_grid |
( |
const std::vector< double > & |
buffer | ) |
|
Construct a half grid quantity.
half_grid
- Parameters
-
[in] | buffer | Buffer containing the radial quantity. |
Construct a half grid quantity.
- Parameters
-
[in] | buffer | Buffer containing the radial quantity. |
◆ get()
double half_grid::get |
( |
const double |
s | ) |
const |
|
finalvirtual |
Get a value at a radial s position.
- Parameters
-
- Returns
- The interpolated s position.
Implements radial_quantity.
◆ get_prime()
full_grid half_grid::get_prime |
( |
const double |
m | ) |
const |
Get a radial derivative at a s position.
- Parameters
-
[in] | m | Poloidal mode number. |
- Returns
- The radial derivative on the half grid.
The documentation for this class was generated from the following files: