|
Peano
|
Go to the source code of this file.
Namespaces | |
| namespace | makeIC |
Variables | |
| makeIC.parser = argparse.ArgumentParser(description="SPH benchmarking script") | |
| makeIC.dest | |
| makeIC.required | |
| makeIC.type | |
| makeIC.help | |
| makeIC.default | |
| makeIC.args = parser.parse_args() | |
| makeIC.npart = args.particle_number | |
| makeIC.seed = args.random_seed | |
| makeIC.max_displacement = args.max_displacement | |
| float | makeIC.dx = boxSize / npart |
| makeIC.rng = np.random.RandomState(seed=seed) | |
| tuple | makeIC.displacement = (2.0 * rng.random(coords.shape) - 1.0) * max_displacement * dx |