Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_DEVICECODE_GAUSSIANDUMBBELLS_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_DEVICECODE_GAUSSIANDUMBBELLS_HPP
35 const unsigned int particle1ID,
36 MPCParticlePositionType*
const positions,
37 MPCParticleVelocityType*
const velocities);
47 const unsigned int workUnitOffset,
48 MPCParticlePositionType*
const positions,
49 MPCParticleVelocityType*
const velocities);
63 const unsigned int particle1ID,
64 MPCParticlePositionType*
const positions,
65 MPCParticleVelocityType*
const velocities,
66 const FP reducedSpringConstant,
68 const unsigned int stepCount);
82 const unsigned int workUnitOffset,
83 MPCParticlePositionType*
const positions,
84 MPCParticleVelocityType*
const velocities,
85 const FP reducedSpringConstant,
87 const unsigned int stepCount);
__global__ void streamDumbbellsVelocityVerlet(const unsigned int workUnitOffset, MPCParticlePositionType *const positions, MPCParticleVelocityType *const velocities, const FP reducedSpringConstant, const FP timestep, const unsigned int stepCount)
Streams the dumbbells by applying the velocity-Verlet algorithm.
__global__ void streamDumbbellsAnalytically(const unsigned int workUnitOffset, MPCParticlePositionType *const positions, MPCParticleVelocityType *const velocities)
Streams the dumbbells by applying the analytical solution of the equations of motion.
__device__ void streamDumbbellVelocityVerlet(const unsigned int particle1ID, MPCParticlePositionType *const positions, MPCParticleVelocityType *const velocities, const FP reducedSpringConstant, const FP timestep, const unsigned int stepCount)
Streams the given dumbbell by applying the velocity-Verlet algorithm.
__device__ void streamDumbbellAnalytically(const unsigned int particle1ID, MPCParticlePositionType *const positions, MPCParticleVelocityType *const velocities)
Streams the given dumbbell by applying the analytical solution of the equations of motion.
void setGaussianDumbbellSymbols(const FP omega_, const FP timestep)
Sets the constant symbols.