AQUAgpusph 4.1.2
|
Boundary integral term computation. (See Aqua::CalcServer::Boundary::DeLeffe for details) More...
#include "resources/Scripts/types/types.h"
Functions | |
__kernel void | entry (const __global uint *iset, const __global int *imove, const __global float *shepard, __global float *rho, __global float *p, __constant float *refd, uint N, float cs, float p0) |
Set the fields for the boundary elements using the pressure interpolated by Boundary/BI/Interpolation.cl. | |
Boundary integral term computation. (See Aqua::CalcServer::Boundary::DeLeffe for details)
__kernel void entry | ( | const __global uint * | iset, |
const __global int * | imove, | ||
const __global float * | shepard, | ||
__global float * | rho, | ||
__global float * | p, | ||
__constant float * | refd, | ||
uint | N, | ||
float | cs, | ||
float | p0 | ||
) |
Set the fields for the boundary elements using the pressure interpolated by Boundary/BI/Interpolation.cl.
Therefore the pressure value will be renormalizaed, and the density computed using the inverse of the EOS.
iset | Set of particles index. |
imove | Moving flags.
|
shepard | Shepard term \( \gamma(\mathbf{x}) = \int_{\Omega} W(\mathbf{y} - \mathbf{x}) \mathrm{d}\mathbf{x} \). |
rho | Density \( \rho \). |
p | Pressure \( p \). |
refd | Density of reference of the fluid \( \rho_0 \). |
N | Total number of particles and boundary elements. |
cs | Speed of sound \( c_s \). |
p0 | Background pressure \( p_0 \). |