6667686970717273747576
p.setVx(12.345); p.setVy(76.543); p.setMass(7.654); p.setCharge(5.432); Particle pcopy = p.copy(); solver.prepare(p, f, step); solver.complete(p, f, step); assertAlmostEquals("x", pcopy.getX(), p.getX(), ACCURACY_LIMIT);
112113114115116117118119120121122
p.setVx(12.345); p.setVy(76.543); p.setMass(7.654); p.setCharge(5.432); Particle pcopy = p.copy(); Particle p2 = p.copy(); solver.prepare(p, f, step); solver2.prepare(p2, f, step);
113114115116117118119120121122123
p.setVy(76.543); p.setMass(7.654); p.setCharge(5.432); Particle pcopy = p.copy(); Particle p2 = p.copy(); solver.prepare(p, f, step); solver2.prepare(p2, f, step); for (int i=0; i<100; i++)