1#ifndef RPG_ANALYZER_MANAGER_TPP
2#define RPG_ANALYZER_MANAGER_TPP
4#include "AnalyzerManager.h"
6#include "AnalyzerFactory.h"
7#include <util/archives/Serializable_includes.h>
22 simulatorPtr_(&simulator),
60 for (
int i = 0; i < size(); ++i) {
73 for (
int i = 0; i < size(); ++i) {
74 (*this)[i].sample(iStep);
84 for (
int i = 0; i < size(); ++i) {
105 ar << Analyzer<D>::baseInterval;
Factory for subclasses of Analyzer.
Manager for a list of Analyzer objects.
virtual void readParameters(std::istream &in)
Read parameter file.
void setClassName(const char *className)
Set class name string.
AnalyzerManager(Simulator< D > &simulator, System< D > &system)
Constructor.
void output()
Call output method of each analyzer.
void sample(long iStep)
Call sample method of each Analyzer.
void setup()
Call initialize method of each Analyzer.
virtual ~AnalyzerManager()
Destructor.
Abstract base for periodic output and/or analysis actions.
Field theoretic simulator (base class).
Main class for calculations that represent one system.
Loading (input) archive for binary istream.
Saving / output archive for binary ostream.
Template container for pointers to objects with a common base class.
virtual void loadParameters(Serializable::IArchive &ar)
Load state from archive, without adding Begin and End lines.
virtual void save(OArchive &ar)=0
Save to an archive.
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
PSCF package top-level namespace.
Utility classes for scientific computation.