43 real** offload_array);
45 real** offload_array);
50DECLARE_TARGET_SIMD_UNIFORM(Bdata, boozerdata)
Header file for B_field.c.
Main header file for ASCOT5.
void boozer_free_offload(boozer_offload_data *offload_data, real **offload_array)
Free offload array.
int boozer_init_offload(boozer_offload_data *offload_data, real **offload_array)
Load Boozer data and prepare parameters for offload.
void boozer_init(boozer_data *boozerdata, boozer_offload_data *offload_data, real *offload_array)
Initialize boozer data struct on target.
a5err boozer_eval_psithetazeta(real psithetazeta[12], int *isinside, real r, real phi, real z, B_field_data *Bdata, boozer_data *boozerdata)
Evaluate Boozer coordinates and partial derivatives.
unsigned long int a5err
Simulation error flag.
Spline interpolation library.
Magnetic field simulation data.
Boozer parameters on the target.
interp2D_data theta_psithetageom
interp2D_data nu_psitheta
offload data for maps between boozer and cylindrical coordinates
Bicubic interpolation struct.