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

code formatting

This commit is contained in:
Lukas Winkler 2021-05-03 16:16:55 +02:00
parent 589313cde4
commit 889097c3b6
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 6 additions and 3 deletions

View file

@ -33,7 +33,10 @@ def get_mass_fractions(input_data: Input, perfect_merging: bool) -> Tuple[float,
data.gamma = clamp(data.gamma, 1 / 10, 1)
if perfect_merging:
water_retention = mantle_retention = core_retention = 1
water_retention \
= mantle_retention \
= core_retention \
= 1
else:
if not interpolation:
interpolation = Interpolation()

View file

@ -1,7 +1,7 @@
from rebound import Particle
habitable_zone_inner=0.75
habitable_zone_outer=1.5
habitable_zone_inner = 0.75
habitable_zone_outer = 1.5
def is_potentially_habitable(planet: Particle):