11 lines
274 B
Python
11 lines
274 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
|