![]() |
QMCPACK
|
Classes | |
class | ReferencePointsInputSection |
Public Types | |
enum | Coord { CELL, CARTESIAN } |
using | Real = double |
using | Consumer = SpaceGrid |
using | Point = TinyVector< Real, OHMMS_DIM > |
using | Points = std::map< std::string, Point > |
Public Member Functions | |
ReferencePointsInput ()=default | |
Unlike many input classes ReferencePointInputs needs a way to be constructured even if there is no input node. More... | |
ReferencePointsInput (xmlNodePtr cur) | |
ReferencePointsInput (const ReferencePointsInput &rpi)=default | |
Coord | get_coord_form () const |
const Points & | get_points () const |
Static Public Attributes | |
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 string values translation to native C++ scoped enums. More... | |
Private Member Functions | |
void | readRefPointsXML (xmlNodePtr cur) |
Private Attributes | |
Coord | coord_form_ = Coord::CELL |
Points | points_ |
ReferencePointsInputSection | input_section_ |
Static Private Attributes | |
static constexpr std::string_view | error_tag {"ReferencePointsInput input: "} |
Definition at line 34 of file ReferencePointsInput.h.
Definition at line 38 of file ReferencePointsInput.h.
using Point = TinyVector<Real, OHMMS_DIM> |
Definition at line 39 of file ReferencePointsInput.h.
Definition at line 40 of file ReferencePointsInput.h.
using Real = double |
Definition at line 37 of file ReferencePointsInput.h.
|
strong |
Enumerator | |
---|---|
CELL | |
CARTESIAN |
Definition at line 41 of file ReferencePointsInput.h.
|
default |
Unlike many input classes ReferencePointInputs needs a way to be constructured even if there is no input node.
The ReferencePoints for a space grid are assumed to just be a default ReferencePoints with the same CoordType.
ReferencePointsInput | ( | xmlNodePtr | cur | ) |
Definition at line 26 of file ReferencePointsInput.cpp.
References ReferencePointsInput::coord_form_, ReferencePointsInput::input_section_, LAMBDA_setIfInInput, ReferencePointsInput::readRefPointsXML(), and InputSection::readXML().
|
default |
|
inline |
Definition at line 86 of file ReferencePointsInput.h.
References ReferencePointsInput::coord_form_.
Referenced by NEReferencePoints::NEReferencePoints().
|
inline |
Definition at line 87 of file ReferencePointsInput.h.
References ReferencePointsInput::points_.
Referenced by NEReferencePoints::NEReferencePoints().
|
private |
Definition at line 38 of file ReferencePointsInput.cpp.
References error(), ReferencePointsInput::error_tag, OHMMS_DIM, ReferencePointsInput::points_, qmcplusplus::modernstrutil::split(), qmcplusplus::split(), qmcplusplus::strip(), and qmcplusplus::modernstrutil::strip().
Referenced by ReferencePointsInput::ReferencePointsInput().
|
private |
Definition at line 92 of file ReferencePointsInput.h.
Referenced by ReferencePointsInput::get_coord_form(), and ReferencePointsInput::ReferencePointsInput().
|
staticprivate |
Definition at line 95 of file ReferencePointsInput.h.
Referenced by ReferencePointsInput::readRefPointsXML().
|
private |
Definition at line 94 of file ReferencePointsInput.h.
Referenced by ReferencePointsInput::ReferencePointsInput().
|
inlinestatic |
mapping for enumerated options of ReferencePointsInput This data object is the basis of input enum string values translation to native C++ scoped enums.
This boiler plate is generated by utils/code_tools/qmcpack-elisp-generators.el qmcp-add-enum-string-map
This plus the virtual assignAnyEnum method are needed by InputSection to validate and assign enum values from input.
In testing code we assume this map is bidirectional.
Definition at line 58 of file ReferencePointsInput.h.
Referenced by ReferencePointsInput::ReferencePointsInputSection::assignAnyEnum().
|
private |
Definition at line 93 of file ReferencePointsInput.h.
Referenced by ReferencePointsInput::get_points(), and ReferencePointsInput::readRefPointsXML().