this file contains various miscellanious utility functions & helpers *
T * ptr(T &obj)
returns a pointer (transforms reference into pointer)
static constexpr double DEFAULT_CELL_POISSONCOEF
static random_engine_t globalEngine_
static constexpr double DOUBLE_EPSILON
max distance for two doubles to be considered equals (only used for some geometric operations)
static constexpr double DEFAULT_CELL_MASS
static constexpr double DEFAULT_CELL_DAMP_RATIO
static void setCurrentEngine(random_engine_t *eng)
std::mt19937 random_engine_t
static random_engine_t & globalRand()
access to the static global random engine.This pseudo - random generator is* used in random 3D vector...
static random_engine_t *& engine_ptr()
static constexpr double DEFAULT_CELL_RADIUS
static constexpr double DEFAULT_CELL_YOUNGMOD
static constexpr double DEFAULT_CELL_STIFFNESS