AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
Functions
Rates.cl File Reference

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

#include "resources/Scripts/types/types.h"
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, uint 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,
uint  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.