Skip to content

fix primordial_chem actual_rhs signature to take const burn_t&#1986

Open
BenWibking wants to merge 1 commit intoAMReX-Astro:developmentfrom
BenWibking:fix-primordial-rhs-const
Open

fix primordial_chem actual_rhs signature to take const burn_t&#1986
BenWibking wants to merge 1 commit intoAMReX-Astro:developmentfrom
BenWibking:fix-primordial-rhs-const

Conversation

@BenWibking
Copy link
Copy Markdown
Collaborator

Changes function signature to use const burn_t instead of burn_t so it works with BackwardEuler.

The actual_rhs function in the primordial_chem network took a mutable
burn_t& state parameter, but the function does not modify state. This
is incompatible with numerical_jac which passes const burn_t&. Change
the signature to const burn_t& for consistency with other networks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant