Skip to content

Commit

Permalink
Checks for new HyREC, struct effective_rates
Browse files Browse the repository at this point in the history
* New Hyrec checks in checks_for_new_hyrec_integrated_with_CLASS
* new effective_rates struct in thermodynamics.h
  • Loading branch information
Hongwan Liu committed Oct 7, 2019
1 parent 8122380 commit 74d57d7
Show file tree
Hide file tree
Showing 6 changed files with 109,872 additions and 86,897 deletions.
12 changes: 6 additions & 6 deletions include/thermodynamics.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ struct thermo
* Internal to the thermodynamics module.
*/
struct effective_rates{
double * TR /**< Radiation temperature abscissa. */
double * Alpha[2] /**< Effective recombination coefficient for 2s and 2p at each TR. */
double * Beta[2] /**< Effective photoionization coefficient for 2s and 2p at each TR. */
double * R_2pto2s /**< Effective 2p -> 2s transition rate at each TR. */
double * R_2sto2p /**< Effective 2s -> 2p transition rate at each TR. */
}
double * TR; /**< Radiation temperature abscissa. */
double * Alpha[2]; /**< Effective recombination coefficient for 2s and 2p at each TR. */
double * Beta[2]; /**< Effective photoionization coefficient for 2s and 2p at each TR. */
double * R_2pto2s; /**< Effective 2p -> 2s transition rate at each TR. */
double * R_2sto2p; /**< Effective 2s -> 2p transition rate at each TR. */
};

/**
* Temporary structure where all the recombination history is defined and stored.
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 74d57d7

Please sign in to comment.