CellModules
MecaCell::Config Struct Reference

#include <config.hpp>

Public Types

using random_engine_t = std::mt19937
 

Static Public Member Functions

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 Public Attributes

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

◆ 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 30 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 11 of file config.hpp.

◆ DEFAULT_CELL_MASS

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

Definition at line 13 of file config.hpp.

◆ DEFAULT_CELL_POISSONCOEF

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

Definition at line 16 of file config.hpp.

◆ DEFAULT_CELL_RADIUS

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

Definition at line 12 of file config.hpp.

◆ DEFAULT_CELL_STIFFNESS

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

Definition at line 14 of file config.hpp.

◆ DEFAULT_CELL_YOUNGMOD

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

Definition at line 15 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 22 of file config.hpp.


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