waLBerla 7.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Shims.h File Reference
#include <type_traits>

Namespaces

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

Functions

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