|
AQUAgpusph 5.0.4
|
The simplest boundary technique to assert the non-tresspasable boundary condition. More...

Macros | |
| #define | __DR_FACTOR__ 0.5f |
| The boundary elements effect is restricted to a quadrangular area of \( R \times R \), where \( R = DR_FACTOR \cdot \Delta r \). | |
| #define | DIMS 2 |
Functions | |
| __kernel void | entry (const __global int *imove, __global vec *r, const __global vec *normal, const __global float *m, const __global float *rho, usize N, LINKLIST_LOCAL_PARAMS) |
| Ensure that no particle can get closer to the boundary than its volume allows to. | |
The simplest boundary technique to assert the non-tresspasable boundary condition.
| #define __DR_FACTOR__ 0.5f |
The boundary elements effect is restricted to a quadrangular area of \( R \times R \), where \( R = DR_FACTOR \cdot \Delta r \).
| #define DIMS 2 |
| __kernel void entry | ( | const __global int * | imove, |
| __global vec * | r, | ||
| const __global vec * | normal, | ||
| const __global float * | m, | ||
| const __global float * | rho, | ||
| usize | N, | ||
| LINKLIST_LOCAL_PARAMS | ) |
Ensure that no particle can get closer to the boundary than its volume allows to.
| imove | Moving flags.
|
| r | Position \( \mathbf{r} \). |
| normal | Normal \( \mathbf{n} \). |
| m | Mass \( m \) or Area \( s \) (depending on imove). |
| rho | Density \( \rho \). |
| N | Number of particles. |
| icell | Cell where each particle is located. |
| ihoc | Head of chain for each cell (first particle found). |
| n_cells | Number of cells in each direction |