Go to the documentation of this file.
6 #ifndef OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_BASE_HPP
7 #define OPENMPCD_CUDA_MPCFLUID_INSTRUMENTATION_BASE_HPP
107 void save(
const std::string& rundir)
const
154 virtual void saveSpecific(
const std::string& rundir)
const = 0;
Base class for MPC fluids.
Represents the configuration of the simulation.
void measure()
Performs measurements.
void measure()
Takes measurement data.
void save(const std::string &rundir) const
Saves the data to the given run directory.
Measures the autocorrelation of normal coordinates in linear polymers.
FourierTransformedVelocity::Base * fourierTransformedVelocity
Measures Fourier-transformed velocities.
static bool isConfigured(const Configuration &config)
Returns whether the an attempt has been made to configure this class, i.e.
void save(const std::string &rundir) const
Saves the data to the given run directory.
void measure()
Takes measurement data.
const LogicalEntityMeanSquareDisplacement * getLogicalEntityMeanSquareDisplacement() const
Returns the LogicalEntityMeanSquareDisplacement instance, or nullptr if none was configured.
static bool isConfigured(const Configuration &config)
Returns whether the an attempt has been made to configure this class, i.e.
LogicalEntityMeanSquareDisplacement * logicalEntityMeanSquareDisplacement
Measures the mean square displacement of the centers of mass of the logical entities of the fluid.
void measure()
Performs measurements.
virtual void measureSpecific()=0
Performs measurements specific to the fluid type.
Class doing measurements in a CUDA simulation.
NormalModeAutocorrelation * normalModeAutocorrelation
Measures the autocorrelation of normal mode coordinates.
Base class for MPC fluids instrumentation.
void save(std::ostream &stream)
Saves the result to the given stream.
Base(const Configuration &config, const CUDA::MPCFluid::Base *const mpcFluid)
The constructor.
Base class for measurements of velocity autocorrelation in MPC fluids.
virtual void saveSpecific(const std::string &rundir) const =0
Saves measurements specific to the fluid type.
virtual ~Base()
The destructor.
Measures the mean square displacement of logical entities in an MPC fluid.
void save(std::ostream &stream)
Saves the result to the given stream.
const NormalModeAutocorrelation * getNormalModeAutocorrelation() const
Returns the NormalModeAutocorrelation instance, or nullptr if none was configured.
VelocityAutocorrelation::Base * velocityAutocorrelation
Measures velocity autocorrelation.