Physics, Science, Programming, Deep Dives, Thoughts And Theory.
#Dimensions of the box self.t_step=t_step #Timestep self.particle_radius=particle_radius #Radius of the particles #Calculate volume and number of dimensions self.V=np.prod(self.box_dim) #Area/Volume of the box self.dim=int(len(box_dim)) #Number of dimensions (2D or 3D) #Initialize paramters