37 :
bounds(0.5, 2.5, -1.0, 1.0),
70 KOKKOS_INLINE_FUNCTION
bool is_in_region_1(
double r,
double z,
double psi)
const;
71 KOKKOS_INLINE_FUNCTION
bool is_in_region_3b(
double r,
double z,
double psi)
const;
75 void write(
const View<double*,CLayout,HostType>& eq_psi_grid,
const View<double*,CLayout,HostType>& eq_I,
const View<double**,CLayout,HostType>& eq_psi_rz,
double bt_sign,
double bp_sign);
77 void set_decay_factors(
double out_decay_factor_in,
double priv_flux_decay_factor_in,
double out_decay_width_in,
double priv_flux_decay_width_in,
bool set_xpt2_in);
PsiOption
Definition: equil.hpp:11
KOKKOS_INLINE_FUNCTION bool is_in_region_1(double r, double z, double psi) const
Definition: equil.tpp:29
KOKKOS_INLINE_FUNCTION bool is_in_region_3b(double r, double z, double psi) const
Definition: equil.tpp:45
Equilibrium()
Definition: equil.hpp:67
Definition: rz_bounds.hpp:4
RZPair xpt2
coordinates of 2nd X-point
Definition: equil.hpp:87
Definition: NamelistReader.hpp:193
double z
Definition: equil.hpp:22
double out_decay_width
width for exponential decay for psi>sml_outpsi
Definition: equil.hpp:95
void set_decay_factors(double out_decay_factor_in, double priv_flux_decay_factor_in, double out_decay_width_in, double priv_flux_decay_width_in, bool set_xpt2_in)
Definition: equil.cpp:101
Definition: grid_structs.hpp:28
bool set_xpt2
Whether to use a 2nd X-point.
Definition: equil.hpp:86
double out_decay_factor
profiles decay exponentially to f(sml_outpsi)/decay_factor for psi>sml_outpsi
Definition: equil.hpp:93
double priv_flux_decay_factor
profiles decay exponentially to f(sml_outpsi)/decay_factor in priv. flux region
Definition: equil.hpp:94
RZBounds bounds
Min and max for r and z.
Definition: equil.hpp:80
double psi_norm
Psi value to use for normalization.
Definition: equil.hpp:82
double xpt2_psi
psi coordinate at 2nd X-point
Definition: equil.hpp:89
double xpt_slope
Slope (which slope?) at 1st X-point.
Definition: equil.hpp:85
double xpt2_slope
Slope (which slope?) at 2nd X-point.
Definition: equil.hpp:88
KOKKOS_INLINE_FUNCTION void check_boundaries(const SimdVector2D &x, Simd< bool > &rz_outside) const
Definition: equil.tpp:56
double psi
Definition: equil.hpp:23
RZPair xpt
coordinates of 1st X-point
Definition: equil.hpp:84
KOKKOS_INLINE_FUNCTION void get_theta(const SimdVector2D &x, Simd< double > &theta) const
Definition: equil.tpp:66
Equilibrium(PsiOption psi_opt)
Definition: equil.hpp:36
double min_z
Definition: rz_bounds.hpp:7
double epsil_psi
Not sure?
Definition: equil.hpp:83
RZPair axis
Definition: equil.hpp:90
double r
Definition: equil.hpp:21
double slope
Definition: equil.hpp:24
KOKKOS_INLINE_FUNCTION bool is_in_region_1_or_2(double r, double z, double psi) const
Definition: equil.tpp:6
void write(const View< double *, CLayout, HostType > &eq_psi_grid, const View< double *, CLayout, HostType > &eq_I, const View< double **, CLayout, HostType > &eq_psi_rz, double bt_sign, double bp_sign)
Definition: equil.cpp:68
std::shared_ptr< MagneticEquilFiles > Ptr
Definition: magnetic_equil_files.hpp:11
double priv_flux_decay_width
width for exponential decay in private flux region
Definition: equil.hpp:96
double xpt_psi
Psi coordinate of 1st X-point.
Definition: equil.hpp:81