11 :
Base(sim->getConfiguration(), mpcFluid_),
12 simulation(sim), mpcFluid(mpcFluid_),
13 bondLengthHistogram(
"gaussianRods.bondLengthHistogram", sim->getConfiguration())
36 bondLengthHistogram.
save(rundir+
"/gaussianRods/bondLengthHistogram.data");
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 void saveSpecific(const std::string &rundir) const
Saves the data to the given run directory.
Namespace for instrumentation classes for MPC fluids.
FourierTransformedVelocity::Base * fourierTransformedVelocity
Measures Fourier-transformed velocities.
Class for measurements of velocity autocorrelation in MPC fluids that consist of doublets of particle...
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
void save(const std::string &filename, const FP binPoint=0.5) const
Saves the histogram at the given path.
OPENMPCD_CUDA_HOST_AND_DEVICE RealType magnitude() const
Returns the magnitude of this vector.
virtual void measureSpecific()
Performs measurements.
unsigned int getParticleCount() const
Returns the number of MPC fluid particles.
void fill(const FP val)
Adds an entry to the histogram.
Base class for MPC fluids instrumentation.
GaussianRods(const Simulation *const sim, DeviceMemoryManager *const devMemMgr, const MPCFluid::GaussianRods *const mpcFluid_)
The constructor.
const RemotelyStoredVector< const MPCParticlePositionType > getPosition(const unsigned int particleID) const
Returns a MPC fluid particle's position vector.
VelocityAutocorrelation::Base * velocityAutocorrelation
Measures velocity autocorrelation.