public SPH_Engine(int n) { this.num_particles = n; this.SpringArray = new Spring_Array(n); rand = new Random(); }
//methods public void CreateSpringArray() { this.SpringArray = new Spring_Array(num_particles); }
public void ResetSprings() { this.SpringArray = new Spring_Array(num_particles); }