#include "waLBerlaDefinitions.h"
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <stdexcept>
#include <type_traits>
|
template<typename T > |
bool | walberla::isIdentical (const T a, const T b) |
| If you want to compare two reals using operator == and you really know what you are doing, you can use the following function: More...
|
|
template<typename S , typename T > |
S | walberla::numeric_cast (T t) |
|
template<typename INT > |
void | walberla::static_assert_int_t () |
|
template<typename UINT > |
void | walberla::static_assert_uint_t () |
|
constexpr real_t | walberla::operator""_r (long double t) |
|
constexpr real_t | walberla::operator""_r (unsigned long long int t) |
|
bool | walberla::realIsIdentical (const real_t a, const real_t b) |
|
bool | walberla::realIsEqual (const real_t a, const real_t b, const real_t eps=real_comparison::Epsilon< real_t >::value) |
|
bool | walberla::floatIsEqual (long double lhs, long double rhs, const long double epsilon=real_comparison::Epsilon< long double >::value) |
|
bool | walberla::floatIsEqual (double lhs, double rhs, const double epsilon=real_comparison::Epsilon< double >::value) |
|
bool | walberla::floatIsEqual (float lhs, float rhs, const float epsilon=real_comparison::Epsilon< float >::value) |
|
◆ WALBERLA_STATIC_ASSERT
#define WALBERLA_STATIC_ASSERT |
( |
|
x | ) |
static_assert(x, "Assertion failed") |
◆ WALBERLA_UNUSED
#define WALBERLA_UNUSED |
( |
|
x | ) |
(void)(x) |