Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Zhu dust+molecule+atom table opacity variant and example file. #54

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 29, 2024

  1. Add Zhu dust+molecule+atom table opacity variant and example file.

    + Add ZhuTableOpacity photon class with Rosseland-Planck databox.
    + Assume log-log rho-T for DataBox interpolation.
    + Add ZhuTable variant to opac_photons.hpp.
    + Add unit test for ZhuTable variant.
    
    Notes:
    - See: Zhaohuan Zhu et al (2021).
    - The next step is to convert the Zhu ASCII into HDF5 format(s).
    RyanWollaeger committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4836c90 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Add option to parse HDF5 data in ZhuTable opacity constructor.

    + Use filesystem header to check extention in ctor.
    + Refactor old ASCII parser to a private function (called if .txt).
    + Add ZhuTable::Save method and use to add HDF5 file.
    + Update unit test to parse HDF5 data instead.
    
    Thanks to Jonah Miller for the suggestion to use the Save method to
    create the HDF5 file.
    RyanWollaeger committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    61cf90f View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    d57db67 View commit details
    Browse the repository at this point in the history
  2. Add another valid HDF5 extension (thanks JMM).

    Co-authored-by: Jonah Miller <[email protected]>
    RyanWollaeger and Yurlungur authored Nov 1, 2024
    Configuration menu
    Copy the full SHA
    cd895ca View commit details
    Browse the repository at this point in the history