4 releases (2 breaking)
new 0.3.0 | Feb 19, 2025 |
---|---|
0.2.0 | Feb 18, 2025 |
0.1.1 | Feb 17, 2025 |
0.1.0 | Feb 17, 2025 |
#62 in Simulation
102 downloads per month
25KB
532 lines
sph2mm
Add an AMR background to an existing SPH initial conditions file
Usage: sph2mm [OPTIONS] <SPH> <MODIFIED>
Arguments:
<SPH> Name of ICs file with sph ICs
<MODIFIED> Name to store the modified ICs
Options:
-r, --resolution <RESOLUTION> Resolution of background grid [default: 32]
-d, --density <DENSITY> Density of background particles [default: 1]
-i, --internal-energy <INTERNAL_ENERGY> Internal energy of background particles [default: 1]
-c, --center <CENTER> <CENTER> <CENTER> Center of the box
-R, --relax <RELAX> Perform <N> interations of mesh relaxation [default: 0]
-h, --help Print help
-V, --version Print version
Dependencies
~15–23MB
~388K SLoC