61DECLARE_TARGET_SIMD_UNIFORM(asigmadata)
63 real* sigma,
int z_1,
int a_1,
int z_2,
int a_2,
real E_coll_per_amu,
65DECLARE_TARGET_SIMD_UNIFORM(asigmadata)
67 real* sigmav,
int z_1,
int a_1,
real m_1,
int z_2,
int a_2,
70DECLARE_TARGET_SIMD_UNIFORM(asigmadata)
72 real* ratecoeff,
int z_1,
int a_1,
real E,
real mass,
int nspec,
73 const int* znum,
const int* anum,
real T_0,
real* n_0,
75DECLARE_TARGET_SIMD_UNIFORM(asigmadata)
77 real* ratecoeff,
int z_1,
int a_1,
real E,
real mass,
int nion,
78 const int* znum,
const int* anum,
real T_e,
real* n_i,
Main header file for ASCOT5.
void asigma_extrapolate(int extrapolate)
Toggle extrapolation when evaluating cross sections.
a5err asigma_eval_bms(real *ratecoeff, int z_1, int a_1, real E, real mass, int nion, const int *znum, const int *anum, real T_e, real *n_i, asigma_data *asigmadata)
Evaluate beam stopping rate coefficient.
a5err asigma_eval_sigmav(real *sigmav, int z_1, int a_1, real m_1, int z_2, int a_2, real E, real T_e, real T_0, real n_i, asigma_reac_type reac_type, asigma_data *asigmadata)
Evaluate atomic reaction rate coefficient.
void asigma_free(asigma_data *data)
Free allocated resources.
a5err asigma_eval_sigma(real *sigma, int z_1, int a_1, int z_2, int a_2, real E_coll_per_amu, asigma_reac_type reac_type, asigma_data *asigmadata)
Evaluate atomic reaction cross-section.
a5err asigma_eval_cx(real *ratecoeff, int z_1, int a_1, real E, real mass, int nspec, const int *znum, const int *anum, real T_0, real *n_0, asigma_data *asigmadata)
Evaluate charge exchange rate coefficient.
asigma_reac_type
Reaction types for atomic reaction data.
asigma_type
Atomic reaction data types.
void asigma_offload(asigma_data *data)
Offload data to the accelerator.
Header file for asigma_loc.c.
unsigned long int a5err
Simulation error flag.
Atomic reaction simulation data.
asigma_loc_data asigma_loc
Local-files atomic reaction simulation data.