|
Stellarator and Tokamak Modeling and Meshing Software (STOMMS)
|
Public Member Functions | |
| EqdskGridData () | |
| EqdskGridData (const adios2::IO &io, const adios2::Engine &reader, std::string name) | |
| const std::vector< double > & | getGridPointsR () const |
| const std::vector< double > & | getGridPointsZ () const |
| const std::vector< double > & | getPsiFieldOnGrid () const |
| const std::vector< double > & | getPsiArray () const |
| const std::vector< double > & | getPoloidalCurrentArray () const |
| const std::vector< double > & | getLimiterR () const |
| const std::vector< double > & | getLimiterZ () const |
| std::array< double, 4 > | getDomainBox () const |
| const std::vector< double > & | getPsplinePsiCoefficients () const |
| const std::vector< double > & | getPsplineCurrentCoefficients () const |
| const std::vector< double > & | getBicubicSplineCoefficients () const |
| std::array< double, 16 > | getBicubicSplineCoefficientsInCell (int rIndex, int zIndex) const |
| std::array< double, 16 > | getPsiAtChebyshevPointsInCell (int rIndex, int zIndex) const |
|
inline |
| EqdskGridData::EqdskGridData | ( | const adios2::IO & | io, |
| const adios2::Engine & | reader, | ||
| std::string | name | ||
| ) |
| const std::vector< double > & EqdskGridData::getBicubicSplineCoefficients | ( | ) | const |
Function to return a vector of all the bicubic spline coefficients in each grid cell.
It contains 16 coefficients for each cell.
| std::array< double, 16 > EqdskGridData::getBicubicSplineCoefficientsInCell | ( | int | rIndex, |
| int | zIndex | ||
| ) | const |
Function to return an array of bicubic spline coefficients for a grid cell.
| rIndex | index of grid cell along R. Ranges from 0 to rGridPoints.size()-1 |
| zIndex | index of grid cell along Z. Ranges from 0 to zGridPoints.size()-1 |
| std::array< double, 4 > EqdskGridData::getDomainBox | ( | ) | const |
Function to return eqdsk domain box. An array of size 4. Contains rMin, zMin, rMax, zMax.
| const std::vector< double > & EqdskGridData::getGridPointsR | ( | ) | const |
Function to return a vector of R coordinates of the grid.
| const std::vector< double > & EqdskGridData::getGridPointsZ | ( | ) | const |
Function to return a vector of Z coordinates of the grid.
| const std::vector< double > & EqdskGridData::getLimiterR | ( | ) | const |
Function to return a vector of R coordinates of the limiter.
| const std::vector< double > & EqdskGridData::getLimiterZ | ( | ) | const |
Function to return a vector of Z coordinates of the limiter.
| const std::vector< double > & EqdskGridData::getPoloidalCurrentArray | ( | ) | const |
Function to return a vector of poloidal current from Eqdsk.
| const std::vector< double > & EqdskGridData::getPsiArray | ( | ) | const |
Function to return a vector of psi flux from Eqdsk.
| std::array< double, 16 > EqdskGridData::getPsiAtChebyshevPointsInCell | ( | int | rIndex, |
| int | zIndex | ||
| ) | const |
Function to return an array of psi values at Chebyshev points for a grid cell.
| rIndex | index of grid cell along R. Ranges from 0 to rGridPoints.size()-1 |
| zIndex | index of grid cell along Z. Ranges from 0 to zGridPoints.size()-1 |
| const std::vector< double > & EqdskGridData::getPsiFieldOnGrid | ( | ) | const |
Function to return a vector of psi field on grid points. Size of psi vector = size of R vector* size of Z vector.
| const std::vector< double > & EqdskGridData::getPsplineCurrentCoefficients | ( | ) | const |
Function to return PSPLINE poloidal current spline coefficients.
Number of coefficients = 2*psi.size()
| const std::vector< double > & EqdskGridData::getPsplinePsiCoefficients | ( | ) | const |
Function to return global PSPLINE psi spline coefficients.
Number of coefficients = 4*rGridPoints.size()*zGridPoints.size()