OpenMPCD
|
Base class for MPC fluids instrumentation. More...
#include <Base.hpp>
Public Member Functions | |
virtual | ~Base () |
The destructor. More... | |
void | measure () |
Performs measurements. More... | |
void | save (const std::string &rundir) const |
Saves the data to the given run directory. More... | |
const LogicalEntityMeanSquareDisplacement * | getLogicalEntityMeanSquareDisplacement () const |
Returns the LogicalEntityMeanSquareDisplacement instance, or nullptr if none was configured. More... | |
const NormalModeAutocorrelation * | getNormalModeAutocorrelation () const |
Returns the NormalModeAutocorrelation instance, or nullptr if none was configured. More... | |
Protected Member Functions | |
Base (const Configuration &config, const CUDA::MPCFluid::Base *const mpcFluid) | |
The constructor. More... | |
virtual void | measureSpecific ()=0 |
Performs measurements specific to the fluid type. More... | |
virtual void | saveSpecific (const std::string &rundir) const =0 |
Saves measurements specific to the fluid type. More... | |
Protected Attributes | |
FourierTransformedVelocity::Base * | fourierTransformedVelocity |
Measures Fourier-transformed velocities. More... | |
LogicalEntityMeanSquareDisplacement * | logicalEntityMeanSquareDisplacement |
Measures the mean square displacement of the centers of mass of the logical entities of the fluid. More... | |
NormalModeAutocorrelation * | normalModeAutocorrelation |
Measures the autocorrelation of normal mode coordinates. More... | |
VelocityAutocorrelation::Base * | velocityAutocorrelation |
Measures velocity autocorrelation. More... | |
Base class for MPC fluids instrumentation.
Definition at line 34 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
inlineprotected |
The constructor.
[in] | config | The simulation configuration. |
[in] | mpcFluid | The fluid to measure. |
Definition at line 46 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
inlinevirtual |
The destructor.
Definition at line 74 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
inline |
Returns the LogicalEntityMeanSquareDisplacement
instance, or nullptr
if none was configured.
Definition at line 129 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
inline |
Returns the NormalModeAutocorrelation
instance, or nullptr
if none was configured.
Definition at line 139 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
inline |
Performs measurements.
Definition at line 86 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
protectedpure virtual |
Performs measurements specific to the fluid type.
Implemented in OpenMPCD::CUDA::MPCFluid::Instrumentation::GaussianChains, OpenMPCD::CUDA::MPCFluid::Instrumentation::HarmonicTrimers, OpenMPCD::CUDA::MPCFluid::Instrumentation::GaussianDumbbells, OpenMPCD::CUDA::MPCFluid::Instrumentation::GaussianRods, and OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple.
|
inline |
Saves the data to the given run directory.
[in] | rundir | The path to the run directory. |
Definition at line 107 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
protectedpure virtual |
Saves measurements specific to the fluid type.
[in] | rundir | The path to the run directory. |
Implemented in OpenMPCD::CUDA::MPCFluid::Instrumentation::GaussianChains, OpenMPCD::CUDA::MPCFluid::Instrumentation::HarmonicTrimers, OpenMPCD::CUDA::MPCFluid::Instrumentation::GaussianDumbbells, OpenMPCD::CUDA::MPCFluid::Instrumentation::GaussianRods, and OpenMPCD::CUDA::MPCFluid::Instrumentation::Simple.
|
protected |
Measures Fourier-transformed velocities.
Definition at line 160 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
protected |
Measures the mean square displacement of the centers of mass of the logical entities of the fluid.
Definition at line 163 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
protected |
Measures the autocorrelation of normal mode coordinates.
Definition at line 167 of file CUDA/MPCFluid/Instrumentation/Base.hpp.
|
protected |
Measures velocity autocorrelation.
Definition at line 169 of file CUDA/MPCFluid/Instrumentation/Base.hpp.