Go to the documentation of this file.
12 #include <boost/property_tree/ptree.hpp>
61 void _validateProperties(
const boost::property_tree::ptree &tree,
const std::string &node,
const std::set<std::string> &requiredChildren,
const std::set<std::string> &requiredAttributes,
const std::set<std::string> &optionalChildren = {},
const std::set<std::string> &optionalAttributes = {})
const;
71 void _validateRequiredChildren(
const boost::property_tree::ptree &tree,
const std::string &node,
const std::set<std::string> &requiredChildren,
const std::string &treePath =
"")
const;
81 void _validateRequiredAttributes(
const boost::property_tree::ptree &tree,
const std::string &node,
const std::set<std::string> &requiredAttributes,
const std::string &treePath =
"")
const;
91 void _validateOptionalChildren(
const boost::property_tree::ptree &tree,
const std::string &node,
const std::set<std::string> &optionalChildren,
const std::string &treePath =
"")
const;
101 void _validateOptionalAttributes(
const boost::property_tree::ptree &tree,
const std::string &node,
const std::set<std::string> &optionalAttributes,
const std::string &treePath =
"")
const;
void _validateOptionalAttributes(const boost::property_tree::ptree &tree, const std::string &node, const std::set< std::string > &optionalAttributes, const std::string &treePath="") const
Ensure that a given property tree contains a specific node and test that the node contains only attri...
Definition: TaskFileParser.cpp:415
void _validateProperties(const boost::property_tree::ptree &tree, const std::string &node, const std::set< std::string > &requiredChildren, const std::set< std::string > &requiredAttributes, const std::set< std::string > &optionalChildren={}, const std::set< std::string > &optionalAttributes={}) const
Ensure that a given property tree contains a specific node with only known required or optional eleme...
Definition: TaskFileParser.cpp:376
Virtual implementation of a pf-FRG numerics core.
Definition: FrgCore.hpp:29
TaskFileParser(const std::string &taskFilePath, FrequencyDiscretization *&frequency, CutoffDiscretization *&cutoff, Lattice *&lattice, FrgCore *&frgCore, ComputationStatus &computationStatus)
Construct a new TaskFileParser object and parse the specified task file.
Definition: TaskFileParser.cpp:21
Computation status descriptor.
Definition: SpinParser.hpp:23
void _validateRequiredChildren(const boost::property_tree::ptree &tree, const std::string &node, const std::set< std::string > &requiredChildren, const std::string &treePath="") const
Ensure that a given property tree contains a specific node and test that the node contains a list of ...
Definition: TaskFileParser.cpp:389
void _validateRequiredAttributes(const boost::property_tree::ptree &tree, const std::string &node, const std::set< std::string > &requiredAttributes, const std::string &treePath="") const
Ensure that a given property tree contains a specific node and test that the node contains a list of ...
Definition: TaskFileParser.cpp:397
void writeTaskFile(const ComputationStatus &computationStatus)
Write calculation status to the task file.
Definition: TaskFileParser.cpp:349
void _validateOptionalChildren(const boost::property_tree::ptree &tree, const std::string &node, const std::set< std::string > &optionalChildren, const std::string &treePath="") const
Ensure that a given property tree contains a specific node and test that the node contains only child...
Definition: TaskFileParser.cpp:405
Representation of a physical lattice, with symmetry information on two-point correlators.
Definition: Lattice.hpp:297
Representation of frequency axis cutoff discretization.
Definition: CutoffDiscretization.hpp:78
Task file parser routine. The object is bound to a single task file, which it initially reads and par...
Definition: TaskFileParser.hpp:23
boost::property_tree::ptree _taskFile
Internal property tree representation of the parsed task file.
Definition: TaskFileParser.hpp:103
Discretization of Matsubara frequency space.
Definition: FrequencyDiscretization.hpp:164