Go to the documentation of this file.
8 #ifndef OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_LOGICALENTITYMEANSQUAREDISPLACEMENT_HPP
9 #define OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_LOGICALENTITYMEANSQUAREDISPLACEMENT_HPP
28 namespace Instrumentation
200 const unsigned int t,
201 const unsigned int T)
const;
220 void save(std::ostream& stream);
236 void save(
const std::string& rundir);
247 unsigned int measureEveryNthSweep;
249 unsigned int measurementArgumentCount;
253 unsigned int sweepsSinceLastMeasurement;
256 std::vector<MPCParticlePositionType*> snapshots;
259 std::vector<std::vector<MPCParticlePositionType> >
260 meanSquareDisplacements;
274 #endif //OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_LOGICALENTITYMEANSQUAREDISPLACEMENT_HPP
LogicalEntityMeanSquareDisplacement(const OpenMPCD::Configuration &configuration, const OpenMPCD::CUDA::MPCFluid::Base *const mpcFluid_)
The constructor.
Base class for MPC fluids.
Represents the configuration of the simulation.
FP MPCParticlePositionType
The data type for the positions of MPC particles.
static bool isConfigured(const Configuration &config)
Returns whether the an attempt has been made to configure this class, i.e.
void measure()
Takes measurement data.
unsigned int getMaximumMeasurementTime() const
Returns, in units of measurement time, the maximum measurement time that is configured to be measured...
~LogicalEntityMeanSquareDisplacement()
The destructor.
unsigned int getMeasurementCount() const
Returns 1 plus the maximum number t may take in getMeanSquareDisplacement.
static bool isValidConfiguration(const Configuration::Setting &group)
Returns whether the given configuration group is a valid configuration.
Represents a setting in the configuration.
Measures the mean square displacement of logical entities in an MPC fluid.
MPCParticlePositionType getMeanSquareDisplacement(const unsigned int t, const unsigned int T) const
Returns the measured mean square displacement between measurement times and .
void save(std::ostream &stream)
Saves the result to the given stream.