1#ifndef RPG_ANALYZER_TPP
2#define RPG_ANALYZER_TPP
5#include <util/misc/FileMaster.h>
6#include <util/archives/Serializable_includes.h>
73 UTIL_THROW(
"interval is not a multiple of baseInterval");
94 assert(fileMasterPtr_);
95 return (*fileMasterPtr_);
105 std::string filename = outputFileName_;
virtual void readParameters(std::istream &in)
Read parameters from archive.
static long baseInterval
The interval for every Analyzer must be a multiple of baseInterval.
virtual ~Analyzer()
Destructor.
const std::string & outputFileName() const
Return outputFileName string.
Analyzer()
Default constructor.
void setFileMaster(FileMaster &fileMaster)
Set the FileMaster to use to open files.
static void initStatic()
Define and initialize baseInterval.
FileMaster & fileMaster()
Get the FileMaster by reference.
void readOutputFileName(std::istream &in)
Read outputFileName from file.
void readInterval(std::istream &in)
Read interval from file, with error checking.
A FileMaster manages input and output files for a simulation.
ScalarParam< Type > & read(std::istream &in, const char *label, Type &value)
Add and read a new required ScalarParam < Type > object.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
ParamComposite()
Constructor.
File containing preprocessor macros for error handling.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.