#include <radiation.hpp>
|
| | Radiation () |
| |
| | Radiation (NLReader::NamelistReader &nlr, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field) |
| |
| KOKKOS_INLINE_FUNCTION void | Rad_Emissivity2 (double tval_ev_in, double n0_ne_in, double &Lz, double &avgZ, double &avgZ2) const |
| |
| KOKKOS_INLINE_FUNCTION double | get_impurity_fraction (const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const Moments &moments, int inode, double avgZ, double avgZ2) const |
| |
| KOKKOS_INLINE_FUNCTION double | power_loss (double n, double imp_frac, double Lz, double dt) const |
| |
| KOKKOS_INLINE_FUNCTION void | f_shift_from_f_heat_torque (const VelocityGrid &vgrid, double alpha, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< DeviceType > &f0_df0g, int inode_local) const |
| |
| KOKKOS_INLINE_FUNCTION bool | out_of_bounds (const Grid< DeviceType > &grid, int inode) const |
| |
| void | apply (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const Moments &moments, const View< double *, CLayout, HostType > &neu_node_dens, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< DeviceType > &f0_df0g_cumul, double dt, int gstep, DiagF0DF &diag_f0_df) |
| |
| bool | is_triggered (int step) |
| |
|
| double | psi_min |
| | Inner boundary for impurity radiation. More...
|
| |
| double | psi_max |
| | Outer boundary for impurity radiation. More...
|
| |
| View< double *, CLayout, HostType > | rad_Te_ev_h |
| |
| View< double *, CLayout, HostType > | rad_n0_ne_h |
| |
| View< double **, CLayout, HostType > | rad_Lz_h |
| |
| View< double **, CLayout, HostType > | rad_avgZ_h |
| |
| View< double **, CLayout, HostType > | rad_avgZ2_h |
| |
| View< double *, CLayout, DeviceType > | rad_Te_ev |
| |
| View< double *, CLayout, DeviceType > | rad_n0_ne |
| |
| View< double **, CLayout, DeviceType > | rad_Lz |
| |
| View< double **, CLayout, DeviceType > | rad_avgZ |
| |
| View< double **, CLayout, DeviceType > | rad_avgZ2 |
| |
| double | impurity_fraction |
| |
| bool | use_zeff_profile |
| |
| bool | use_fix_charge |
| |
| double | fixedZ |
| |
| int | rad_species |
| |
| Eq::Profile< DeviceType > | eq_zeff |
| |
◆ Radiation() [1/2]
◆ Radiation() [2/2]
< Start time for impurity radiation in time steps
fixed Z for impurity - Z_Carbon --> 6, Z^2 --> 36
< Inner boundary for impurity radiation
< Outer boundary for impurity radiation
Read rad file
◆ apply()
| void Radiation::apply |
( |
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
const VelocityGrid & |
vgrid, |
|
|
Plasma & |
plasma, |
|
|
const Moments & |
moments, |
|
|
const View< double *, CLayout, HostType > & |
neu_node_dens, |
|
|
const VGridDistribution< DeviceType > & |
f0_f, |
|
|
const VGridDistribution< DeviceType > & |
f0_df0g_cumul, |
|
|
double |
dt, |
|
|
int |
gstep, |
|
|
DiagF0DF & |
diag_f0_df |
|
) |
| |
◆ f_shift_from_f_heat_torque()
◆ get_impurity_fraction()
◆ out_of_bounds()
| KOKKOS_INLINE_FUNCTION bool Radiation::out_of_bounds |
( |
const Grid< DeviceType > & |
grid, |
|
|
int |
inode |
|
) |
| const |
◆ power_loss()
| KOKKOS_INLINE_FUNCTION double Radiation::power_loss |
( |
double |
n, |
|
|
double |
imp_frac, |
|
|
double |
Lz, |
|
|
double |
dt |
|
) |
| const |
◆ Rad_Emissivity2()
| KOKKOS_INLINE_FUNCTION void Radiation::Rad_Emissivity2 |
( |
double |
tval_ev_in, |
|
|
double |
n0_ne_in, |
|
|
double & |
Lz, |
|
|
double & |
avgZ, |
|
|
double & |
avgZ2 |
|
) |
| const |
◆ eq_zeff
◆ fixedZ
◆ impurity_fraction
| double Radiation::impurity_fraction |
|
private |
◆ psi_max
| double Radiation::psi_max |
|
private |
Outer boundary for impurity radiation.
◆ psi_min
| double Radiation::psi_min |
|
private |
Inner boundary for impurity radiation.
◆ rad_avgZ
◆ rad_avgZ2
◆ rad_avgZ2_h
◆ rad_avgZ_h
◆ rad_Lz
◆ rad_Lz_h
◆ rad_n0_ne
◆ rad_n0_ne_h
◆ rad_species
| int Radiation::rad_species |
|
private |
◆ rad_Te_ev
◆ rad_Te_ev_h
◆ use_fix_charge
| bool Radiation::use_fix_charge |
|
private |
◆ use_zeff_profile
| bool Radiation::use_zeff_profile |
|
private |
The documentation for this class was generated from the following files:
- /p/test_ssd/builds/t3_84szKM/0/xgc/XGC-Devel/XGC_core/cpp/radiation.hpp
- /p/test_ssd/builds/t3_84szKM/0/xgc/XGC-Devel/XGC_core/cpp/radiation.cpp