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

Go to the source code of this file.

Functions

void opencl_vreman_nut_compute (void *a11, void *a12, void *a13, void *a21, void *a22, void *a23, void *a31, void *a32, void *a33, void *delta, void *nut, void *mult, real *c, real *eps, int *n)
 
void opencl_vreman_nut_compute_buoy (void *a11, void *a12, void *a13, void *a21, void *a22, void *a23, void *a31, void *a32, void *a33, void *delta, void *nut, void *mult, real *c, real *eps, int *n, void *dTdx, void *dTdy, void *dTdz, real *g, real *ri_c, real *ref_temp)
 

Function Documentation

◆ opencl_vreman_nut_compute()

void opencl_vreman_nut_compute ( void a11,
void a12,
void a13,
void a21,
void a22,
void a23,
void a31,
void a32,
void a33,
void delta,
void nut,
void mult,
real c,
real eps,
int n 
)

Fortran wrapper for the OpenCL Vreman eddy viscosity kernel

Definition at line 51 of file vreman_nut.c.

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

◆ opencl_vreman_nut_compute_buoy()

void opencl_vreman_nut_compute_buoy ( void a11,
void a12,
void a13,
void a21,
void a22,
void a23,
void a31,
void a32,
void a33,
void delta,
void nut,
void mult,
real c,
real eps,
int n,
void dTdx,
void dTdy,
void dTdz,
real g,
real ri_c,
real ref_temp 
)

Fortran wrapper for the OpenCL buoyancy-corrected Vreman kernel

Note
g is the (unnormalised) gravity vector; the shear direction uses the normalised vector, the buoyancy term the original one.

Definition at line 100 of file vreman_nut.c.

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