waLBerla 7.3
Loading...
Searching...
No Matches
Constants.h File Reference

Detailed Description

Header file for mathematical constants.

Author
Klaus Iglberger
Sebastian Eibl sebas.nosp@m.tian.nosp@m..eibl.nosp@m.@fau.nosp@m..de
Christoph Schwarzmeier chris.nosp@m.toph.nosp@m..schw.nosp@m.arzm.nosp@m.eier@.nosp@m.fau..nosp@m.de
#include <cmath>
#include <core/DataTypes.h>

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
namespace  walberla::math

Variables

constexpr real_t walberla::math::e = 2.7182818284590452354_r
constexpr real_t walberla::math::log2_e = 1.4426950408889634074_r
constexpr real_t walberla::math::log10_e = 0.43429448190325182765_r
constexpr real_t walberla::math::ln_two = 0.69314718055994530942_r
constexpr real_t walberla::math::ln_ten = 2.30258509299404568402_r
constexpr real_t walberla::math::pi = 3.14159265358979323846_r
constexpr real_t walberla::math::half_pi = 1.57079632679489661923_r
constexpr real_t walberla::math::fourth_pi = 0.78539816339744830962_r
constexpr real_t walberla::math::one_div_pi = 0.31830988618379067154_r
constexpr real_t walberla::math::two_div_pi = 0.63661977236758134308_r
constexpr real_t walberla::math::two_div_root_pi = 1.12837916709551257390_r
constexpr real_t walberla::math::root_two = 1.41421356237309504880_r
constexpr real_t walberla::math::one_div_root_two = 0.70710678118654752440_r
constexpr real_t walberla::math::root_three = 1.73205080757_r
constexpr real_t walberla::math::one_div_root_three = 0.57735026919_r