Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
most_kernel.h File Reference
#include <cmath>
#include <algorithm>
Include dependency graph for most_kernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
__device__ T corr_m_stable (T z, T L_ob)
 
template<typename T >
__device__ T corr_h_stable (T z, T L_ob)
 
template<typename T >
__device__ T slaw_m_stable (T z, T L_ob, T z0)
 
template<typename T >
__device__ T slaw_h_stable (T z, T L_ob, T z0h)
 
template<typename T >
__device__ T f_neumann_stable (T Ri_b, T z, T z0, T z0h, T L_ob, T Pr)
 
template<typename T >
__device__ T dfdl_neumann_stable (T l_upper, T l_lower, T z, T z0, T z0h, T fd_h, T Pr)
 
template<typename T >
__device__ T f_dirichlet_stable (T Ri_b, T z, T z0, T z0h, T L_ob, T Pr)
 
template<typename T >
__device__ T dfdl_dirichlet_stable (T l_upper, T l_lower, T z, T z0, T z0h, T fd_h, T Pr)
 
template<typename T >
__device__ T corr_m_convective (T z, T L_ob)
 
template<typename T >
__device__ T corr_h_convective (T z, T L_ob)
 
template<typename T >
__device__ T slaw_m_convective (T z, T L_ob, T z0)
 
template<typename T >
__device__ T slaw_h_convective (T z, T L_ob, T z0h)
 
template<typename T >
__device__ T f_neumann_convective (T Ri_b, T z, T z0, T z0h, T L_ob, T Pr)
 
template<typename T >
__device__ T dfdl_neumann_convective (T l_upper, T l_lower, T z, T z0, T z0h, T fd_h, T Pr)
 
template<typename T >
__device__ T f_dirichlet_convective (T Ri_b, T z, T z0, T z0h, T L_ob, T Pr)
 
template<typename T >
__device__ T dfdl_dirichlet_convective (T l_upper, T l_lower, T z, T z0, T z0h, T fd_h, T Pr)
 
template<typename T >
__device__ T slaw_m_neutral (T z, T z0)
 
template<typename T >
__device__ T slaw_h_neutral (T z, T z0h)
 
template<typename T , int BC_TYPE>
__global__ void most_compute (const T *__restrict__ u_d, const T *__restrict__ v_d, const T *__restrict__ w_d, const T *__restrict__ temp_d, const T *__restrict__ h_d, const T *__restrict__ n_x_d, const T *__restrict__ n_y_d, const T *__restrict__ n_z_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, T *__restrict__ tau_x_d, T *__restrict__ tau_y_d, T *__restrict__ tau_z_d, int n_nodes, int lx, T kappa, const T *__restrict__ mu_w_d, const T *__restrict__ rho_w_d, T g1, T g2, T g3, T Pr, T z0, T z0h_in, T bc_value, T *__restrict__ Ri_b_diagn, T *__restrict__ L_ob_diagn, T *__restrict__ utau_diagn, T *__restrict__ magu_diagn, T *__restrict__ ti_diagn, T *__restrict__ ts_diagn, T *__restrict__ q_diagn, const int *__restrict__ h_x_idx, const int *__restrict__ h_y_idx, const int *__restrict__ h_z_idx)
 

Function Documentation

◆ corr_h_convective()

template<typename T >
__device__ T corr_h_convective ( T  z,
T  L_ob 
)

Definition at line 181 of file most_kernel.h.

Here is the call graph for this function:

◆ corr_h_stable()

template<typename T >
__device__ T corr_h_stable ( T  z,
T  L_ob 
)

Definition at line 64 of file most_kernel.h.

Here is the call graph for this function:

◆ corr_m_convective()

template<typename T >
__device__ T corr_m_convective ( T  z,
T  L_ob 
)

Definition at line 170 of file most_kernel.h.

Here is the call graph for this function:

◆ corr_m_stable()

template<typename T >
__device__ T corr_m_stable ( T  z,
T  L_ob 
)

Definition at line 51 of file most_kernel.h.

Here is the call graph for this function:

◆ dfdl_dirichlet_convective()

template<typename T >
__device__ T dfdl_dirichlet_convective ( T  l_upper,
T  l_lower,
T  z,
T  z0,
T  z0h,
T  fd_h,
T  Pr 
)

Definition at line 251 of file most_kernel.h.

Here is the call graph for this function:

◆ dfdl_dirichlet_stable()

template<typename T >
__device__ T dfdl_dirichlet_stable ( T  l_upper,
T  l_lower,
T  z,
T  z0,
T  z0h,
T  fd_h,
T  Pr 
)

Definition at line 139 of file most_kernel.h.

Here is the call graph for this function:

◆ dfdl_neumann_convective()

template<typename T >
__device__ T dfdl_neumann_convective ( T  l_upper,
T  l_lower,
T  z,
T  z0,
T  z0h,
T  fd_h,
T  Pr 
)

Definition at line 217 of file most_kernel.h.

Here is the call graph for this function:

◆ dfdl_neumann_stable()

template<typename T >
__device__ T dfdl_neumann_stable ( T  l_upper,
T  l_lower,
T  z,
T  z0,
T  z0h,
T  fd_h,
T  Pr 
)

Definition at line 105 of file most_kernel.h.

Here is the call graph for this function:

◆ f_dirichlet_convective()

template<typename T >
__device__ T f_dirichlet_convective ( T  Ri_b,
T  z,
T  z0,
T  z0h,
T  L_ob,
T  Pr 
)

Definition at line 243 of file most_kernel.h.

Here is the call graph for this function:

◆ f_dirichlet_stable()

template<typename T >
__device__ T f_dirichlet_stable ( T  Ri_b,
T  z,
T  z0,
T  z0h,
T  L_ob,
T  Pr 
)

Definition at line 131 of file most_kernel.h.

Here is the call graph for this function:

◆ f_neumann_convective()

template<typename T >
__device__ T f_neumann_convective ( T  Ri_b,
T  z,
T  z0,
T  z0h,
T  L_ob,
T  Pr 
)

Definition at line 207 of file most_kernel.h.

Here is the call graph for this function:

◆ f_neumann_stable()

template<typename T >
__device__ T f_neumann_stable ( T  Ri_b,
T  z,
T  z0,
T  z0h,
T  L_ob,
T  Pr 
)

Definition at line 95 of file most_kernel.h.

Here is the call graph for this function:

◆ most_compute()

template<typename T , int BC_TYPE>
__global__ void most_compute ( const T *__restrict__  u_d,
const T *__restrict__  v_d,
const T *__restrict__  w_d,
const T *__restrict__  temp_d,
const T *__restrict__  h_d,
const T *__restrict__  n_x_d,
const T *__restrict__  n_y_d,
const T *__restrict__  n_z_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,
T *__restrict__  tau_x_d,
T *__restrict__  tau_y_d,
T *__restrict__  tau_z_d,
int  n_nodes,
int  lx,
T  kappa,
const T *__restrict__  mu_w_d,
const T *__restrict__  rho_w_d,
T  g1,
T  g2,
T  g3,
T  Pr,
T  z0,
T  z0h_in,
T  bc_value,
T *__restrict__  Ri_b_diagn,
T *__restrict__  L_ob_diagn,
T *__restrict__  utau_diagn,
T *__restrict__  magu_diagn,
T *__restrict__  ti_diagn,
T *__restrict__  ts_diagn,
T *__restrict__  q_diagn,
const int *__restrict__  h_x_idx,
const int *__restrict__  h_y_idx,
const int *__restrict__  h_z_idx 
)

Definition at line 292 of file most_kernel.h.

Here is the call graph for this function:

◆ slaw_h_convective()

template<typename T >
__device__ T slaw_h_convective ( T  z,
T  L_ob,
T  z0h 
)

Definition at line 199 of file most_kernel.h.

Here is the call graph for this function:

◆ slaw_h_neutral()

template<typename T >
__device__ T slaw_h_neutral ( T  z,
T  z0h 
)

Definition at line 283 of file most_kernel.h.

Here is the call graph for this function:

◆ slaw_h_stable()

template<typename T >
__device__ T slaw_h_stable ( T  z,
T  L_ob,
T  z0h 
)

Definition at line 87 of file most_kernel.h.

Here is the call graph for this function:

◆ slaw_m_convective()

template<typename T >
__device__ T slaw_m_convective ( T  z,
T  L_ob,
T  z0 
)

Definition at line 191 of file most_kernel.h.

Here is the call graph for this function:

◆ slaw_m_neutral()

template<typename T >
__device__ T slaw_m_neutral ( T  z,
T  z0 
)

Definition at line 277 of file most_kernel.h.

◆ slaw_m_stable()

template<typename T >
__device__ T slaw_m_stable ( T  z,
T  L_ob,
T  z0 
)

Definition at line 79 of file most_kernel.h.

Here is the call graph for this function: