1#ifndef RP_STEP_LOGGER_TPP
2#define RP_STEP_LOGGER_TPP
11#include <util/format/Int.h>
12#include <util/misc/Log.h>
22 template <
int D,
class T>
24 typename T::System& system)
25 : AnalyzerT(simulator, system)
31 template <
int D,
class T>
33 { AnalyzerT::readInterval(in); }
38 template <
int D,
class T>
41 if (AnalyzerT::isAtInterval(iStep)) {
void readParameters(std::istream &in) override
Read interval.
void sample(long iStep) override
Write the step index to a log file.
StepLogger(typename T::Simulator &simulator, typename T::System &system)
Constructor.
Wrapper for an int, for formatted ostream output.
static std::ostream & file()
Get log ostream by reference.
void setClassName(const char *className)
Set class name string.
Class templates for real-valued periodic fields.
PSCF package top-level namespace.