Physics, Science, Programming, Deep Dives, Thoughts And Theory.
variables for bookkeeping, such as for the wall momentum, that will allow us to calculate pressure. class Simulation(object): #Constructor def __init__(self,name,box_dim,t_step,particle_radius): #Set simulation inputs self.name=name #Name of the simulation self.box_dim=[x for x in box_dim]