Upgrade adjoint mixed solver - #649
Conversation
…s. Added last kernel needed.
… a random mask, but with the mask we are using it works properly so not sure what happened there...
… to get configuration arguments. Forced halo exchange on mask before it becomes intent(in).
|
There is a problem with |
…ent because it applies to the same dof across multiple cells, which otherwise leads to errors in the adjoint). Fixed docstrings of other code.
| @@ -0,0 +1,143 @@ | |||
| !----------------------------------------------------------------------------- | |||
| ! (c) Crown copyright Met Office. All rights reserved. | |||
There was a problem hiding this comment.
Wondering if these need dating? I see there are some files without dates.
There was a problem hiding this comment.
I was told in #428 to remove the dates so I think there is a new standard, not sure if its consistently applied though as I see some files still have the dates in.
There was a problem hiding this comment.
Thanks good to know
|
Oops, forgot to commit the kernel metadata fix until today, it should build properly now. I will run another dev suite! |
Done. |
PR Summary
Sci/Tech Reviewer: Josh Colclough (@mo-joshuacolclough)
Code Reviewer: allynt
This change includes an upgrade of the adjoint mixed solver code following from #177 . I have mainly added new kernels and adjoint tests. I have also included the adjoint for one of the kernels not used yet in the adjoint solver algorithm, because the conditional section that calls it in the linear has a not yet implemented error handling in the adjoint. If/when we are ready to code this we can have this method available at the very least.
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - upgrade_adj_solver/run11
Suite Information
Task Information
✅ succeeded tasks - 1218
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review