AQUAgpusph 4.1.2
|
Particles interactions computation. More...
Macros | |
#define | __CLEARY__ 10.f |
#define | _LAPP_ lap_p[i] |
Functions | |
__kernel void | lapp (const __global int *imove, const __global int *imirrored, const __global vec *r, const __global vec *rmirrored, const __global float *rho, const __global float *m, const __global float *p, const __global float *h_var, __global float *lap_p, __global uint *icell, __global uint *ihoc, uint N, uivec4 n_cells) |
Laplacian of the pressure computation. | |
Particles interactions computation.
#define __CLEARY__ 10.f |
#define _LAPP_ lap_p[i] |
__kernel void lapp | ( | const __global int * | imove, |
const __global int * | imirrored, | ||
const __global vec * | r, | ||
const __global vec * | rmirrored, | ||
const __global float * | rho, | ||
const __global float * | m, | ||
const __global float * | p, | ||
const __global float * | h_var, | ||
__global float * | lap_p, | ||
__global uint * | icell, | ||
__global uint * | ihoc, | ||
uint | N, | ||
uivec4 | n_cells | ||
) |
Laplacian of the pressure computation.
imove | Moving flags.
|
imirrored | 0 if the particle has not been mirrored, 1 otherwise. |
r | Position \( \mathbf{r} \). |
rmirrored | Mirrored position of the particle, r if imirrored is false (0). |
rho | Density \( \rho \). |
m | Mass \( m \). |
p | Pressure \( p \). |
h_var | variable kernel lenght \( h \). |
lap_p | Pressure laplacian \( \Delta p \). |
icell | Cell where each particle is located. |
ihoc | Head of chain for each cell (first particle found). |
N | Number of particles. |
n_cells | Number of cells in each direction |