Changes to apps as a result of decoupling base_mesh_config geology / topology enumerations - #757
Ricky Wong (mo-rickywong) wants to merge 12 commits into
Conversation
DanStoneMO
left a comment
There was a problem hiding this comment.
JEDI runs fine with this, no linked PR needed
DrTVockerodtMO
left a comment
There was a problem hiding this comment.
Adjoint changes look good, thanks!
Thomas Bendall (tommbendall)
left a comment
There was a problem hiding this comment.
As with the linked core PR, I don't have really have any issues with the code beyond some requests to align some import statements.
I do wonder if it would've made more sense to make the change here after geometry and topology were accessed passed as kernel arguments... After this PR is merged, we're going to have a slightly confusing situation that in some kernels the geometry/topology are imported from base_mesh_config_mod but their values will come from mesh_mod. But now you've done the work, it may as well go ahead!
PS: there is also a typo in the title of this PR too
As explained, changes here are to reflect the clearing out in LFRic core module scope usage. Changes have been made so that lfric_apps continues pass the test-suite. This is a transitional PR, and was split off from (Tranche 1) MetOffice/lfric_core#440. The remaining changes to LFRic apps which are required to decouple code from module scope are significant even after Tranche 2 which finishes clearing out LFRic Core. |
…tations_mod.x90 Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
…ective_alg_mod.x90 Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
…od.x90 Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
…g_mod.x90 Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
|
import alignments done |
Matthew Hambley (MatthewHambley)
left a comment
There was a problem hiding this comment.
Code owner (driver) review: Looks good. The geometry/topology information is now coming from the correct place and it tidies up the code as well.
Thomas Bendall (tommbendall)
left a comment
There was a problem hiding this comment.
Thanks for making those changes. mo-lucy-gordon this is ready for code review
PR Summary
Sci/Tech Reviewer: Thomas Bendall (@tommbendall)
Code Reviewer: mo-lucy-gordon
Lfric core provides a means of extracting the correct
geometry/topologyenumerations by querying the mesh the code is operating on, rathe than incorrectly queryingbase_mesh_config. This PR updates apps code to use the newer functionality.Linked PRs
geometry/topologyenumerations from low level lfric code lfric_core#463This PR is blocking
Code Quality Checklist
Testing
trac.log
Test Suite Results - lfric_apps - AppsDecoupleGeoTop/run1
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