|
Neko 1.99.6
A portable framework for high-order spectral element flow simulations
|
#include <math.h>

Go to the source code of this file.
Functions | |
| template<typename T > | |
| __device__ void | lpt_rotate_xy (T *x, T *y, const int i, const T theta) |
| template<typename T > | |
| __global__ void | lpt_periodic_bc_wrap_translational_kernel (T *__restrict__ x, T *__restrict__ y, T *__restrict__ z, const int n, const int n_periodic_dirs, const T periodic_dir_x1, const T periodic_dir_y1, const T periodic_dir_z1, const T periodic_dir_x2, const T periodic_dir_y2, const T periodic_dir_z2, const T periodic_dir_x3, const T periodic_dir_y3, const T periodic_dir_z3, const T periodic_min1, const T periodic_min2, const T periodic_min3, const T periodic_max1, const T periodic_max2, const T periodic_max3, const T periodic_shift_x1, const T periodic_shift_y1, const T periodic_shift_z1, const T periodic_shift_x2, const T periodic_shift_y2, const T periodic_shift_z2, const T periodic_shift_x3, const T periodic_shift_y3, const T periodic_shift_z3, const T periodic_len1, const T periodic_len2, const T periodic_len3) |
| template<typename T > | |
| __global__ void | lpt_periodic_bc_wrap_rotational_kernel (T *__restrict__ x, T *__restrict__ y, T *__restrict__ z, const int n, const T theta_min, const T theta_max, const T theta_len, T *__restrict__ u, T *__restrict__ v, T *__restrict__ w, T *__restrict__ u_lag, T *__restrict__ v_lag, T *__restrict__ w_lag, T *__restrict__ u_laglag, T *__restrict__ v_laglag, T *__restrict__ w_laglag, T *__restrict__ acc_xlag, T *__restrict__ acc_ylag, T *__restrict__ acc_zlag, T *__restrict__ acc_xlaglag, T *__restrict__ acc_ylaglag, T *__restrict__ acc_zlaglag) |
| __global__ void lpt_periodic_bc_wrap_rotational_kernel | ( | T *__restrict__ | x, |
| T *__restrict__ | y, | ||
| T *__restrict__ | z, | ||
| const int | n, | ||
| const T | theta_min, | ||
| const T | theta_max, | ||
| const T | theta_len, | ||
| T *__restrict__ | u, | ||
| T *__restrict__ | v, | ||
| T *__restrict__ | w, | ||
| T *__restrict__ | u_lag, | ||
| T *__restrict__ | v_lag, | ||
| T *__restrict__ | w_lag, | ||
| T *__restrict__ | u_laglag, | ||
| T *__restrict__ | v_laglag, | ||
| T *__restrict__ | w_laglag, | ||
| T *__restrict__ | acc_xlag, | ||
| T *__restrict__ | acc_ylag, | ||
| T *__restrict__ | acc_zlag, | ||
| T *__restrict__ | acc_xlaglag, | ||
| T *__restrict__ | acc_ylaglag, | ||
| T *__restrict__ | acc_zlaglag | ||
| ) |
| __global__ void lpt_periodic_bc_wrap_translational_kernel | ( | T *__restrict__ | x, |
| T *__restrict__ | y, | ||
| T *__restrict__ | z, | ||
| const int | n, | ||
| const int | n_periodic_dirs, | ||
| const T | periodic_dir_x1, | ||
| const T | periodic_dir_y1, | ||
| const T | periodic_dir_z1, | ||
| const T | periodic_dir_x2, | ||
| const T | periodic_dir_y2, | ||
| const T | periodic_dir_z2, | ||
| const T | periodic_dir_x3, | ||
| const T | periodic_dir_y3, | ||
| const T | periodic_dir_z3, | ||
| const T | periodic_min1, | ||
| const T | periodic_min2, | ||
| const T | periodic_min3, | ||
| const T | periodic_max1, | ||
| const T | periodic_max2, | ||
| const T | periodic_max3, | ||
| const T | periodic_shift_x1, | ||
| const T | periodic_shift_y1, | ||
| const T | periodic_shift_z1, | ||
| const T | periodic_shift_x2, | ||
| const T | periodic_shift_y2, | ||
| const T | periodic_shift_z2, | ||
| const T | periodic_shift_x3, | ||
| const T | periodic_shift_y3, | ||
| const T | periodic_shift_z3, | ||
| const T | periodic_len1, | ||
| const T | periodic_len2, | ||
| const T | periodic_len3 | ||
| ) |