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

Go to the source code of this file.

Namespaces

 OpenMPCD::CUDA
 Namespace for simulations using CUDA.
 
 OpenMPCD::CUDA::MPCFluid
 Namespace for MPC Fluid classes.
 
 OpenMPCD::CUDA::MPCFluid::DeviceCode
 Contains CUDA Device code.
 

Functions

__device__ void OpenMPCD::CUDA::MPCFluid::DeviceCode::streamGaussianRodVelocityVerlet (const unsigned int particle1ID, MPCParticlePositionType *const positions, MPCParticleVelocityType *const velocities, const FP meanBondLength, const FP reducedSpringConstant, const FP timestep, const unsigned int stepCount)
 Streams the given Gaussian Rod by applying the velocity-Verlet algorithm. More...
 
__global__ void OpenMPCD::CUDA::MPCFluid::DeviceCode::streamGaussianRodsVelocityVerlet (const unsigned int workUnitOffset, MPCParticlePositionType *const positions, MPCParticleVelocityType *const velocities, const FP meanBondLength, const FP reducedSpringConstant, const FP timestep, const unsigned int stepCount)
 Streams the dumbbells by applying the velocity-Verlet algorithm. More...
 

Detailed Description

Defines CUDA Device code for OpenMPCD::CUDA::MPCFluid::GaussianRods

Definition in file DeviceCode/GaussianRods.hpp.