Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_SIMPLE_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_SIMPLE_HPP
63 void readConfiguration();
68 void initializeOnHost();
Base class for MPC fluids.
Simple(const CUDA::Simulation *const sim, const unsigned int count, const FP streamingTimestep_, RNG &rng_, DeviceMemoryManager *const devMemMgr)
The constructor.
Class for managing memory on the CUDA Device.
virtual void stream()
Performs a streaming step.
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.
unsigned int getParticleCount() const
Returns the number of MPC fluid particles.
double FP
Default floating point type.
virtual ~Simple()
The destructor.
virtual unsigned int getNumberOfLogicalEntities() const
Returns the number of logical entities in the fluid.
Fluid consisting of independent particles.
virtual bool numberOfParticlesPerLogicalEntityIsConstant() const
Returns whether all logical entities consist of the same number of MPC particles.