oshaughn / research-projects-RIT

Clean version of research-projects, just with ILE
MIT License
14 stars 14 forks source link

`EOSManager.py` update - convert units for EOS tables in `EOSSequenceLandry` #92

Closed askoldvilkha closed 8 months ago

askoldvilkha commented 8 months ago

Now, when the user loads EOS tables (load_eos = True) the EOSSequenceLandry will automatically convert units to the ones chosen by the user as eos_tables_units parameter (SI or CGS). If the user wants to keep the units as they are, no unit system should be provided (eos_tables_units = None)

oshaughn commented 8 months ago

Please set a default value for the units argument (e.g., 'cgs'), otherwise the code will raise an exception.