AQUAgpusph 4.1.2
|
Fluid particles interactions computation. More...
Macros | |
#define | _U_ u[i].XYZ |
#define | _RHO_ rho[i] |
#define | _P_ p[i] |
Functions | |
__kernel void | entry (const __global uint *iset, const __global int *imove, const __global vec *r, const __global float *m, __global vec *u, __global float *rho, __global float *p, const __global uint *icell, const __global uint *ihoc, uint N, uivec4 n_cells, vec g) |
Fields interpolation at the sensors. | |
Fluid particles interactions computation.
#define _P_ p[i] |
#define _RHO_ rho[i] |
#define _U_ u[i].XYZ |
__kernel void entry | ( | const __global uint * | iset, |
const __global int * | imove, | ||
const __global vec * | r, | ||
const __global float * | m, | ||
__global vec * | u, | ||
__global float * | rho, | ||
__global float * | p, | ||
const __global uint * | icell, | ||
const __global uint * | ihoc, | ||
uint | N, | ||
uivec4 | n_cells, | ||
vec | g | ||
) |
Fields interpolation at the sensors.
The fields to be interpolated are:
The values are computed using just the fluid information. The resulting interpolated values are not renormalized yet.
iset | Set of particles index. |
imove | Moving flags.
|
r | Position \( \mathbf{r} \). |
m | Mass \( m \). |
u | Velocity \( \mathbf{u} \). |
rho | Density \( \rho \). |
p | Pressure \( 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 |
g | Gravity acceleration \( \mathbf{g} \). |