evanoconnor / NuLib

open-source neutrino interaction library
23 stars 16 forks source link

NSE #7

Closed srichers closed 9 years ago

srichers commented 10 years ago

Hey Evan - I added a few things that enable me to create an opacity table using the Helmholtz EOS and simple 3-species NSE. It's not the most elegantly coded, but it does the trick. Let me know what you think - if something doesn't belong, is structured stupidly, etc.

evanoconnor commented 10 years ago

This looks great! It should have been done like this from the beginning. I'll look over this in the next few days. I know I started the #HELMHOLTZ_EOS flag, but maybe having an eos_flag that is set based on which EOS you want to use, this could be passed to set_eos_variables and read_eos_table. This would allow even more EOS styles in the future

srichers commented 9 years ago

I added a few more commits and merged with your recent changes.