milupHPC documentation
  • include
  • integrator
device_leapfrog.cuh
Go to the documentation of this file.
1
8#ifndef MILUPHPC_DEVICE_LEAPFROG_CUH
9#define MILUPHPC_DEVICE_LEAPFROG_CUH
10
11#include "../particles.cuh"
12#include <assert.h>
13
15namespace LeapfrogNS {
16
18 namespace Kernel {
19
29 __global__ void updateX(Particles *particles, integer n, real dt);
30
31 __global__ void updateV(Particles *particles, integer n, real dt);
32
34 namespace Launch {
40 real updateX(Particles *particles, integer n, real dt);
41
42 real updateV(Particles *particles, integer n, real dt);
43 }
44 }
45
46}
47
48#endif //MILUPHPC_DEVICE_LEAPFROG_CUH
Particles
Particle(s) class based on SoA (Structur of Arrays).
Definition: particles.cuh:50
Kernel
Definition: device_rhs.cuh:7
LeapfrogNS::Kernel::Launch::updateX
real updateX(Particles *particles, integer n, real dt)
Wrapper for LeapfrogNS::Kernel::update().
Definition: device_leapfrog.cu:60
LeapfrogNS::Kernel::Launch::updateV
real updateV(Particles *particles, integer n, real dt)
Definition: device_leapfrog.cu:67
LeapfrogNS::Kernel::updateV
__global__ void updateV(Particles *particles, integer n, real dt)
Definition: device_leapfrog.cu:34
LeapfrogNS::Kernel::updateX
__global__ void updateX(Particles *particles, integer n, real dt)
Update/move/advance particles.
Definition: device_leapfrog.cu:4
LeapfrogNS
leapfrog integrator
Definition: device_leapfrog.cuh:15
real
double real
Definition: parameter.h:15
integer
int integer
Definition: parameter.h:17

milupHPC - include/integrator/device_leapfrog.cuh Source File
Generated on Wed Aug 31 2022 12:16:52 by Doxygen 1.9.3