humoto
constants.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Alexander Sherikov
4  @author Jan Michalczyk
5  @copyright 2014-2017 INRIA. Licensed under the Apache License, Version 2.0.
6  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
7 
8  @brief
9 */
10 
11 
12 #pragma once
13 
14 
15 namespace humoto
16 {
17  /// PI constant
18  const double g_pi = 3.14159265358979323846;
19 
20  /// Gravitational acceleration
21  const double g_gravitational_acceleration = 9.8;
22 
23  /// Infinity.
24  const double g_infinity = 1e20;
25  //const double infinity = std::numeric_limits<double>::max();
26 
27  /// Generic tolerance, should be used by default.
28  const double g_generic_tolerance = 1e-12;
29 }
const double g_infinity
Infinity.
Definition: constants.h:24
The root namespace of HuMoTo.
Definition: config.h:12
const double g_gravitational_acceleration
Gravitational acceleration.
Definition: constants.h:21
const double g_pi
PI constant.
Definition: constants.h:18
const double g_generic_tolerance
Generic tolerance, should be used by default.
Definition: constants.h:28