2 Representation of a particle
\r
13 """Initialise a particle with no properties"""
\r
14 self.properties = {}
\r
16 def __init__(self, properties):
\r
17 """Initialise a particle with given properties"""
\r
18 self.properties = {}
\r
19 self.properties.update(properties)
\r
22 """Control the step of the dictionary"""
\r
26 def calculateForce(a, b):
\r
27 """Calculate the force acting on a due to b"""
\r