AQUAgpusph 4.1.2
|
Fixed ghost particles mirroring process. More...
Functions | |
__kernel void | entry (const __global int *imove, const __global uint *associations, const __global vec *normal, __global vec *r, __global uint *gp_icell, uint N, vec r_min, uivec4 n_cells) |
Fixed ghost particles mirroring. | |
Fixed ghost particles mirroring process.
__kernel void entry | ( | const __global int * | imove, |
const __global uint * | associations, | ||
const __global vec * | normal, | ||
__global vec * | r, | ||
__global uint * | gp_icell, | ||
uint | N, | ||
vec | r_min, | ||
uivec4 | n_cells | ||
) |
Fixed ghost particles mirroring.
The fixed ghost particles require to mirror the particles in order to can interpolate the field values, mirroring back later to can compute the interactions with the fluid particles.
In the mirroring process, both the particle and its cell information should be changed.
imove | Moving flags.
|
associations | Mirroring particles. |
normal | Normal \( \mathbf{n} \). |
r | Position \( \mathbf{r} \). |
gp_icell | Cell where each particle is located. |
N | Number of particles. |
r_min | Minimum position of a particle |
n_cells | Number of cells in each direction |