ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Record values of an observable. More...
#include <TimeSeries.hpp>
Public Member Functions | |
TimeSeries (::System::System const *system, int delta_N, std::shared_ptr< Observables::Observable > obs) | |
void | update (boost::mpi::communicator const &comm) override |
std::string | get_internal_state () const final |
void | set_internal_state (std::string const &) final |
const std::vector< std::vector< double > > & | time_series () const |
std::vector< std::size_t > | shape () const override |
void | clear () |
Public Member Functions inherited from Accumulators::AccumulatorBase | |
AccumulatorBase (::System::System const *system, int delta_N) | |
virtual | ~AccumulatorBase ()=default |
int & | delta_N () |
bool | has_same_system_handle (::System::System const *system) const |
void | override_system_handle (::System::System const *system) |
Additional Inherited Members | |
Protected Attributes inherited from Accumulators::AccumulatorBase | |
void const * | m_system |
for bookkeeping purposes | |
Record values of an observable.
This is a very simple accumulator that stores the current value of an observable every time it is updated.
Definition at line 41 of file core/accumulators/TimeSeries.hpp.
|
inline |
Definition at line 43 of file core/accumulators/TimeSeries.hpp.
|
inline |
Definition at line 58 of file core/accumulators/TimeSeries.hpp.
|
finalvirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 39 of file TimeSeries.cpp.
|
finalvirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 48 of file TimeSeries.cpp.
References Accumulators::AccumulatorBase::m_system.
|
inlineoverridevirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 52 of file core/accumulators/TimeSeries.hpp.
References shape().
Referenced by shape().
|
inline |
Definition at line 51 of file core/accumulators/TimeSeries.hpp.
|
overridevirtual |
Implements Accumulators::AccumulatorBase.
Definition at line 31 of file TimeSeries.cpp.