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

Go to the source code of this file.

Functions

void opencl_entropy_visc_compute_residual (void *entropy_residual, void *S, void *S_lag1, void *S_lag2, void *S_lag3, real bdf1, real bdf2, real bdf3, real bdf4, real dt, int n)
 
void opencl_entropy_visc_compute_viscosity (void *reg_coeff, void *entropy_residual, void *h, real c_avisc_entropy, real n_S, int n)
 
void opencl_entropy_visc_apply_element_max (void *reg_coeff, int lx, int nelv)
 
void opencl_entropy_visc_clamp_to_low_order (void *reg_coeff, void *h, void *max_wave_speed, real c_avisc_low, int n)
 
void opencl_entropy_visc_smooth_divide (void *reg_coeff, void *temp_field, void *mult_field, int n)
 

Function Documentation

◆ opencl_entropy_visc_apply_element_max()

void opencl_entropy_visc_apply_element_max ( void reg_coeff,
int  lx,
int  nelv 
)

Definition at line 120 of file entropy_viscosity.c.

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

◆ opencl_entropy_visc_clamp_to_low_order()

void opencl_entropy_visc_clamp_to_low_order ( void reg_coeff,
void h,
void max_wave_speed,
real  c_avisc_low,
int  n 
)

Definition at line 148 of file entropy_viscosity.c.

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

◆ opencl_entropy_visc_compute_residual()

void opencl_entropy_visc_compute_residual ( void entropy_residual,
void S,
void S_lag1,
void S_lag2,
void S_lag3,
real  bdf1,
real  bdf2,
real  bdf3,
real  bdf4,
real  dt,
int  n 
)

Definition at line 49 of file entropy_viscosity.c.

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

◆ opencl_entropy_visc_compute_viscosity()

void opencl_entropy_visc_compute_viscosity ( void reg_coeff,
void entropy_residual,
void h,
real  c_avisc_entropy,
real  n_S,
int  n 
)

Definition at line 87 of file entropy_viscosity.c.

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

◆ opencl_entropy_visc_smooth_divide()

void opencl_entropy_visc_smooth_divide ( void reg_coeff,
void temp_field,
void mult_field,
int  n 
)

Definition at line 179 of file entropy_viscosity.c.

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