|
AQUAgpusph 5.0.4
|
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, usize N, vec g, LINKLIST_LOCAL_PARAMS) |
| 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, | ||
| usize | N, | ||
| vec | g, | ||
| LINKLIST_LOCAL_PARAMS | ) |
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} \). |
