OpenMPCD
include
OpenMPCD
CUDA
MPCFluid
DeviceCode
MPCFluid/DeviceCode/Symbols.hpp
Go to the documentation of this file.
1
/**
2
* @file
3
* Defines CUDA constant symbols for OpenMPCD::CUDA::MPCFluid
4
*/
5
6
#ifndef OPENMPCD_CUDA_MPCFLUID_DEVICECODE_SYMBOLS_HPP
7
#define OPENMPCD_CUDA_MPCFLUID_DEVICECODE_SYMBOLS_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
extern
__constant__
unsigned
int
mpcParticleCount
;
///< The number of MPC fluid particles.
20
21
extern
__constant__
FP
omega;
22
extern
__constant__
FP
cos_omegaTimesTimestep;
23
extern
__constant__
FP
sin_omegaTimesTimestep;
24
}
//namespace DeviceCode
25
}
//namespace MPCFluid
26
}
//namespace CUDA
27
}
//namespace OpenMPCD
28
29
#endif
OpenMPCD::CUDA::MPCFluid::DeviceCode::mpcParticleCount
__constant__ unsigned int mpcParticleCount
The number of MPC fluid particles.
OpenMPCD::FP
double FP
Default floating point type.
Definition:
Types.hpp:13
Types.hpp
Generated by
1.8.17