CellModules
MecaCell::Config Struct Reference

#include <config.hpp>

Public Types

using random_engine_t = std::mt19937
 

Static Public Member Functions

static random_engine_t *& engine_ptr ()
 
static random_engine_tglobalRand ()
 access to the static global random engine.This pseudo - random generator is* used in random 3D vector generation .* This method can be used by the user to change* the default seed** @ return reference to the engine. More...
 
static void setCurrentEngine (random_engine_t *eng)
 

Static Public Attributes

static random_engine_t globalEngine_
 
static constexpr double DEFAULT_CELL_DAMP_RATIO = 1.0
 
static constexpr double DEFAULT_CELL_RADIUS = 40
 
static constexpr double DEFAULT_CELL_MASS = 0.04
 
static constexpr double DEFAULT_CELL_STIFFNESS = 4.0
 
static constexpr double DEFAULT_CELL_YOUNGMOD = 1.0
 
static constexpr double DEFAULT_CELL_POISSONCOEF = 0.3
 
static constexpr double DOUBLE_EPSILON = 1e-20
 max distance for two doubles to be considered equals (only used for some geometric operations) More...
 

Detailed Description

Definition at line 6 of file config.hpp.

Member Typedef Documentation

◆ random_engine_t

using MecaCell::Config::random_engine_t = std::mt19937

Definition at line 8 of file config.hpp.

Member Function Documentation

◆ engine_ptr()

static random_engine_t *& MecaCell::Config::engine_ptr ( )
inlinestatic

Definition at line 12 of file config.hpp.

◆ globalRand()

static random_engine_t & MecaCell::Config::globalRand ( )
inlinestatic

access to the static global random engine.This pseudo - random generator is* used in random 3D vector generation .* This method can be used by the user to change* the default seed** @ return reference to the engine.

Definition at line 39 of file config.hpp.

◆ setCurrentEngine()

static void MecaCell::Config::setCurrentEngine ( random_engine_t eng)
inlinestatic

Definition at line 44 of file config.hpp.

Member Data Documentation

◆ DEFAULT_CELL_DAMP_RATIO

constexpr double MecaCell::Config::DEFAULT_CELL_DAMP_RATIO = 1.0
staticconstexpr

Definition at line 20 of file config.hpp.

◆ DEFAULT_CELL_MASS

constexpr double MecaCell::Config::DEFAULT_CELL_MASS = 0.04
staticconstexpr

Definition at line 22 of file config.hpp.

◆ DEFAULT_CELL_POISSONCOEF

constexpr double MecaCell::Config::DEFAULT_CELL_POISSONCOEF = 0.3
staticconstexpr

Definition at line 25 of file config.hpp.

◆ DEFAULT_CELL_RADIUS

constexpr double MecaCell::Config::DEFAULT_CELL_RADIUS = 40
staticconstexpr

Definition at line 21 of file config.hpp.

◆ DEFAULT_CELL_STIFFNESS

constexpr double MecaCell::Config::DEFAULT_CELL_STIFFNESS = 4.0
staticconstexpr

Definition at line 23 of file config.hpp.

◆ DEFAULT_CELL_YOUNGMOD

constexpr double MecaCell::Config::DEFAULT_CELL_YOUNGMOD = 1.0
staticconstexpr

Definition at line 24 of file config.hpp.

◆ DOUBLE_EPSILON

constexpr double MecaCell::Config::DOUBLE_EPSILON = 1e-20
staticconstexpr

max distance for two doubles to be considered equals (only used for some geometric operations)

Definition at line 31 of file config.hpp.

◆ globalEngine_

random_engine_t MecaCell::Config::globalEngine_
inlinestatic

Definition at line 10 of file config.hpp.


The documentation for this struct was generated from the following file: