OpenMPCD
include
OpenMPCD
CUDA
MPCFluid
DeviceCode
DeviceCode/Simple.hpp
Go to the documentation of this file.
1
/**
2
* @file
3
* Defines CUDA Device code for OpenMPCD::CUDA::MPCFluid::Simple
4
*/
5
6
#ifndef OPENMPCD_CUDA_MPCFLUID_DEVICECODE_SIMPLE_HPP
7
#define OPENMPCD_CUDA_MPCFLUID_DEVICECODE_SIMPLE_HPP
8
9
#include <
OpenMPCD/Types.hpp
>
10
11
namespace
OpenMPCD
12
{
13
namespace
CUDA
14
{
15
namespace
MPCFluid
16
{
17
namespace
DeviceCode
18
{
19
/**
20
* Streams the given simple, independent MPC particle.
21
* No boundary conditions are considered.
22
* @param[in] workUnitOffset The number of MPC fluid particles to skip.
23
* @param[in,out] positions The array of MPC fluid particle positions.
24
* @param[in,out] velocities The array of MPC fluid particle velocities.
25
*/
26
__global__
void
streamSimpleMPCParticle
(
27
const
unsigned
int
workUnitOffset,
28
MPCParticlePositionType*
const
positions,
29
const
MPCParticleVelocityType*
const
velocities);
30
31
}
//namespace DeviceCode
32
}
//namespace MPCFluid
33
}
//namespace CUDA
34
}
//namespace OpenMPCD
35
36
#endif
OpenMPCD::CUDA::MPCFluid::DeviceCode::streamSimpleMPCParticle
__global__ void streamSimpleMPCParticle(const unsigned int workUnitOffset, MPCParticlePositionType *const positions, const MPCParticleVelocityType *const velocities)
Streams the given simple, independent MPC particle.
Types.hpp
Generated by
1.8.17