QMCPACK
InvalidMagnetizationDensityInput.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: Raymond Clay, rclay@sandia.gov, Sandia National Laboratories
8 //
9 // File created by: Raymond Clay, rclay@sandia.gov, Sandia National Laboratories
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef QMCPLUSPLUS_INVALID_MAGNETIZATIONDENSITY_INPUT_H
13 #define QMCPLUSPLUS_INVALID_MAGNETIZATIONDENSITY_INPUT_H
14 
15 #include <array>
16 #include <string_view>
17 
18 namespace qmcplusplus
19 {
20 namespace testing
21 {
22 // clang-format: off
23 constexpr std::array<std::string_view, 3> invalid_mag_density_input_sections{
24  R"XML(
25 <estimator type="MagnetizationDensity" name="magdensity">
26  <parameter name="integrator" > tacocat </parameter>
27  <parameter name="samples" > 64 </parameter>
28  <parameter name="center" > 0.0 0.0 0.1 </parameter>
29  <parameter name="grid" > 4 4 4 </parameter>
30 </estimator>
31 )XML",
32  R"XML(
33 <estimator type="MagnetizationDensity" name="magdensity">
34  <parameter name="center" > 0.0 1.0 0.0 </parameter>
35  <parameter name="corner" > 0.0 0.1 0.0 </parameter>
36  <parameter name="samples" > 128 </parameter>
37  <parameter name="dr" > 0.1 0.1 0.1 </parameter>
38 </estimator>
39 )XML",
40  R"XML(
41 <estimator type="MagnetizationDensity" name="magdensity">
42  <parameter name="grid" > 0.9 1 5 </parameter>
43 </estimator>
44 )XML"
45  // clang-format: on
46 };
47 
51 } // namespace testing
52 } // namespace qmcplusplus
53 
54 #endif
constexpr int invalid_magnetization_density_cornercenter
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
constexpr int invalid_magnetization_density_integrator
constexpr std::array< std::string_view, 3 > invalid_mag_density_input_sections