Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_GAUSSIANDUMBBELLS_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_GAUSSIANDUMBBELLS_HPP
62 const FP streamingTimestep_,
RNG& rng_,
64 const FP kT,
const FP leesEdwardsShearRate);
95 void readConfiguration();
101 void initializeOnHost(
const FP leesEdwardsShearRate);
109 getInitialDumbbellPartnerPosition(
114 bool streamAnalyticallyFlag;
116 FP dumbbellRootMeanSquareLength;
117 FP zeroShearRelaxationTime;
118 FP reducedSpringConstant;
121 unsigned int mdStepCount;
Base class for MPC fluids.
Represents a vector whose data is stored elsewhere.
virtual bool numberOfParticlesPerLogicalEntityIsConstant() const
Returns whether all logical entities consist of the same number of MPC particles.
Class for managing memory on the CUDA Device.
GaussianDumbbells(const CUDA::Simulation *const sim, const unsigned int count, const FP streamingTimestep_, RNG &rng_, DeviceMemoryManager *const devMemMgr, const FP kT, const FP leesEdwardsShearRate)
The constructor.
virtual ~GaussianDumbbells()
The destructor.
virtual unsigned int getNumberOfLogicalEntities() const
Returns the number of logical entities in the fluid.
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
boost::mt11213b RNG
The random number generator type.
Fluid consisting of Gaussian dumbbells.
unsigned int getParticleCount() const
Returns the number of MPC fluid particles.
double FP
Default floating point type.
virtual unsigned int getNumberOfParticlesPerLogicalEntity() const
Returns the number of MPC particles per logical entity.
virtual void stream()
Performs a streaming step.