AQUAgpusph 4.1.2
|
Ghost particles Laplacian of the velocity computation. More...
Macros | |
#define | __CLEARY__ 10.f |
#define | _LAPU_ lap_u[i].XYZ |
Functions | |
__kernel void | entry (const __global int *imove, const __global vec *r, const __global vec *u, const __global float *rho, const __global float *m, const __global float *h_var, __global vec *lap_u, const __global uint *icell, const __global uint *ihoc, uint N, uivec4 n_cells) |
Ghost particles Laplacian of the velocity computation. | |
Ghost particles Laplacian of the velocity computation.
#define __CLEARY__ 10.f |
#define _LAPU_ lap_u[i].XYZ |
__kernel void entry | ( | const __global int * | imove, |
const __global vec * | r, | ||
const __global vec * | u, | ||
const __global float * | rho, | ||
const __global float * | m, | ||
const __global float * | h_var, | ||
__global vec * | lap_u, | ||
const __global uint * | icell, | ||
const __global uint * | ihoc, | ||
uint | N, | ||
uivec4 | n_cells | ||
) |
Ghost particles Laplacian of the velocity computation.
This method compute the Laplacian of the velocity also in the mirroring boundary elements because such information will be required to extend the pressure field.
imove | Moving flags.
|
r | Position \( \mathbf{r} \). |
u | Velocity \( \mathbf{u} \). |
rho | Density \( \rho \). |
m | Mass \( m \). |
h_var | variable kernel lenght \( h \). |
lap_u | Velocity laplacian \( \frac{\Delta \mathbf{u}}{rho} \). |
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 |