AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Macros | Functions
deltaSPH.cl File Reference

delta-SPH methods, including the correction terms More...

#include "resources/Scripts/types/types.h"
#include "resources/Scripts/KernelFunctions/Kernel.h"
Include dependency graph for deltaSPH.cl:
This graph shows which files directly or indirectly include this file:

Macros

#define EXCLUDED_PARTICLE(index)   imove[index] <= 0
 Condition to exclude a particle from the delta-SPH model.
 
#define _GRADP_   lap_p_corr[i].XYZ
 
#define _LAPP_   lap_p[i]
 
#define _LAPP_   lap_p[i]
 

Functions

__kernel void simple (const __global unsigned int *iset, const __global int *imove, __global vec *lap_p_corr, __constant float *refd, unsigned int N, vec g)
 Simple hidrostatic based correction term.
 
__kernel void full (const __global int *imove, const __global vec *r, const __global float *rho, const __global float *m, const __global float *p, __global vec *lap_p_corr, const __global uint *icell, const __global uint *ihoc, uint N, uivec4 n_cells)
 MLS based correction term.
 
__kernel void full_mls (const __global int *imove, const __global matrix *mls, __global vec *lap_p_corr, uint N)
 MLS based correction term.
 
__kernel void lapp (const __global int *imove, const __global vec *r, const __global float *rho, const __global float *m, const __global float *p, __global float *lap_p, const __global uint *icell, const __global uint *ihoc, uint N, uivec4 n_cells)
 Laplacian of the pressure computation.
 
__kernel void lapp_corr (const __global int *imove, const __global vec *r, const __global float *rho, const __global float *m, const __global vec *lap_p_corr, __global float *lap_p, const __global uint *icell, const __global uint *ihoc, uint N, uivec4 n_cells)
 Laplacian of the pressure correction.
 
__kernel void deltaSPH (const __global unsigned int *iset, const __global int *imove, const __global float *rho, const __global float *lap_p, __global float *drhodt, __constant float *refd, __constant float *delta, unsigned int N, float dt)
 Density variation rates delta-SPH term.
 

Detailed Description

delta-SPH methods, including the correction terms

Macro Definition Documentation

◆ _GRADP_

#define _GRADP_   lap_p_corr[i].XYZ

◆ _LAPP_ [1/2]

#define _LAPP_   lap_p[i]

◆ _LAPP_ [2/2]

#define _LAPP_   lap_p[i]