File kernel/src/utils/SiconosConst.hpp#

Go to the source code of this file

General constants for Siconos Kernel.

namespace siconos
namespace internal#

Variables

constexpr auto LEVELMAX = 999#

Internal bound max levels for time integrators.

This value may be checked to see if initialization has occured.

constexpr double MACHINE_PREC = std::numeric_limits<const double>::epsilon()#

double precision machine

constexpr double DEFAULT_TOLERANCE = 10 * MACHINE_PREC#

default tolerance for simulation algorithms.

constexpr double DEFAULT_TOL_ED = 1000 * DEFAULT_TOLERANCE#

default tolerance for EventDriven algorithms

constexpr double DEFAULT_TICK = 1e-16#

tick default value (for events in event-driven scheme) it has to be greater than DBL_EPSILON

constexpr unsigned long int GAPLIMIT_DEFAULT = 100#