POSYDON-code / POSYDON

POSYDON is a next-generation single and binary-star population synthesis code incorporating full stellar structure and evolution modeling with the use of MESA.
BSD 3-Clause "New" or "Revised" License
25 stars 19 forks source link

Kicks on massless remnants #297

Closed mkruckow closed 1 month ago

mkruckow commented 2 months ago

@ZepeiX reported an error in the kick calculation.

File "/projects/b1119/xzp/POSYDON/posydon/binary_evol/SN/step_SN.py", line 427, in __call__
self.orbital_kick(binary=binary)
File "/projects/b1119/xzp/POSYDON/posydon/binary_evol/SN/step_SN.py", line 1394, in orbital_kick
raise ValueError("CCSN/PPISN/PISN only for NS/BH.")
ValueError: CCSN/PPISN/PISN only for NS/BH.

It turned out to happen, when a PISN leaves a massless remnant.