QMCPACK
ValidReferencePointsInput.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2023 QMCPACK developers.
6 //
7 // File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Lab
8 //
9 // File created by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Lab
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef QMCPLUSPLUS_VALID_REFERENCEPOINTS_INPUT_H
13 #define QMCPLUSPLUS_VALID_REFERENCEPOINTS_INPUT_H
14 
15 #include <array>
16 #include <string_view>
17 
18 namespace qmcplusplus
19 {
20 namespace testing
21 {
22 
24 {
25  static constexpr std::array<std::string_view, 2> xml{
26  R"XML(
27  <reference_points coord="cell">
28  r1 1 0 0
29  r2 0 1 0
30  r3 0 0 1
31  </reference_points>
32 )XML",
33  R"XML(
34  <reference_points coord="cartesian">
35  r1 1 0 0
36  r2 0 1 0
37  r3 0 0 1
38  </reference_points>
39 )XML"};
40 
41  enum valid
42  {
43  CELL = 0,
45  };
46 };
47 
49 {
50  static constexpr std::array<std::string_view, 2> xml{
51  R"XML(
52  <reference_points coord="cell">
53  r1 1 0 0
54  r2 0 1
55  r3 0 0 1
56  </reference_points>
57 )XML",
58  R"XML(
59  <reference_points coord="cartesian">
60  r1 1 0 0
61  r2 0 1 ab
62  </reference_points>
63 )XML"};
64  enum invalid
65  {
66  PARAM = 0,
68  };
69 };
70 
71 } // namespace testing
72 } // namespace qmcplusplus
73 
74 #endif
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
static constexpr std::array< std::string_view, 2 > xml
static constexpr std::array< std::string_view, 2 > xml