36 if (atype.empty() && !aname.empty())
38 if (aname.empty() && !atype.empty())
40 if (atype ==
"localenergy" || atype ==
"elocal")
45 else if (atype ==
"cslocalenergy")
50 else if (atype ==
"rmc")
57 FAIL(
"Unhandled scalar estimator " << atype);
class that handles xmlDoc
This file contains the input classes for the supported "main estimator" classes derived from ScalarEs...
const std::string & get_type() const
helper functions for EinsplineSetBuilder
if(!okay) throw std xmlNodePtr node
TEST_CASE("complex_helper", "[type_traits]")
const std::string & get_type() const
const std::string & get_type() const
static constexpr std::array< std::string_view, 3 > xml
REQUIRE(std::filesystem::exists(filename))
std::string lowerCase(const std::string_view s)
++17
std::string getXMLAttributeValue(const xmlNodePtr cur, const std::string_view name)
get the value string for attribute name if name is unfound in cur you get an empty string back this i...
bool parseFromString(const std::string_view data)
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))