1#ifndef RP_ANALYZER_MANAGER_TPP
2#define RP_ANALYZER_MANAGER_TPP
4#include <rp/fts/analyzer/AnalyzerManager.h>
5#include <rp/fts/analyzer/AnalyzerFactory.h>
7#include <util/param/Factory.h>
8#include <util/param/ParamComposite.h>
18 template <
int D,
class T>
22 simulatorPtr_(&simulator),
29 template <
int D,
class T>
37 template <
int D,
class T>
49 template <
int D,
class T>
60 template <
int D,
class T>
67 (*this)[i].sample(iStep);
74 template <
int D,
class T>
AnalyzerFactory(Simulator< D, T > &simulator, System< D, T > &system)
Constructor.
void sample(long iStep)
Call the sample function of each Analyzer.
AnalyzerManager(Simulator< D, T > &simulator, System< D, T > &system)
Constructor.
void readParameters(std::istream &in) override
Read body of parameter file block.
void setup()
Call the setup function of each Analyzer.
void output()
Call the output function of each analyzer.
static long baseInterval
The interval for every Analyzer must be a multiple of baseInterval.
Base class for field theoretic PS-FTS simulator.
Base class template for classes that represent a complete system.
virtual Factory< Analyzer< D, T > > * newDefaultFactory() const
virtual void readParameters(std::istream &in)
void setClassName(const char *className)
Set class name string.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
Code for programs that simulate real-valued periodic fields.
PSCF package top-level namespace.