Physics, Science, Programming, Deep Dives, Thoughts And Theory.
add_molecules(self,molecule,n,v_mean,v_std,pos_dist="uniform",v_dist="normal",color="black"): #Generate initial positions and velocities self._generate_initial_positions(n,dist=pos_dist) self._generate_initial_velocities(n,v_mean,v_std,dist=v_dist) #Initialize objects of class Molecule in a list