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)