Go to the documentation of this file.
8 #ifndef OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_NORMALMODEAUTOCORRELATION_HPP
9 #define OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_NORMALMODEAUTOCORRELATION_HPP
28 namespace Instrumentation
215 const unsigned int t,
216 const unsigned int T,
217 const unsigned int normalMode)
const;
237 void save(std::ostream& stream);
253 void save(
const std::string& rundir);
264 unsigned int measureEveryNthSweep;
266 unsigned int autocorrelationArgumentCount;
270 unsigned int sweepsSinceLastMeasurement;
273 std::vector<DeviceBuffer<MPCParticlePositionType>*> snapshots;
276 std::vector<std::vector<std::vector<MPCParticlePositionType> > >
291 #endif //OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_NORMALMODEAUTOCORRELATION_HPP
Base class for MPC fluids.
MPCParticlePositionType getAutocorrelation(const unsigned int t, const unsigned int T, const unsigned int normalMode) const
Returns the measured value of the autocorrelation at measurement times and , and for normal mode ind...
Represents the configuration of the simulation.
~NormalModeAutocorrelation()
The destructor.
NormalModeAutocorrelation(const OpenMPCD::Configuration &configuration, const OpenMPCD::CUDA::MPCFluid::Base *const mpcFluid_)
The constructor.
void measure()
Takes measurement data.
FP MPCParticlePositionType
The data type for the positions of MPC particles.
unsigned int getMaximumCorrelationTime() const
Returns, in units of measurement time, the maximum correlation time that is configured to be measured...
Measures the autocorrelation of normal coordinates in linear polymers.
unsigned int getMeasurementCount() const
Returns 1 plus the maximum number t may take in getAutocorrelation.
static bool isConfigured(const Configuration &config)
Returns whether the an attempt has been made to configure this class, i.e.
void save(std::ostream &stream)
Saves the result to the given stream.
Represents a setting in the configuration.
static bool isValidConfiguration(const Configuration::Setting &group)
Returns whether the given configuration group is a valid configuration.