17 #ifndef QMCPLUSPLUS_PROJECTDATA_H__ 18 #define QMCPLUSPLUS_PROJECTDATA_H__ 20 #include <unordered_map> 63 bool get(std::ostream& os)
const;
64 bool put(std::istream& is);
65 bool put(xmlNodePtr cur);
81 const std::string&
getTitle() const noexcept;
const std::string & getTitle() const noexcept
returns the title of the project <project id="det_qmc_short_sdbatch_vmcbatch_mwalkers" series="0"> tr...
bool previousRoot(std::string &oldroot) const
return the root of the previous sequence
DriverVersion driver_version_
helper functions for EinsplineSetBuilder
void setCommunicator(Communicate *c)
ProjectData(const std::string &atitle="", DriverVersion de=DriverVersion::LEGACY)
constructor
bool isComplex() const noexcept
void advance()
increment a series number and reset project_root_
static const std::unordered_map< std::string, DriverVersion > lookup_input_enum_value
A collection of put/get functions to read from or write to a xmlNode defined in libxml2.
const std::string & nextRoot() const noexcept
returns the nextroot of the project, the series id is incremented at every QMC section <project id="d...
const RuntimeOptions & getRuntimeOptions() const noexcept
std::string next_root_
root for the next run
Communicate * my_comm_
communicator
Wrapping information on parallelism.
std::string date_
date when the job is executed
int getMaxCPUSeconds() const noexcept
DriverVersion getDriverVersion() const noexcept
bool put(std::istream &is)
std::string project_main_
main root for all the output engines
DriverVersion
Enum for global scope switch of design from legacy driver based to batch driver based.
std::string project_root_
processor-dependent root for all the output engines
int max_cpu_secs_
max cpu seconds
xmlNodePtr cur_
the xml node for <Project>
const std::string & currentMainRoot() const noexcept
returns the projectmain of the project, the series id is incremented at every QMC section <project id...
void rewind()
roll-back a series number and reset project_root_ by one
int getSeriesIndex() const noexcept
std::string host_
name of the host where the job is running
static DriverVersion lookupDriverVersion(const std::string &enum_value)
RuntimeOptions runtime_options_
std::string title_
title of the project
void reset()
Construct the root name with title_ and m_series.