Shims.h File Reference
#include <type_traits>

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
 

Functions

template<typename Type >
void walberla::math::clear (Type &clearable)
 Clearing the given value/object to the default state. More...
 
float walberla::math::inv (float a)
 Inverting the given single precision value. More...
 
double walberla::math::inv (double a)
 Inverting the given double precision value. More...
 
long double walberla::math::inv (long double a)
 Inverting the given long double value. More...
 
template<typename Type >
bool walberla::math::isDefault (const Type &v)
 Returns whether the given value/object is in default state. More...
 
template<typename Type >
void walberla::math::reset (Type &resettable)
 Resetting the given value/object to the default value. More...
 
template<typename T >
const T walberla::math::sq (const T &a)
 Squaring the given value/object. More...