Constants

General constant definitions.

module

constants

author

Le Bars, Yoann

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. See file LICENSE or go to:

https://www.gnu.org/licenses/gpl-3.0.html

constants.DEFAULTDENS: Final[float] = 0.1

Default bodies density.

constants.DEFAULTDT: Final[float] = 0.5

Default time step (in s).

constants.DEFAULTNBODIES: Final[int] = 20

Default number of bodies.

constants.DEFAULTNITER: Final[int] = 500

Default number of iterations.

constants.DENSKEY: Final[str] = 'dens'

Key for body density.

constants.DTKEY: Final[str] = 'dt'

Key for time step.

constants.EPSILON: Final[float] = 1e-06

Default computing precision value.

constants.EPSILONKEY: Final[str] = 'epsilon'

Key for computing precision.

constants.G: Final[float] = 6.6743e-11

Default universal gravity constant (in m³ / kg / s²).

constants.NBODIESKEY: Final[str] = 'nbodies'

Key for number of bodies.

constants.NITERKEY: Final[str] = 'niter'

Key for number of iterations.

constants.UNIVERSALGKEY: Final[str] = 'universalg'

Key for universal gravity constant.