1#ifndef RPG_STEP_LOGGER_H
2#define RPG_STEP_LOGGER_H
53 virtual void sample(
long iStep);
60 #ifndef RPG_STEP_LOGGER_TPP
62 extern template class StepLogger<1>;
63 extern template class StepLogger<2>;
64 extern template class StepLogger<3>;
Abstract base for periodic output and/or analysis actions.
bool isAtInterval(long counter) const
Return true iff counter is a multiple of the interval.
Periodically write snapshots to a trajectory file.
virtual void readParameters(std::istream &in)
Read interval and output file name.
virtual ~StepLogger()
Destructor.
virtual void sample(long iStep)
Write a frame/snapshot to trajectory file.
void setClassName(const char *className)
Set class name string.
File containing preprocessor macros for error handling.
PSCF package top-level namespace.
Utility classes for scientific computation.