aboutsummaryrefslogtreecommitdiffstats
path: root/Commons
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2014-01-13 09:37:16 +0100
committerVolker Hoffmann <volker@cheleb.net>2014-01-13 09:37:16 +0100
commit8527a587d0e49e70da175be74c1f70fb08388cb4 (patch)
tree652e747e01b413db007d5a483e21d42b87059db8 /Commons
parent99e70bdd951361c244f5717f90760e9f98d7f0b8 (diff)
add particle ID to object
Diffstat (limited to 'Commons')
-rw-r--r--Commons/Structs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Commons/Structs.py b/Commons/Structs.py
index 84114e8..5bb93a9 100644
--- a/Commons/Structs.py
+++ b/Commons/Structs.py
@@ -12,8 +12,11 @@ class Particle():
XYZ-Position - x, y, z - [AU]
XYZ-Velocity - vx, vy, vz - [AU/yr]
Particle Mass - m - [Msun]
+ Particle ID - id - []
"""
def __init__(self):
+ # General
+ self.id = None
# Cartesian
self.x, self.y, self.z = None, None, None
self.vx, self.vy, self.vz = None, None, None