#include <equil.hpp>
|
| Equilibrium (NLReader::NamelistReader &nlr, const MagneticEquilFiles &equil_files, const View< Equil::XPoint *, HostType > &xpts) |
|
| Equilibrium (PsiOption psi_opt) |
|
| Equilibrium () |
|
KOKKOS_INLINE_FUNCTION bool | is_in_region_1_or_2 (double r, double z, double psi) const |
|
KOKKOS_INLINE_FUNCTION bool | is_in_region_1 (double r, double z, double psi) const |
|
KOKKOS_INLINE_FUNCTION bool | is_in_region_3b (double r, double z, double psi) const |
|
KOKKOS_INLINE_FUNCTION void | check_boundaries (const SimdVector2D &x, Simd< bool > &rz_outside) const |
|
KOKKOS_INLINE_FUNCTION void | get_theta (const SimdVector2D &x, Simd< double > &theta) const |
|
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) |
|
Constructor for equilibrium class
Equilibrium::Equilibrium |
( |
PsiOption |
psi_opt | ) |
|
|
inline |
Equilibrium::Equilibrium |
( |
| ) |
|
|
inline |
KOKKOS_INLINE_FUNCTION void Equilibrium::check_boundaries |
( |
const SimdVector2D & |
x, |
|
|
Simd< bool > & |
rz_outside |
|
) |
| const |
Check whether vector of (r,z) locations is outside of the equilibrium
- Parameters
-
[in] | x | {r,z} coordinates |
[out] | rz_outside | Whether they are outside or not |
KOKKOS_INLINE_FUNCTION void Equilibrium::get_theta |
( |
const SimdVector2D & |
x, |
|
|
Simd< double > & |
theta |
|
) |
| const |
Gets theta coordinate from {r,z} coordinates
- Parameters
-
[in] | x | {r,z} coordinates |
[out] | theta | Vector of theta values |
KOKKOS_INLINE_FUNCTION bool Equilibrium::is_in_region_1 |
( |
double |
r, |
|
|
double |
z, |
|
|
double |
psi |
|
) |
| const |
Check whether a location is in region 1 of the tokamak
- Parameters
-
[in] | r | r coordinate |
[in] | z | z coordinate |
[in] | psi | psi coordinate |
- Returns
- True if the location is in region 1
KOKKOS_INLINE_FUNCTION bool Equilibrium::is_in_region_1_or_2 |
( |
double |
r, |
|
|
double |
z, |
|
|
double |
psi |
|
) |
| const |
Check whether a location is in region 1 or 2 of the tokamak
- Parameters
-
[in] | r | r coordinate |
[in] | z | z coordinate |
[in] | psi | psi coordinate |
- Returns
- True if the location is in region 1 or 2
KOKKOS_INLINE_FUNCTION bool Equilibrium::is_in_region_3b |
( |
double |
r, |
|
|
double |
z, |
|
|
double |
psi |
|
) |
| const |
Check whether a location is in the second private region
- Parameters
-
[in] | r | r coordinate |
[in] | z | z coordinate |
[in] | psi | psi coordinate |
- Returns
- True if the location is in second private region
void Equilibrium::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 |
|
) |
| |
|
inline |
Assigns factors needed for eq profile calculations
double Equilibrium::epsil_psi = 1.0e-05 |
double Equilibrium::out_decay_factor |
profiles decay exponentially to f(sml_outpsi)/decay_factor for psi>sml_outpsi
double Equilibrium::out_decay_width |
width for exponential decay for psi>sml_outpsi
double Equilibrium::priv_flux_decay_factor |
profiles decay exponentially to f(sml_outpsi)/decay_factor in priv. flux region
double Equilibrium::priv_flux_decay_width |
width for exponential decay in private flux region
bool Equilibrium::set_xpt2 |
Whether to use a 2nd X-point.
coordinates of 1st X-point
coordinates of 2nd X-point
double Equilibrium::xpt2_psi |
psi coordinate at 2nd X-point
double Equilibrium::xpt2_slope |
Slope (which slope?) at 2nd X-point.
double Equilibrium::xpt_psi |
Psi coordinate of 1st X-point.
double Equilibrium::xpt_slope |
Slope (which slope?) at 1st X-point.
The documentation for this class was generated from the following files:
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/equil.hpp
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/equil.tpp