25 int n_species,
int* anum,
int* znum,
int* maxwellian,
29DECLARE_TARGET_SIMD_UNIFORM(ndata)
31DECLARE_TARGET_SIMD_UNIFORM(ndata)
33DECLARE_TARGET_SIMD_UNIFORM(ndata)
void N0_1D_offload(N0_1D_data *data)
Offload data to the accelerator.
int N0_1D_init(N0_1D_data *data, int n_rho, real rho_min, real rho_max, int n_species, int *anum, int *znum, int *maxwellian, real *density, real *temperature)
Initialize data.
void N0_1D_free(N0_1D_data *data)
Free allocated resources.
a5err N0_1D_eval_n0(real *n0, real rho, N0_1D_data *ndata)
Evaluate neutral density.
a5err N0_1D_eval_t0(real *t0, real rho, N0_1D_data *ndata)
Evaluate neutral temperature.
int N0_1D_get_n_species(N0_1D_data *ndata)
Return number of neutral species.
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
Linear interpolation library.
1D neutral parameters on the target