AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
Rates.cl File Reference

Fixed ghost particles dudt and drhodt vanishing. More...

Include dependency graph for Rates.cl:

Functions

__kernel void entry (const __global uint *iset, const __global int *imove, const __global uint *associations, __global vec *dudt, __global float *drhodt, usize N)
 Vanish the variation of density and velocity rates.

Detailed Description

Fixed ghost particles dudt and drhodt vanishing.

Function Documentation

◆ entry()

__kernel void entry ( const __global uint * iset,
const __global int * imove,
const __global uint * associations,
__global vec * dudt,
__global float * drhodt,
usize N )

Vanish the variation of density and velocity rates.

Parameters
isetSet of particles index.
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
associationsMirroring particles.
dudtVelocity rate of change \( \frac{d \mathbf{u}}{d t} \).
drhodtDensity rate of change \( \frac{d \rho}{d t} \).
NNumber of particles.