27 data->
Exyz[0] = exyz[0];
28 data->
Exyz[1] = exyz[1];
29 data->
Exyz[2] = exyz[2];
52 GPU_MAP_TO_DEVICE( data->
Exyz[0:3] )
Header file for B_field.c.
int E_TC_init(E_TC_data *data, real exyz[3])
Initialize electric field data and check inputs.
void E_TC_offload(E_TC_data *data)
Offload data to the accelerator.
a5err E_TC_eval_E(real E[3], real r, real phi, real z, E_TC_data *Edata, B_field_data *Bdata)
Evaluate electric field.
void E_TC_free(E_TC_data *data)
Free allocated resources.
Main header file for ASCOT5.
unsigned long int a5err
Simulation error flag.
#define math_vec_xyz2rpz(vxyz, vrpz, phi)
Transform vector from cartesian to cylindrical basis: vxyz -> vrpz, phi is the toroidal angle in radi...
Macros for printing console output.
#define print_out(v,...)
Print to standard output.
Magnetic field simulation data.
Trivial Cartesian electric field simulation data.