forked from QMCPACK/qmcpack
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathValidWalkerLogInput.h
More file actions
38 lines (32 loc) · 997 Bytes
/
ValidWalkerLogInput.h
File metadata and controls
38 lines (32 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2025 QMCPACK developers.
//
// File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
//////////////////////////////////////////////////////////////////////////////////////
#ifndef QMCPLUSPLUS_VALIDWALKERLOGINPUT_H
#define QMCPLUSPLUS_VALIDWALKERLOGINPUT_H
#include <array>
#include <string_view>
namespace qmcplusplus::testing
{
class WalkerLogInputSections
{
public:
enum class valid
{
DEFAULT = 0
};
static std::string_view getXml(valid val) { return xml[static_cast<std::size_t>(val)]; }
auto begin() { return xml.begin(); }
auto end() { return xml.end(); }
private:
static constexpr std::array<std::string_view, 1> xml{
R"XML(
<walkerlogs/>
)XML"};
};
} // namespace qmcplusplus::testing
#endif