OpenMPCD
Namespaces | Functions | Variables
CUDA/DeviceCode/LeesEdwardsBoundaryConditions.hpp File Reference
#include <OpenMPCD/Types.hpp>
#include <OpenMPCD/Vector3D.hpp>
Include dependency graph for CUDA/DeviceCode/LeesEdwardsBoundaryConditions.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::setLeesEdwardsSymbols (const FP shearRate, const unsigned int simBoxY)
 Sets CUDA symbols for Lees-Edwards boundary conditions. More...
 
const __device__ Vector3D< MPCParticlePositionType > OpenMPCD::CUDA::DeviceCode::getImageUnderLeesEdwardsBoundaryConditions (const FP mpcTime, const Vector3D< MPCParticlePositionType > &position, MPCParticleVelocityType &velocityCorrection)
 Returns the image of the given particle position under Lees-Edwards boundary conditions. More...
 

Variables

__constant__ FP OpenMPCD::CUDA::DeviceCode::leesEdwardsRelativeLayerVelocity
 The relative x-velocity of y-adjacent layers in Lees-Edwards boundary conditions. More...
 

Detailed Description

Defines Device functions for Lees-Edwards boundary conditions.

Definition in file CUDA/DeviceCode/LeesEdwardsBoundaryConditions.hpp.