Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
dynamic_smagorinsky_nut.c File Reference
#include <CL/cl.h>
#include <device/device_config.h>
#include <device/opencl/check.h>
#include <device/opencl/jit.h>
#include <device/opencl/prgm_lib.h>
#include "dynamic_smagorinsky_nut_kernel.cl.h"
Include dependency graph for dynamic_smagorinsky_nut.c:

Go to the source code of this file.

Functions

static void dynamic_smagorinsky_jit ()
 
static void dynamic_smagorinsky_run (cl_kernel kernel, const int n)
 
void opencl_s_abs_compute (void *s_abs, void *s11, void *s22, void *s33, void *s12, void *s13, void *s23, int *n)
 
void opencl_lij_compute_part1 (void *l11, void *l22, void *l33, void *l12, void *l13, void *l23, void *u, void *v, void *w, void *fu, void *fv, void *fw, void *fuu, void *fvv, void *fww, void *fuv, void *fuw, void *fvw, int *n)
 
void opencl_lij_compute_part2 (void *l11, void *l22, void *l33, void *l12, void *l13, void *l23, void *fuu, void *fvv, void *fww, void *fuv, void *fuw, void *fvw, int *n)
 
void opencl_mij_compute_part1 (void *m11, void *m22, void *m33, void *m12, void *m13, void *m23, void *s_abs, void *s11, void *s22, void *s33, void *s12, void *s13, void *s23, void *fs_abs, void *fs11, void *fs22, void *fs33, void *fs12, void *fs13, void *fs23, void *fsabss11, void *fsabss22, void *fsabss33, void *fsabss12, void *fsabss13, void *fsabss23, real *delta_ratio2, int *n)
 
void opencl_mij_nut_compute_part2 (void *m11, void *m22, void *m33, void *m12, void *m13, void *m23, void *l11, void *l22, void *l33, void *l12, void *l13, void *l23, void *fsabss11, void *fsabss22, void *fsabss33, void *fsabss12, void *fsabss13, void *fsabss23, void *num, void *den, void *c_dyn, void *delta, void *s_abs, void *nut, real *alpha, int *n)
 

Function Documentation

◆ dynamic_smagorinsky_jit()

static void dynamic_smagorinsky_jit ( )
static

JIT compile the dynamic Smagorinsky program on first use

Definition at line 49 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dynamic_smagorinsky_run()

static void dynamic_smagorinsky_run ( cl_kernel  kernel,
const int  n 
)
static

Enqueue a one-dimensional kernel over n points

Definition at line 57 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ opencl_lij_compute_part1()

void opencl_lij_compute_part1 ( void l11,
void l22,
void l33,
void l12,
void l13,
void l23,
void u,
void v,
void w,
void fu,
void fv,
void fw,
void fuu,
void fvv,
void fww,
void fuv,
void fuw,
void fvw,
int n 
)

Fortran wrapper for the OpenCL Leonard stress kernel, part 1

Definition at line 95 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ opencl_lij_compute_part2()

void opencl_lij_compute_part2 ( void l11,
void l22,
void l33,
void l12,
void l13,
void l23,
void fuu,
void fvv,
void fww,
void fuv,
void fuw,
void fvw,
int n 
)

Fortran wrapper for the OpenCL Leonard stress kernel, part 2

Definition at line 133 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ opencl_mij_compute_part1()

void opencl_mij_compute_part1 ( void m11,
void m22,
void m33,
void m12,
void m13,
void m23,
void s_abs,
void s11,
void s22,
void s33,
void s12,
void s13,
void s23,
void fs_abs,
void fs11,
void fs22,
void fs33,
void fs12,
void fs13,
void fs23,
void fsabss11,
void fsabss22,
void fsabss33,
void fsabss12,
void fsabss13,
void fsabss23,
real delta_ratio2,
int n 
)

Fortran wrapper for the OpenCL model tensor kernel, part 1

Definition at line 163 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ opencl_mij_nut_compute_part2()

void opencl_mij_nut_compute_part2 ( void m11,
void m22,
void m33,
void m12,
void m13,
void m23,
void l11,
void l22,
void l33,
void l12,
void l13,
void l23,
void fsabss11,
void fsabss22,
void fsabss33,
void fsabss12,
void fsabss13,
void fsabss23,
void num,
void den,
void c_dyn,
void delta,
void s_abs,
void nut,
real alpha,
int n 
)

Fortran wrapper for the OpenCL model tensor and eddy viscosity kernel

Definition at line 213 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ opencl_s_abs_compute()

void opencl_s_abs_compute ( void s_abs,
void s11,
void s22,
void s33,
void s12,
void s13,
void s23,
int n 
)

Fortran wrapper for the OpenCL strain rate magnitude kernel

Definition at line 72 of file dynamic_smagorinsky_nut.c.

Here is the call graph for this function:
Here is the caller graph for this function: