24#ifndef HEMOCELL_CONFIG_H
25#define HEMOCELL_CONFIG_H
29#include "external/tinyxml2/tinyxml2.h"
38 tinyxml2::XMLElement *
orig;
45 std::stringstream value(
orig->GetText());
48 std::cout <<
"Cannot convert value from XML element" << std::endl;
59 tinyxml2::XMLDocument *
orig;
63 Config(std::string paramXmlFilename);
66 void reload(std::string paramXmlFilename);
70 tinyxml2::XMLNode*
ShallowClone(tinyxml2::XMLDocument* document)
const;
72 bool Accept( tinyxml2::XMLVisitor* visitor )
const;
74 void load(std::string paramXmlFilename);
bool Accept(tinyxml2::XMLVisitor *visitor) const
void load(std::string paramXmlFilename)
Definition config.cpp:45
tinyxml2::XMLDocument * orig
Definition config.h:59
bool ShallowEqual(const tinyxml2::XMLNode *compare) const
void reload(std::string paramXmlFilename)
Definition config.cpp:40
bool checkpointed
Definition config.h:61
~Config()
Definition config.cpp:61
tinyxml2::XMLNode * ShallowClone(tinyxml2::XMLDocument *document) const
hemo::XMLElement operator[](std::string name) const
Definition config.cpp:70
T read()
Definition config.h:44
XMLElement(tinyxml2::XMLElement *orig_)
Definition config.h:40
tinyxml2::XMLElement * orig
Definition config.h:38
tinyxml2::XMLElement * getOrig()
Definition config.h:53
XMLElement operator[](std::string name) const
Definition config.cpp:80
double T
Definition constant_defaults.h:118
ConfigValues global
Definition config.cpp:176
void loadDirectories(hemo::Config *cfg, bool edit_out_dir)
Definition config.cpp:89
void loadGlobalConfigValues(hemo::Config *cfg)
Definition config.cpp:178
bool cellsDeletedInfo
Definition config.h:81
bool enableSolidifyMechanics
Definition config.h:85
std::string checkpointDirectory
Definition config.h:89
Profiler statistics
Definition config.h:91
bool hemoCellInitialized
Definition config.h:80
bool enableInteriorViscosity
Definition config.h:87
bool enableCEPACfield
Definition config.h:83