11#include "../offload.h"
28GPU_DECLARE_TARGET_SIMD_UNIFORM(Edata,Bdata)
Header file for B_field.c.
void E_1DS_free(E_1DS_data *data)
Free allocated resources.
void E_1DS_offload(E_1DS_data *data)
Offload data to the accelerator.
int E_1DS_init(E_1DS_data *data, int nrho, real rhomin, real rhomax, real reff, real *dvdrho)
Initialize 1DS electric field data.
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
Cubic interpolation struct.