39GPU_DECLARE_TARGET_SIMD_UNIFORM(w)
44GPU_DECLARE_TARGET_SIMD_UNIFORM(w)
Main header file for ASCOT5.
Wall model simulation data.
void wall_offload(wall_data *data)
Offload data to the accelerator.
DECLARE_TARGET_END int wall_get_n_elements(wall_data *w)
Return the number of wall elements.
int wall_hit_wall(real r1, real phi1, real z1, real r2, real phi2, real z2, wall_data *w, real *w_coll)
Check if a given directed line segment intersects the wall.
wall_type
Wall model types.
void wall_free(wall_data *data)
Free allocated resources.
Header file for wall_2d.c.
Header file for wall_3d.c.