hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2// Copyright (c) 2026, Liam Pohlmann
3
4#ifndef HUMMINGBIRD_UTILS_CONSTANTS_H_
5#define HUMMINGBIRD_UTILS_CONSTANTS_H_
6
7namespace hummingbird {
8
9/// @brief General tolerance value for double comparisons
10constexpr double TOLERANCE = 1e-15;
11
12/// @brief Tolerance value for EXPECT_NEAR in tests
13constexpr double EXP_NEAR_TOLERANCE = 1e-14;
14
15} // namespace hummingbird
16
17#endif // HUMMINGBIRD_UTILS_CONSTANTS_H_
constexpr double EXP_NEAR_TOLERANCE
Tolerance value for EXPECT_NEAR in tests.
Definition constants.h:13
constexpr double TOLERANCE
General tolerance value for double comparisons.
Definition constants.h:10