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

Mirroring process for the symmetry boundary condition. More...

Include dependency graph for Mirror.cl:

Functions

__kernel void set (const __global usize *mirror_src, __global float *eint_in, __global float *deintdt_in, __global float *deintdt, usize N)
 Set the internal energy of the mirrored particles.

Detailed Description

Mirroring process for the symmetry boundary condition.

Function Documentation

◆ set()

__kernel void set ( const __global usize * mirror_src,
__global float * eint_in,
__global float * deintdt_in,
__global float * deintdt,
usize N )

Set the internal energy of the mirrored particles.

Parameters
mirror_srcSource particle associated with each mirrored one.
eint_inInternal energy \( e \).
deintdt_inInternal energy rate of change \( \frac{d e}{d t} \).
deintdtInternal energy rate of change \( \frac{d e}{d t} \).
NNumber of particles.