1#ifndef __COMMON_DYNAMIC_SMAGORINSKY_NUT_KERNEL_H__
2#define __COMMON_DYNAMIC_SMAGORINSKY_NUT_KERNEL_H__
56 for (
int i = idx;
i < n;
i +=
str) {
98 for (
int i = idx;
i < n;
i +=
str) {
133 for (
int i = idx;
i < n;
i +=
str) {
176 for (
int i = idx;
i < n;
i +=
str) {
224 for (
int i = idx;
i < n;
i +=
str) {
249 num[
i] = alpha * num[
i] + (1.0 - alpha) *
num_curr;
250 den[
i] = alpha * den[
i] + (1.0 - alpha) *
den_curr;
253 c_dyn[
i] = 0.5 * num[
i] / den[
i];
258 c_dyn[
i] =
max(c_dyn[
i], 0.0);
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
__global__ void mij_nut_compute_part2(T *__restrict__ m11, T *__restrict__ m22, T *__restrict__ m33, T *__restrict__ m12, T *__restrict__ m13, T *__restrict__ m23, T *__restrict__ l11, T *__restrict__ l22, T *__restrict__ l33, T *__restrict__ l12, T *__restrict__ l13, T *__restrict__ l23, T *__restrict__ fsabss11, T *__restrict__ fsabss22, T *__restrict__ fsabss33, T *__restrict__ fsabss12, T *__restrict__ fsabss13, T *__restrict__ fsabss23, T *__restrict__ num, T *__restrict__ den, T *__restrict__ c_dyn, T *__restrict__ delta, T *__restrict__ s_abs, T *__restrict__ nut, const T alpha, const int n)
__global__ void mij_compute_part1(T *__restrict__ m11, T *__restrict__ m22, T *__restrict__ m33, T *__restrict__ m12, T *__restrict__ m13, T *__restrict__ m23, T *__restrict__ s_abs, T *__restrict__ s11, T *__restrict__ s22, T *__restrict__ s33, T *__restrict__ s12, T *__restrict__ s13, T *__restrict__ s23, T *__restrict__ fs_abs, T *__restrict__ fs11, T *__restrict__ fs22, T *__restrict__ fs33, T *__restrict__ fs12, T *__restrict__ fs13, T *__restrict__ fs23, T *__restrict__ fsabss11, T *__restrict__ fsabss22, T *__restrict__ fsabss33, T *__restrict__ fsabss12, T *__restrict__ fsabss13, T *__restrict__ fsabss23, const T delta_ratio2, const int n)
__global__ void lij_compute_part1(T *__restrict__ l11, T *__restrict__ l22, T *__restrict__ l33, T *__restrict__ l12, T *__restrict__ l13, T *__restrict__ l23, T *__restrict__ u, T *__restrict__ v, T *__restrict__ w, T *__restrict__ fu, T *__restrict__ fv, T *__restrict__ fw, T *__restrict__ fuu, T *__restrict__ fvv, T *__restrict__ fww, T *__restrict__ fuv, T *__restrict__ fuw, T *__restrict__ fvw, const int n)
__global__ void s_abs_compute(T *__restrict__ s_abs, T *__restrict__ s11, T *__restrict__ s22, T *__restrict__ s33, T *__restrict__ s12, T *__restrict__ s13, T *__restrict__ s23, T *__restrict__ mult, const int n)
__global__ void lij_compute_part2(T *__restrict__ l11, T *__restrict__ l22, T *__restrict__ l33, T *__restrict__ l12, T *__restrict__ l13, T *__restrict__ l23, T *__restrict__ fuu, T *__restrict__ fvv, T *__restrict__ fww, T *__restrict__ fuv, T *__restrict__ fuw, T *__restrict__ fvw, const int n)