11#include "offload_acc_omp.h"
62 real** offload_array);
64 real** offload_array);
68GPU_DECLARE_TARGET_SIMD_UNIFORM(Edata, Bdata)
Header file for B_field.c.
int E_field_init(E_field_data *Edata, E_field_offload_data *offload_data, real *offload_array)
Initialize electric field data struct on target.
int E_field_init_offload(E_field_offload_data *offload_data, real **offload_array)
Load electric field data and prepare parameters.
void E_field_free_offload(E_field_offload_data *offload_data, real **offload_array)
Free offload array and reset parameters.
a5err E_field_eval_E(real E[3], real r, real phi, real z, real t, E_field_data *Edata, B_field_data *Bdata)
Evaluate electric field.
E_field_type
Electric field types.
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
Magnetic field simulation data.
1D spline electric field parameters on the target
1D spline electric field parameters that will be offloaded to target
Trivial Cartesian electric field simulation data.
Trivial Cartesian electric field offload data.
Electric field simulation data.
Electric field offload data.