1#ifndef RPC_STEP_LOGGER_H
2#define RPC_STEP_LOGGER_H
55 virtual void sample(
long iStep);
62 #ifndef RPC_STEP_LOGGER_TPP
64 extern template class StepLogger<1>;
65 extern template class StepLogger<2>;
66 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 void sample(long iStep)
Write a frame/snapshot to trajectory file.
virtual ~StepLogger()
Destructor.
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.