__global__ void ale_add_kinematics_kernel(const int n, T *__restrict__ wx, T *__restrict__ wy, T *__restrict__ wz, const T *__restrict__ x_ref, const T *__restrict__ y_ref, const T *__restrict__ z_ref, const T *__restrict__ phi, const T *__restrict__ x, const T *__restrict__ y, const T *__restrict__ z, const kinematics_params_t kin_params)
static void lpt_periodic_params_pack(lpt_periodic_params *prm, const real *dir_x1, const real *dir_y1, const real *dir_z1, const real *dir_x2, const real *dir_y2, const real *dir_z2, const real *dir_x3, const real *dir_y3, const real *dir_z3, const real *min1, const real *min2, const real *min3, const real *max1, const real *max2, const real *max3, const real *shift_x1, const real *shift_y1, const real *shift_z1, const real *shift_x2, const real *shift_y2, const real *shift_z2, const real *shift_x3, const real *shift_y3, const real *shift_z3, const real *len1, const real *len2, const real *len3)