1
0
Fork 0
mirror of https://github.com/Findus23/rebound-collisions.git synced 2024-09-19 15:53:48 +02:00

always use three layers

This commit is contained in:
Lukas Winkler 2021-03-08 19:18:14 +01:00
parent 36dcd7f5ab
commit ff3b310e9d
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -18,7 +18,6 @@ from utils import unique_hash, filename_from_argv, innermost_period, total_momen
third_kepler_law, solar_radius, git_hash
MIN_TIMESTEP_PER_ORBIT = 20
TWO_LAYERS = True
PERFECT_MERGING = False
INITCON_FILE = Path("initcon/conditions_many.input")
@ -90,8 +89,6 @@ def main(fn: Path, testrun=False):
print("adding rest to mmf")
mmf += diff
assert cmf + mmf + wmf - 1 <= 1e-10
if TWO_LAYERS:
cmf = 0
if i > num_embryos + 3:
object_type = "planetesimal"
else: