|
AQUAgpusph 5.0.4
|
Particles interactions computation. More...

Macros | |
| #define | _GRADP_ lap_p_corr[i].XYZ |
| #define | _LAPP_ lap_p[i] |
| #define | _LAPP_ lap_p[i] |
Functions | |
| __kernel void | full (const __global int *imove, const __global int *imirrored, const __global vec *r, const __global float *rho, const __global float *m, const __global float *p, __global vec *lap_p_corr, usize N, LINKLIST_LOCAL_PARAMS) |
| MLS based correction term, due to the particles at the other portal side. | |
| __kernel void | lapp (const __global int *imove, const __global int *imirrored, const __global vec *r, const __global float *rho, const __global float *m, const __global float *p, __global float *lap_p, usize N, LINKLIST_LOCAL_PARAMS) |
| Laplacian of the pressure computation. | |
| __kernel void | lapp_corr (const __global int *imove, const __global int *imirrored, const __global vec *r, const __global float *rho, const __global float *m, const __global vec *lap_p_corr, __global float *lap_p, usize N, LINKLIST_LOCAL_PARAMS) |
| Laplacian of the pressure correction. | |
Particles interactions computation.
| #define _GRADP_ lap_p_corr[i].XYZ |
| #define _LAPP_ lap_p[i] |
| #define _LAPP_ lap_p[i] |
| __kernel void full | ( | const __global int * | imove, |
| const __global int * | imirrored, | ||
| const __global vec * | r, | ||
| const __global float * | rho, | ||
| const __global float * | m, | ||
| const __global float * | p, | ||
| __global vec * | lap_p_corr, | ||
| usize | N, | ||
| LINKLIST_LOCAL_PARAMS | ) |
MLS based correction term, due to the particles at the other portal side.
The term computed with this function should be later renormalized by MLS.
| imove | Moving flags.
|
| imirrored | 0 if the particle has not been mirrored, 1 otherwise. |
| r | Position \( \mathbf{r} \). |
| rho | Density \( \rho \). |
| m | Mass \( m \). |
| p | Pressure \( p \). |
| lap_p_corr | Correction term for the Morris Laplacian formula. |
| 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 |

| __kernel void lapp | ( | const __global int * | imove, |
| const __global int * | imirrored, | ||
| const __global vec * | r, | ||
| const __global float * | rho, | ||
| const __global float * | m, | ||
| const __global float * | p, | ||
| __global float * | lap_p, | ||
| usize | N, | ||
| LINKLIST_LOCAL_PARAMS | ) |
Laplacian of the pressure computation.
| imove | Moving flags.
|
| imirrored | 0 if the particle has not been mirrored, 1 otherwise. |
| r | Position \( \mathbf{r} \). |
| rho | Density \( \rho \). |
| m | Mass \( m \). |
| p | Pressure \( p \). |
| 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 |

| __kernel void lapp_corr | ( | const __global int * | imove, |
| const __global int * | imirrored, | ||
| const __global vec * | r, | ||
| const __global float * | rho, | ||
| const __global float * | m, | ||
| const __global vec * | lap_p_corr, | ||
| __global float * | lap_p, | ||
| usize | N, | ||
| LINKLIST_LOCAL_PARAMS | ) |
Laplacian of the pressure correction.
| imove | Moving flags.
|
| imirrored | 0 if the particle has not been mirrored, 1 otherwise. |
| r | Position \( \mathbf{r} \). |
| rho | Density \( \rho \). |
| m | Mass \( m \). |
| p | Pressure \( p \). |
| lap_p_corr | Correction term for the Morris Laplacian formula. |
| 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 |
