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

Velocity and density variation rates computation. More...

Include dependency graph for Rates.cl:

Functions

__kernel void entry (const __global uint *iset, const __global int *imove, const __global float *work_density, __global float *deintdt, const usize N)
 Energy variation rates computation.

Detailed Description

Velocity and density variation rates computation.

Function Documentation

◆ entry()

__kernel void entry ( const __global uint * iset,
const __global int * imove,
const __global float * work_density,
__global float * deintdt,
const usize N )

Energy variation rates computation.

The energy conservation are applied from the already computed differential operators:

Parameters
isetSet of particles index.
imoveMoving flags.
  • imove > 0 for regular fluid particles.
  • imove = 0 for sensors.
  • imove < 0 for boundary elements/particles.
work_densitycompression work
deintdtEnergy rate of change
NNumber of particles.