26 View<double**, CLayout, DeviceType>
rad_Lz;
44 KOKKOS_INLINE_FUNCTION
void Rad_Emissivity2(
double tval_ev_in,
double n0_ne_in,
double& Lz,
double& avgZ,
double& avgZ2)
const;
48 KOKKOS_INLINE_FUNCTION
double power_loss(
double n,
double imp_frac,
double Lz,
double dt)
const;
54 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);
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
Definition: radiation.cpp:55
Eq::Profile< DeviceType > eq_zeff
Definition: radiation.hpp:36
Definition: velocity_grid.hpp:8
double impurity_fraction
Definition: radiation.hpp:30
double psi_min
Inner boundary for impurity radiation.
Definition: radiation.hpp:15
View< double *, CLayout, HostType > rad_Te_ev_h
Definition: radiation.hpp:18
Definition: NamelistReader.hpp:193
Definition: magnetic_field.hpp:13
Definition: moments.hpp:13
bool use_fix_charge
Definition: radiation.hpp:32
View< double **, CLayout, HostType > rad_avgZ_h
Definition: radiation.hpp:21
View< double **, CLayout, DeviceType > rad_Lz
Definition: radiation.hpp:26
Definition: vgrid_distribution.hpp:13
KOKKOS_INLINE_FUNCTION void Rad_Emissivity2(double tval_ev_in, double n0_ne_in, double &Lz, double &avgZ, double &avgZ2) const
Definition: radiation.cpp:17
Radiation()
Definition: radiation.hpp:40
View< double **, CLayout, DeviceType > rad_avgZ
Definition: radiation.hpp:27
Definition: magnetic_field.F90:1
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)
Definition: radiation.cpp:199
double fixedZ
Definition: radiation.hpp:33
View< double **, CLayout, HostType > rad_Lz_h
Definition: radiation.hpp:20
View< double *, CLayout, DeviceType > rad_Te_ev
Definition: radiation.hpp:24
View< double **, CLayout, DeviceType > rad_avgZ2
Definition: radiation.hpp:28
int rad_species
Definition: radiation.hpp:34
double psi_max
Outer boundary for impurity radiation.
Definition: radiation.hpp:16
bool use_zeff_profile
Definition: radiation.hpp:31
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
Definition: radiation.cpp:78
View< double **, CLayout, HostType > rad_avgZ2_h
Definition: radiation.hpp:22
KOKKOS_INLINE_FUNCTION double power_loss(double n, double imp_frac, double Lz, double dt) const
Definition: radiation.cpp:73
View< double *, CLayout, DeviceType > rad_n0_ne
Definition: radiation.hpp:25
KOKKOS_INLINE_FUNCTION bool out_of_bounds(const Grid< DeviceType > &grid, int inode) const
Definition: radiation.cpp:122
Definition: radiation.hpp:13
View< double *, CLayout, HostType > rad_n0_ne_h
Definition: radiation.hpp:19