#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, const Moments &moments, const View< double *, CLayout, HostType > &neu_node_dens, const VGridDistribution< HostType > &f0_f, const VGridDistribution< HostType > &f0_df0g, double dt) |
|
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 |
|
< 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
void Radiation::apply |
( |
const Grid< DeviceType > & |
grid, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
const VelocityGrid & |
vgrid, |
|
|
const Moments & |
moments, |
|
|
const View< double *, CLayout, HostType > & |
neu_node_dens, |
|
|
const VGridDistribution< HostType > & |
f0_f, |
|
|
const VGridDistribution< HostType > & |
f0_df0g, |
|
|
double |
dt |
|
) |
| |
KOKKOS_INLINE_FUNCTION bool Radiation::out_of_bounds |
( |
const Grid< DeviceType > & |
grid, |
|
|
int |
inode |
|
) |
| const |
KOKKOS_INLINE_FUNCTION double Radiation::power_loss |
( |
double |
n, |
|
|
double |
imp_frac, |
|
|
double |
Lz, |
|
|
double |
dt |
|
) |
| const |
KOKKOS_INLINE_FUNCTION void Radiation::Rad_Emissivity2 |
( |
double |
tval_ev_in, |
|
|
double |
n0_ne_in, |
|
|
double & |
Lz, |
|
|
double & |
avgZ, |
|
|
double & |
avgZ2 |
|
) |
| const |
double Radiation::impurity_fraction |
|
private |
double Radiation::psi_max |
|
private |
Outer boundary for impurity radiation.
double Radiation::psi_min |
|
private |
Inner boundary for impurity radiation.
int Radiation::rad_species |
|
private |
bool Radiation::use_fix_charge |
|
private |
bool Radiation::use_zeff_profile |
|
private |
The documentation for this class was generated from the following files:
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/radiation.hpp
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/radiation.cpp