This commit is contained in:
沈瑗杰 2020-12-31 23:13:11 +08:00
parent 98305d0666
commit f1604d31ad
3 changed files with 17 additions and 1 deletions

View File

@ -75,5 +75,8 @@ def G_C(M, m, R, G): #stand for gravity calculation
G : Gravitational constant G : Gravitational constant
M & m & R format: docs.basic_config:basic_number M & m & R format: docs.basic_config:basic_number
""" """
pass g = libs.config.basic_number()
A = S_N_M(M, m, G)
B = S_N_D(A, S_N_M(R, R))
return B

View File

@ -11,5 +11,6 @@ import libs.main
import libs.tools import libs.tools
import libs.loads import libs.loads
import libs.setup import libs.setup
import libs.config
import libs.delivery import libs.delivery
import libs.render_thread import libs.render_thread

12
libs/config.py Normal file
View File

@ -0,0 +1,12 @@
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
import libs
def basic_number(Int=0, Float=1, unit1=[], unit2=[]):
return [Int, Float, unit1, unit2]
def basic_force():
return [basic_number(unit1=["N"]), basic_number(unit1=["N"])]