-
Notifications
You must be signed in to change notification settings - Fork 132
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
Initial discrete adjoint capability with ERK #559
base: develop
Are you sure you want to change the base?
Conversation
Co-authored-by: Steven Roberts <roberts115@llnl.gov>
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.
I just went through the documentation updates. I'll look through the code soon.
Co-authored-by: Daniel R. Reynolds <reynolds@smu.edu>
Co-authored-by: Daniel R. Reynolds <reynolds@smu.edu>
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.
A few minor changes on the added/updated content, and I did see one of my previous comments that may still require investigation (inside doc/arkode/guide/source/Usage/ARKStep/ASA.rst
)
# "ark_test_erkadjoint.cpp\;--check-freq 1 --no-stages\;" | ||
# "ark_test_erkadjoint.cpp\;--check-freq 2 --no-stages\;" | ||
# "ark_test_erkadjoint.cpp\;--check-freq 5 --no-stages\;" | ||
# "ark_test_erkadjoint.cpp\;--check-freq 1 --dont-keep --no-stages\;" | ||
# "ark_test_erkadjoint.cpp\;--check-freq 2 --dont-keep --no-stages\;" | ||
# "ark_test_erkadjoint.cpp\;--check-freq 5 --dont-keep --no-stages\;" |
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.
Should these just be deleted from the file instead of commented out?
# "ark_test_erkadjoint.cpp\;--check-freq 1 --no-stages\;" | |
# "ark_test_erkadjoint.cpp\;--check-freq 2 --no-stages\;" | |
# "ark_test_erkadjoint.cpp\;--check-freq 5 --no-stages\;" | |
# "ark_test_erkadjoint.cpp\;--check-freq 1 --dont-keep --no-stages\;" | |
# "ark_test_erkadjoint.cpp\;--check-freq 2 --dont-keep --no-stages\;" | |
# "ark_test_erkadjoint.cpp\;--check-freq 5 --dont-keep --no-stages\;" |
// TODO(CJB): figure out why ForwardDiff, CVODES, and ERK adjoint all differ | ||
// if (check_sensitivities_backward(sf)) | ||
// { | ||
// fprintf(stderr, | ||
// ">>> FAILURE: adjoint solution does not match correct answer\n"); | ||
// return -1; | ||
// }; | ||
// printf(">>> PASS\n"); |
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.
Is this "TODO(CJB)" still relevant, or should the comment and associated code be deleted?
/autofix |
No description provided.