119 switch(ndata->
type) {
153 switch(ndata->
type) {
void N0_1D_offload(N0_1D_data *data)
Offload data to the accelerator.
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.
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.
static DECLARE_TARGET_SIMD a5err error_raise(error_type type, int line, error_file file)
Raise a new error.
int neutral_get_n_species(neutral_data *ndata)
Get the number of neutral species.
void neutral_offload(neutral_data *data)
Offload data to the accelerator.
a5err neutral_eval_n0(real *n0, real rho, real r, real phi, real z, real t, neutral_data *ndata)
Evaluate neutral density.
void neutral_free(neutral_data *data)
Free allocated resources.
a5err neutral_eval_t0(real *t0, real rho, real r, real phi, real z, real t, neutral_data *ndata)
Evaluate neutral temperature.
Header file for neutral.c.
Macros for printing console output.