public static AbstractModel getRandomGrid(int min, int max, int distance,AbstractModel result) {
//		AbstractModel result = new ModelParallel();
		Random r = new Random(1);
		for (int i = min; i < max; i += distance) {
			for (int j = min; j < max; j += distance) {
				result.p.add(new Particle(0.5, 0, 0, i + 0.5 - r.nextDouble(),
						j + 0.5 - r.nextDouble()));
			}
		}
		return result;
	}