Shallow, device-copyable handle to equilibrium interpolation data. More...
#include "equil.hpp"
Public Attributes | |
| Real | a_mid = 0.0 |
Plasma minor radius at the midplane (equil::a_mid, distinct from a_midn); used by qbar's analytic branches. | |
| Real | a_midn = 0.0 |
| Midplane minor-radius normalization used by the analytic map. | |
| Kokkos::View< Real * > | bmax_s |
| Maximum \(|B|\) on each radial grid surface. | |
| Kokkos::View< Real *** > | c_equ |
| Equilibrium coefficient table indexed by \(s\), \(\chi\), and quantity. | |
| Kokkos::View< Real * > | chi_chease |
| CHEASE poloidal-angle grid [rad]. | |
| Real | dpsi_0inv = 0.0 |
Inverse spacing of psi_grd. | |
| Real | drho = 0.0 |
| Spacing of the normalized minor-radius table. | |
| Real | ds_inv = 0.0 |
| Inverse spacing of the uniform equilibrium \(s\) grid. | |
| Real | fpsin = 0.0 |
| Edge value of the normalized toroidal-flux function. | |
| Real | gedc_inv = 0.0 |
Inverse poloidal spacing of c_equ [rad \(^{-1}\)]. | |
| Real | geds_inv = 0.0 |
Inverse radial spacing of c_equ in \(s\). | |
| Kokkos::View< Real ** > | gradn_pic |
| \(dn/d\psi\) for each species and profile point. | |
| Kokkos::View< Real ** > | gradt_pic |
| \(dT/d\psi\) for each species and profile point. | |
| Kokkos::View< Real ** > | gradvp_pic |
| \(dv_\parallel/d\psi\) for each species and profile point. | |
| Kokkos::View< Real ** > | n_pic |
Species density values on psi_grd. | |
| int | nequ_c = 0 |
Highest valid poloidal-cell index of c_equ. | |
| int | nequ_s = 0 |
Highest valid radial-cell index of c_equ. | |
| int | ngmax = 0 |
| Highest valid index of the uniform profile grid. | |
| int | nrho = 0 |
| Highest valid index of the ad-hoc radius-to-flux table. | |
| int | nsel_equil = 0 |
| Equilibrium selector; distinguishes CHEASE and analytic tables. | |
| int | nsel_q_profile = 0 |
| Analytic safety-factor profile selector. | |
| Kokkos::View< Real * > | pot_back |
| Flux-grid background electrostatic potential. | |
| Real | psi0 = 0.0 |
| Normalized poloidal flux at the computational edge. | |
| Kokkos::View< Real * > | psi_grd |
| Uniform normalized-poloidal-flux profile grid. | |
| Kokkos::View< Real * > | psi_of_r |
| Ad-hoc-equilibrium mapping from normalized minor radius to \(\psi\). | |
| Real | q0 = 0.0 |
| Analytic safety factor on the magnetic axis. | |
| Kokkos::View< Real[15]> | qcoef |
Analytic safety-factor profile coefficients (equil::qcoef), for NSEL_QCOEF. | |
| Real | qedge = 0.0 |
| Analytic safety factor at the plasma edge. | |
| Real | r0_mid = 1.0 |
Major radius at the outboard midplane (equil::r0_mid); used by qchi's inverse-aspect-ratio correction. | |
| Kokkos::View< Real * > | s_chease |
| CHEASE radial grid in \(s=\sqrt{\psi}\). | |
| Kokkos::View< Real ** > | t_pic |
Species temperature values on psi_grd. | |
| Kokkos::View< Real ** > | vp_pic |
Species parallel-flow values on psi_grd. | |
Shallow, device-copyable handle to equilibrium interpolation data.
Views alias the storage owned by Equil; copying this structure does not copy table data. It is captured by value in Kokkos kernels after create_equil() has completed.
| Real orb5x::Equil::DeviceState::a_mid = 0.0 |
Plasma minor radius at the midplane (equil::a_mid, distinct from a_midn); used by qbar's analytic branches.
| Real orb5x::Equil::DeviceState::a_midn = 0.0 |
Midplane minor-radius normalization used by the analytic map.
| Kokkos::View<Real*> orb5x::Equil::DeviceState::bmax_s |
Maximum \(|B|\) on each radial grid surface.
| Kokkos::View<Real***> orb5x::Equil::DeviceState::c_equ |
Equilibrium coefficient table indexed by \(s\), \(\chi\), and quantity.
| Kokkos::View<Real*> orb5x::Equil::DeviceState::chi_chease |
CHEASE poloidal-angle grid [rad].
| Real orb5x::Equil::DeviceState::dpsi_0inv = 0.0 |
Inverse spacing of psi_grd.
| Real orb5x::Equil::DeviceState::drho = 0.0 |
Spacing of the normalized minor-radius table.
| Real orb5x::Equil::DeviceState::ds_inv = 0.0 |
Inverse spacing of the uniform equilibrium \(s\) grid.
| Real orb5x::Equil::DeviceState::fpsin = 0.0 |
Edge value of the normalized toroidal-flux function.
| Real orb5x::Equil::DeviceState::gedc_inv = 0.0 |
Inverse poloidal spacing of c_equ [rad \(^{-1}\)].
| Real orb5x::Equil::DeviceState::geds_inv = 0.0 |
Inverse radial spacing of c_equ in \(s\).
| Kokkos::View<Real**> orb5x::Equil::DeviceState::gradn_pic |
\(dn/d\psi\) for each species and profile point.
| Kokkos::View<Real**> orb5x::Equil::DeviceState::gradt_pic |
\(dT/d\psi\) for each species and profile point.
| Kokkos::View<Real**> orb5x::Equil::DeviceState::gradvp_pic |
\(dv_\parallel/d\psi\) for each species and profile point.
| Kokkos::View<Real**> orb5x::Equil::DeviceState::n_pic |
Species density values on psi_grd.
| int orb5x::Equil::DeviceState::nequ_c = 0 |
Highest valid poloidal-cell index of c_equ.
| int orb5x::Equil::DeviceState::nequ_s = 0 |
Highest valid radial-cell index of c_equ.
| int orb5x::Equil::DeviceState::ngmax = 0 |
Highest valid index of the uniform profile grid.
| int orb5x::Equil::DeviceState::nrho = 0 |
Highest valid index of the ad-hoc radius-to-flux table.
| int orb5x::Equil::DeviceState::nsel_equil = 0 |
Equilibrium selector; distinguishes CHEASE and analytic tables.
| int orb5x::Equil::DeviceState::nsel_q_profile = 0 |
Analytic safety-factor profile selector.
| Kokkos::View<Real*> orb5x::Equil::DeviceState::pot_back |
Flux-grid background electrostatic potential.
| Real orb5x::Equil::DeviceState::psi0 = 0.0 |
Normalized poloidal flux at the computational edge.
| Kokkos::View<Real*> orb5x::Equil::DeviceState::psi_grd |
Uniform normalized-poloidal-flux profile grid.
| Kokkos::View<Real*> orb5x::Equil::DeviceState::psi_of_r |
Ad-hoc-equilibrium mapping from normalized minor radius to \(\psi\).
| Real orb5x::Equil::DeviceState::q0 = 0.0 |
Analytic safety factor on the magnetic axis.
| Kokkos::View<Real[15]> orb5x::Equil::DeviceState::qcoef |
Analytic safety-factor profile coefficients (equil::qcoef), for NSEL_QCOEF.
| Real orb5x::Equil::DeviceState::qedge = 0.0 |
Analytic safety factor at the plasma edge.
| Real orb5x::Equil::DeviceState::r0_mid = 1.0 |
Major radius at the outboard midplane (equil::r0_mid); used by qchi's inverse-aspect-ratio correction.
| Kokkos::View<Real*> orb5x::Equil::DeviceState::s_chease |
CHEASE radial grid in \(s=\sqrt{\psi}\).
| Kokkos::View<Real**> orb5x::Equil::DeviceState::t_pic |
Species temperature values on psi_grd.
| Kokkos::View<Real**> orb5x::Equil::DeviceState::vp_pic |
Species parallel-flow values on psi_grd.