wind_near_the_boundary(int npanels, global ship_hull_panel_t * panels, const T leeward_ratio, const T hellman_exponent, const T reference_height, global T * wind_field, vec3 grid_lbound, vec3 grid_ubound, int3 grid_shape, vec3 u) -> kernel void
sum_of_squares(vec3 v) -> T
wind_on_the_boundary(int npanels, global ship_hull_panel_t * panels, vec3 u, global ray * rays, const T leeward_ratio, const T hellman_exponent, const T reference_height) -> kernel void
array_to_vec3(global T * array) -> vec3