AQUAgpusph 5.0.4
|
Bounding boxes for processes. More...
#include "resources/Scripts/types/types.h"
Functions | |
__kernel void | local_mask (const __global int *imove, const __global vec *r, __global usize *mpi_local_mask, vec mpi_plane_r, vec mpi_plane_n, unsigned int mpi_plane_proc, usize N) |
Set the masks to let AQUAgpusph to which process each particle belongs. | |
__kernel void | neigh_mask (const __global int *imove, const __global vec *r, __global usize *mpi_neigh_mask, vec mpi_plane_r, vec mpi_plane_n, unsigned int mpi_plane_proc, usize N) |
Set the masks to let AQUAgpusph to which process each particle is neighbour of. |
Bounding boxes for processes.
__kernel void local_mask | ( | const __global int * | imove, |
const __global vec * | r, | ||
__global usize * | mpi_local_mask, | ||
vec | mpi_plane_r, | ||
vec | mpi_plane_n, | ||
unsigned int | mpi_plane_proc, | ||
usize | N ) |
Set the masks to let AQUAgpusph to which process each particle belongs.
Just fluid particles are exchanged
imove | Moving flags
|
mpi_local_mask | Particles that shall be handled by another process from now on |
mpi_plane_r | Bounding plane position |
mpi_plane_n | Outward bounding plane normal |
mpi_plane_proc | Neighbour process |
N | Number of particles |
__kernel void neigh_mask | ( | const __global int * | imove, |
const __global vec * | r, | ||
__global usize * | mpi_neigh_mask, | ||
vec | mpi_plane_r, | ||
vec | mpi_plane_n, | ||
unsigned int | mpi_plane_proc, | ||
usize | N ) |
Set the masks to let AQUAgpusph to which process each particle is neighbour of.
Just fluid particles are exchanged
imove | Moving flags
|
mpi_neigh_mask | Particles that shall be sent to another process so it can consider them as neighbours |
mpi_plane_r | Bounding plane position |
mpi_plane_n | Outward bounding plane normal |
mpi_plane_proc | Neighbour process |
N | Number of particles |