Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_GAUSSIANCHAINS_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_GAUSSIANCHAINS_HPP
50 const FP streamingTimestep_,
RNG& rng_,
71 return particlesPerChain;
80 void readConfiguration();
85 void initializeOnHost();
88 unsigned int particlesPerChain;
91 unsigned int mdStepCount;
93 FP* d_velocityVerletAccelerationBuffer;
Base class for MPC fluids.
virtual ~GaussianChains()
The destructor.
Class for managing memory on the CUDA Device.
virtual bool numberOfParticlesPerLogicalEntityIsConstant() const
Returns whether all logical entities consist of the same number of MPC particles.
virtual unsigned int getNumberOfLogicalEntities() const
Returns the number of logical entities in the fluid.
virtual unsigned int getNumberOfParticlesPerLogicalEntity() const
Returns the number of MPC particles per logical entity.
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
boost::mt11213b RNG
The random number generator type.
virtual void stream()
Performs a streaming step.
unsigned int getParticleCount() const
Returns the number of MPC fluid particles.
double FP
Default floating point type.
GaussianChains(const CUDA::Simulation *const sim, const unsigned int count, const FP streamingTimestep_, RNG &rng_, DeviceMemoryManager *const devMemMgr)
The constructor.
Generalization of GaussianDumbbells to chains with an arbitrary number of constituent particles.