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

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::math
 

Variables

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