Stellarator-Tools
|
A full grid quantity. More...
#include <grid_quantity.hpp>
Public Member Functions | |
full_grid (const std::vector< double > &buffer) | |
Construct a full grid quantity. More... | |
double | get (const double s) const final |
Get a value at a radial s position. More... | |
half_grid | get_prime () const |
Get a radial derivative at a s position. More... | |
Public Member Functions inherited from radial_quantity | |
radial_quantity (const std::vector< double > &buffer) | |
Construct a radial quantity. More... | |
Additional Inherited Members | |
Public Attributes inherited from radial_quantity | |
const std::vector< double > | buffer |
Buffer containing radial quantity. | |
const double | ds |
Grid spacing in s. | |
A full grid quantity.
Full grid quantities are defined from the magnetic axis to the last closed flux surface.
full_grid::full_grid | ( | const std::vector< double > & | buffer | ) |
Construct a full grid quantity.
[in] | buffer | Buffer containing the radial quantity. |
Construct a full grid quantity.
[in] | buffer | Buffer containing the radial quantity. |
|
finalvirtual |
Get a value at a radial s position.
[in] | s | Radial s position. |
Implements radial_quantity.
half_grid full_grid::get_prime | ( | ) | const |
Get a radial derivative at a s position.