| 
    Neko 1.99.1
    
   A portable framework for high-order spectral element flow simulations 
   | 
 
#include <cmath>#include <algorithm>

Go to the source code of this file.
Functions | |
| template<typename T > | |
| __device__ T | solve (const T u, const T y, const T guess, const T nu, const T kappa, const T B) | 
| template<typename T > | |
| __global__ void | spalding_compute (const T *__restrict__ u_d, const T *__restrict__ v_d, const T *__restrict__ w_d, const int *__restrict__ ind_r_d, const int *__restrict__ ind_s_d, const int *__restrict__ ind_t_d, const int *__restrict__ ind_e_d, const T *__restrict__ n_x_d, const T *__restrict__ n_y_d, const T *__restrict__ n_z_d, const T *__restrict__ nu_d, const T *__restrict__ h_d, T *__restrict__ tau_x_d, T *__restrict__ tau_y_d, T *__restrict__ tau_z_d, const int n_nodes, const int lx, const T kappa, const T B, const int tstep) | 
Device kernel for spalding_compute
Newton solver for the algebraic equation defined by the law on GPU.
Definition at line 124 of file spalding_kernel.h.

| __global__ void spalding_compute | ( | const T *__restrict__ | u_d, | 
| const T *__restrict__ | v_d, | ||
| const T *__restrict__ | w_d, | ||
| const int *__restrict__ | ind_r_d, | ||
| const int *__restrict__ | ind_s_d, | ||
| const int *__restrict__ | ind_t_d, | ||
| const int *__restrict__ | ind_e_d, | ||
| const T *__restrict__ | n_x_d, | ||
| const T *__restrict__ | n_y_d, | ||
| const T *__restrict__ | n_z_d, | ||
| const T *__restrict__ | nu_d, | ||
| const T *__restrict__ | h_d, | ||
| T *__restrict__ | tau_x_d, | ||
| T *__restrict__ | tau_y_d, | ||
| T *__restrict__ | tau_z_d, | ||
| const int | n_nodes, | ||
| const int | lx, | ||
| const T | kappa, | ||
| const T | B, | ||
| const int | tstep | ||
| ) | 
CUDA kernel for Spalding's wall model.
Definition at line 50 of file spalding_kernel.h.
