1
0

minor modification + system clas update comshift

This commit is contained in:
Alex_Hubert
2021-11-19 15:55:15 +01:00
parent a841341505
commit 12938d347b

View File

@@ -32,9 +32,9 @@ class System(Body):
def __init__(self, bodylist, main = False, blackstyle=True):
self.blackstyle = blackstyle #for dark mode in plot
self.bodylist = np.array(bodylist)
if main == True :
self.COMShift()
self.bodylist = np.array(bodylist)
self.time = 0 #lifetime of system
self.m = self.M
self.q = self.COM