Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_HARMONICTRIMERS_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_HARMONICTRIMERS_HPP
84 void readConfiguration();
89 void initializeOnHost();
95 bool streamAnalyticallyFlag;
96 unsigned int mdStepCount;
Base class for MPC fluids.
virtual unsigned int getNumberOfLogicalEntities() const
Returns the number of logical entities in the fluid.
virtual bool numberOfParticlesPerLogicalEntityIsConstant() const
Returns whether all logical entities consist of the same number of MPC particles.
virtual void stream()
Performs a streaming step.
virtual unsigned int getNumberOfParticlesPerLogicalEntity() const
Returns the number of MPC particles per logical entity.
Class for managing memory on the CUDA Device.
virtual ~HarmonicTrimers()
The destructor.
Fluid consisting of three particles, with two harmonic springs coupling them.
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
boost::mt11213b RNG
The random number generator type.
unsigned int getParticleCount() const
Returns the number of MPC fluid particles.
double FP
Default floating point type.
HarmonicTrimers(const CUDA::Simulation *const sim, const unsigned int count, const FP streamingTimestep_, RNG &rng_, DeviceMemoryManager *const devMemMgr)
The constructor.