OpenMPCD
Namespaces | Functions | Variables
DeviceCode/Symbols.hpp File Reference
#include <OpenMPCD/Types.hpp>
Include dependency graph for DeviceCode/Symbols.hpp:

Go to the source code of this file.

Namespaces

 OpenMPCD::CUDA
 Namespace for simulations using CUDA.
 
 OpenMPCD::CUDA::DeviceCode
 Contains CUDA Device code.
 

Functions

void OpenMPCD::CUDA::DeviceCode::setSimulationBoxSizeSymbols (const unsigned int simBoxSizeX, const unsigned int simBoxSizeY, const unsigned int simBoxSizeZ)
 Sets the symbols mpcSimulationBoxSizeX, mpcSimulationBoxSizeY, mpcSimulationBoxSizeZ, and collisionCellCount in OpenMPCD::CUDA::DeviceCode. More...
 
void OpenMPCD::CUDA::DeviceCode::setMPCStreamingTimestep (const FP timestep)
 Sets the symbol OpenMPCD::CUDA::DeviceCode::streamingTimestep. More...
 
void OpenMPCD::CUDA::DeviceCode::setSRDCollisionAngleSymbol (const FP angle)
 Sets the symbol OpenMPCD::CUDA::DeviceCode::srdCollisionAngle. More...
 

Variables

__constant__ unsigned int OpenMPCD::CUDA::DeviceCode::mpcSimulationBoxSizeX
 The size of the primary simulation box along the x direction. More...
 
__constant__ unsigned int OpenMPCD::CUDA::DeviceCode::mpcSimulationBoxSizeY
 The size of the primary simulation box along the y direction. More...
 
__constant__ unsigned int OpenMPCD::CUDA::DeviceCode::mpcSimulationBoxSizeZ
 The size of the primary simulation box along the z direction. More...
 
__constant__ unsigned int OpenMPCD::CUDA::DeviceCode::collisionCellCount
 The number of collision cells in the system. More...
 
__constant__ FP OpenMPCD::CUDA::DeviceCode::streamingTimestep
 The MPC streaming time-step. More...
 
__constant__ FP OpenMPCD::CUDA::DeviceCode::srdCollisionAngle
 The collision angle for SRD collisions. More...
 

Detailed Description

Declares some central CUDA constant symbols.

Definition in file DeviceCode/Symbols.hpp.