11#include "../offload_acc_omp.h"
39GPU_DECLARE_TARGET_SIMD_UNIFORM(Edata,Bdata)
Header file for B_field.c.
void E_1DS_free_offload(E_1DS_offload_data *offload_data, real **offload_array)
Free offload array and reset parameters.
int E_1DS_init_offload(E_1DS_offload_data *offload_data, real **offload_array)
Initialize 1DS electric field data.
void E_1DS_init(E_1DS_data *Edata, E_1DS_offload_data *offload_data, real *offload_array)
Initialize 1D spline electric field data struct on target.
a5err E_1DS_eval_E(real E[3], real r, real phi, real z, E_1DS_data *Edata, B_field_data *Bdata)
Evaluate 1D spline radial electric field.
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
Spline interpolation library.
Magnetic field simulation data.
1D spline electric field parameters on the target
1D spline electric field parameters that will be offloaded to target
Cubic interpolation struct.