1
0
Files
KozaiLidov/lib/units.py
2021-11-26 14:19:54 +01:00

11 lines
346 B
Python

#!/usr/bin/python
# -*- coding:utf-8 -*-
"""
Units used in the project.
"""
globals()['G'] = 6.67e-11 #Gravitational constant in SI units
globals()['Ms'] = 2e30 #Solar mass in kg
globals()['au'] = 1.5e11 #Astronomical unit in m
globals()['yr'] = 3.15576e7 #year in seconds
globals()['Ga'] = G*Ms*yr**2/au**3 #Gravitational constant adimensionned