|
| 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:
|
| |
| template<typename S , typename T > |
| S | walberla::numeric_cast (T t) |
| |
| template<typename T > |
| int8_t | walberla::int8_c (T t) |
| | cast to type int8_t using "int8_c(x)"
|
| |
| template<typename T > |
| int16_t | walberla::int16_c (T t) |
| | cast to type int16_t using "int16_c(x)"
|
| |
| template<typename T > |
| int32_t | walberla::int32_c (T t) |
| | cast to type int32_t using "int32_c(x)"
|
| |
| template<typename T > |
| int64_t | walberla::int64_c (T t) |
| | cast to type int64_t using "int64_c(x)"
|
| |
| template<typename T > |
| uint8_t | walberla::uint8_c (T t) |
| | cast to type uint8_t using "uint8_c(x)"
|
| |
| template<typename T > |
| uint16_t | walberla::uint16_c (T t) |
| | cast to type uint16_t using "uint16_c(x)"
|
| |
| template<typename T > |
| uint32_t | walberla::uint32_c (T t) |
| | cast to type uint32_t using "uint32_c(x)"
|
| |
| template<typename T > |
| uint64_t | walberla::uint64_c (T t) |
| | cast to type uint64_t using "uint64_c(x)"
|
| |
| template<typename T > |
| int | walberla::int_c (T t) |
| | cast to type int using "int_c(x)"
|
| |
| template<typename INT > |
| void | walberla::static_assert_int_t () |
| |
| template<typename T > |
| uint_t | walberla::uint_c (T t) |
| | cast to type uint_t using "uint_c(x)"
|
| |
| template<typename UINT > |
| void | walberla::static_assert_uint_t () |
| |
| template<typename T > |
| cell_idx_t | walberla::cell_idx_c (T t) |
| | cast to type cell_idx_t using "cell_idx_c(x)"
|
| |
| constexpr real_t | walberla::operator""_r (long double t) |
| |
| constexpr real_t | walberla::operator""_r (unsigned long long int t) |
| |
| template<typename T > |
| real_t | walberla::real_c (T t) |
| | cast to type real_t using "real_c(x)"
|
| |
| template<typename T > |
| double | walberla::double_c (T t) |
| | cast to type double
|
| |
| template<typename T > |
| float | walberla::float_c (T t) |
| | cast to type float
|
| |
| 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) |
| |