-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Draft]: auto diff net rates #715
base: main
Are you sure you want to change the base?
Conversation
net/private/net_eval.f90
Outdated
|
||
! here we define our new auto_diff variable for reaction rates. | ||
!auto_diff_real_2var_order1 | ||
n% rate_screened_ad %val = n% rate_screened |
There was a problem hiding this comment.
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.
No description provided.