1#ifndef RPC_ANALYZER_TPP
2#define RPC_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_;
ScalarParam< Type > & read(std::istream &in, const char *label, Type &value)
Add and read a new required ScalarParam < Type > object.
static void initStatic()
Define and initialize baseInterval.
virtual void readParameters(std::istream &in)
Read parameters from archive.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
static long baseInterval
The interval for an Analyzer must be a multiple of baseInterval.
void setFileMaster(FileMaster &fileMaster)
Set the FileMaster to use to open files.
void readInterval(std::istream &in)
Optionally read interval from file, with error checking.
const std::string & outputFileName() const
Return outputFileName string.
FileMaster & fileMaster()
Get the FileMaster by reference.
virtual ~Analyzer()
Destructor.
void readOutputFileName(std::istream &in)
Read outputFileName from file.
Analyzer()
Default constructor.
A FileMaster manages input and output files for a simulation.
ParamComposite()
Constructor.
File containing preprocessor macros for error handling.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
Real periodic fields, SCFT and PS-FTS (CPU).
PSCF package top-level namespace.