Skip to content

Conversation

pmocz
Copy link
Member

@pmocz pmocz commented Aug 14, 2024

No description provided.


! here we define our new auto_diff variable for reaction rates.
!auto_diff_real_2var_order1
n% rate_screened_ad %val = n% rate_screened
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pmocz this is where we define the rate_screened and its derivates. When auto_diff is implemented into rates, we can just set one value n% rate_screened_ad %val = n% rate_screened, instead of all three calls. Then our derivatives won't be singular values for n% rate_screened_ad %d1val1, rather they will carry the entire interpolating function insiden% rate_screened_ad which can be differentiated at any moment to yield the derivative. This helps later on when these derivatives are used to calculate the derivative of the equilibrium links.

@Debraheem Debraheem added the rates-net Rates and net modules label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rates-net Rates and net modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants