19#ifndef SERPENTRESULTOUTPUTREADER_HXX
20#define SERPENTRESULTOUTPUTREADER_HXX
29#include "libValErr/ValErr.hxx"
57 void Clear()
override;
58 string Print()
override;
60 void Read(
const vector < string > &fileNames);
61 void Read(
const string &fileName)
override;
64 typedef vector < double >
Row;
65 typedef vector < pair < string, Row *> >
Table;
Definition SerpentOutputReader.hxx:72
Definition SerpentResultOutputReader.hxx:52
ValErr_t GetKeff() const
calculates and returns keff
Definition SerpentResultOutputReader.cxx:109
Row * GetRow(stringstream &stream) const
gets data row
Definition SerpentResultOutputReader.cxx:60
static const unsigned VALUE_INDEX
Definition SerpentResultOutputReader.hxx:67
void Read(const vector< string > &fileNames)
read multiple files (for multi-run)
Definition SerpentResultOutputReader.cxx:210
ResultOutputReader()
constructor
Definition SerpentResultOutputReader.cxx:31
void ParseLine(const string &line)
parses line
Definition SerpentResultOutputReader.cxx:81
ResultOutputReader * GetNewInstance() override
creates new instance (for multi-run)
Definition SerpentResultOutputReader.cxx:154
Table * GetMultiRunData(const vector< Table * > &dataVector)
calculates equivalent table for multi run
Definition SerpentResultOutputReader.cxx:166
vector< pair< string, Row * > > Table
Definition SerpentResultOutputReader.hxx:65
vector< double > Row
Definition SerpentResultOutputReader.hxx:64
void Clear() override
clears data
Definition SerpentResultOutputReader.cxx:52
static const char COMMENT_SIGN
Definition SerpentResultOutputReader.hxx:66
void ParseBlock(const string &block) override
parses block
Definition SerpentResultOutputReader.cxx:96
~ResultOutputReader() override
destructor
Definition SerpentResultOutputReader.cxx:41
static const unsigned STD_INDEX
Definition SerpentResultOutputReader.hxx:68
string Print() override
Printing method used when multi-run data is merged into one file.
Definition SerpentResultOutputReader.cxx:130
Table * GetData()
returns all data - for copy
Definition SerpentResultOutputReader.cxx:160
Table * fData
Definition SerpentResultOutputReader.hxx:69
the namespace use to couple MURE and Serpent