26 int n_phi,
real phi_min,
real phi_max,
28 int n_species,
int* anum,
int* znum,
int* maxwellian,
32DECLARE_TARGET_SIMD_UNIFORM(ndata)
34DECLARE_TARGET_SIMD_UNIFORM(ndata)
36DECLARE_TARGET_SIMD_UNIFORM(ndata)
int N0_3D_init(N0_3D_data *data, int n_r, real r_min, real r_max, int n_phi, real phi_min, real phi_max, int n_z, real z_min, real z_max, int n_species, int *anum, int *znum, int *maxwellian, real *density, real *temperature)
Initialize neutral data.
a5err N0_3D_eval_n0(real *n0, real r, real phi, real z, N0_3D_data *ndata)
Evaluate neutral density.
int N0_3D_get_n_species(N0_3D_data *ndata)
Return number of neutral species.
a5err N0_3D_eval_t0(real *t0, real r, real phi, real z, N0_3D_data *ndata)
Evaluate neutral temperature.
void N0_3D_offload(N0_3D_data *data)
Offload data to the accelerator.
void N0_3D_free(N0_3D_data *data)
Free allocated resources.
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
Linear interpolation library.
3D neutral parameters on the target