galacticusorg / galacticus

The Galacticus galaxy formation model
GNU General Public License v3.0
27 stars 17 forks source link

Refactor the `starFormationHistoryInSitu` class #648

Closed abensonca closed 3 months ago

abensonca commented 3 months ago

This now works by wrapping another starFormationHistory object, making a duplicate copy of its star formation history, and zeroing out any entries in that duplicate in merging galaxies. This allows the duplicate copy to track in-situ star formation, using whatever binning the wrapped object does. Includes a new test case.

github-actions[bot] commented 3 months ago

:warning: Possible misspelled word 'indentical' in file 'source/star_formation.histories.in_situ.F90'