Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_GAUSSIANRODS_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_GAUSSIANRODS_HPP
39 const FP streamingTimestep_,
RNG& rng_,
71 void readConfiguration();
76 void initializeOnHost();
83 getInitialPartnerPosition(
90 unsigned int mdStepCount;
Base class for MPC fluids.
Represents a vector whose data is stored elsewhere.
Fluid consisting of Gaussian rods with a certain mean length.
Class for managing memory on the CUDA Device.
virtual unsigned int getNumberOfParticlesPerLogicalEntity() const
Returns the number of MPC particles per logical entity.
GaussianRods(const CUDA::Simulation *const sim, const unsigned int count, const FP streamingTimestep_, RNG &rng_, DeviceMemoryManager *const devMemMgr)
The constructor.
virtual ~GaussianRods()
The destructor.
virtual bool numberOfParticlesPerLogicalEntityIsConstant() const
Returns whether all logical entities consist of the same number of MPC particles.
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
boost::mt11213b RNG
The random number generator type.
virtual unsigned int getNumberOfLogicalEntities() const
Returns the number of logical entities in the fluid.
unsigned int getParticleCount() const
Returns the number of MPC fluid particles.
double FP
Default floating point type.
virtual void stream()
Performs a streaming step.