12 #ifndef QMCPLUSPLUS_REFERNCE_POINTS_INPUT_H 13 #define QMCPLUSPLUS_REFERNCE_POINTS_INPUT_H 17 #include <string_view> 40 using Points = std::map<std::string, Point>;
73 std::any
assignAnyEnum(
const std::string& name)
const override;
95 static constexpr std::string_view
error_tag{
"ReferencePointsInput input: "};
104 const std::string& tag);
std::any assignAnyEnum(const std::string &name) const override
Derived class overrides this to get proper assignment of scoped enum values.
helper functions for EinsplineSetBuilder
std::any makeReferencePointsInput(xmlNodePtr cur, std::string &value_label)
factory function used by InputSection to make reference points Input
void readRefPointsXML(xmlNodePtr cur)
static constexpr std::string_view error_tag
std::unordered_set< std::string > attributes
ReferencePointsInput()=default
Unlike many input classes ReferencePointInputs needs a way to be constructured even if there is no in...
Coord get_coord_form() const
const Points & get_points() const
static const std::unordered_map< std::string, std::any > lookup_input_enum_value
mapping for enumerated options of ReferencePointsInput This data object is the basis of input enum st...
std::unordered_set< std::string > required
std::map< std::string, Point > Points
ReferencePointsInputSection input_section_
Input section provides basic parsing and a uniform method of access to the raw parsed input...
std::string section_name
"Name" of the input section, you must define this in the subtype and the ename, name, type, or method must match.
ReferencePointsInputSection()
std::unordered_set< std::string > enums
list of enum inputs which allow a finite set of strings to map to enum values The enum class types an...