awa
This commit is contained in:
parent
98305d0666
commit
f1604d31ad
@ -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
|
||||||
|
|
||||||
|
@ -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
12
libs/config.py
Normal 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"])]
|
Loading…
Reference in New Issue
Block a user