PRISMS-PF Manual v3.0-pre
All Classes Functions Variables Enumerations Pages
types.h
1// SPDX-FileCopyrightText: © 2025 PRISMS Center at the University of Michigan
2// SPDX-License-Identifier: GNU Lesser General Public Version 2.1
3
4#ifndef types_h
5#define types_h
6
7#include <prismspf/config.h>
8
9PRISMS_PF_BEGIN_NAMESPACE
10
11namespace types
12{
16 using index = unsigned int;
17
18} // namespace types
19
20namespace numbers
21{
25 static const types::index invalid_index = static_cast<types::index>(-1);
26
27} // namespace numbers
28
29namespace defaults
30{
34 static const types::index index = 0;
35
39 static const double tolerance = 1.0e-6;
40
44 static const unsigned int iterations = 100;
45
46} // namespace defaults
47
48PRISMS_PF_END_NAMESPACE
49
50#endif