danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
94 stars 223 forks source link

Enhancements and cleanup related to star setup #495

Closed themikelau closed 6 months ago

themikelau commented 6 months ago

Mostly a cleanup of code related to the star setup. Changes include

Changes to fileutils: get_column_labels can now find column headers that are delimited by a varying number of spaces. This fixes a bug where the stellar profile "P12_Phantom_Profile.data" cannot be read.

Wrapping code into functions or subroutines:

danieljprice commented 6 months ago

thanks Mike!