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:
parent
589313cde4
commit
889097c3b6
2 changed files with 6 additions and 3 deletions
5
merge.py
5
merge.py
|
@ -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()
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue