Remove module scope access of namelist variables by coordinate/native jacobian.#249
Conversation
…ve jacobian in preparation for namelist api port
mo-lucy-gordon
left a comment
There was a problem hiding this comment.
Converted to some suggested typo changes. As these are only simple changes I will pass them to Andy to fix so we can get the tickets committed, as Ricky is away.
Co-authored-by: mo-lucy-gordon <120176477+mo-lucy-gordon@users.noreply.github.com>
|
I've applied the small number of spelling corrections suggested by review as Ricky Wong (@mo-rickywong) is away and they are very minor changes. |
| feign_finite_element_config, & | ||
| feign_planet_config | ||
|
|
||
| !use feign_config_mod, only : feign_base_mesh_config, & |
There was a problem hiding this comment.
Should this be removed instead of being commented out?
|
Apologies for sticking my oar in, I just got notified about this PR. I realise it's a technical change rather than a science one, but I'm a bit surprised it didn't need a sci/tech reviewer since it changes the API to an important science routine. I understand the logic for this change though, so have no objections but have spotted some things that need tidying. |
I presumed the comments were deliberate but Ricky is away right now so we can't ask him. |
Sorry about the lack of opportunity, from the API point of view. Other than from a code owner perspective, I wasn't sure what a SciTech reviewer would add over Code Review + Code Owners Review. Though I accept that's not my call to make, sorry again. |
I think Thomas Bendall (@tommbendall) is right, left over comments, good spot. Left overs happen on this changes on lots of files |
Thomas Bendall (tommbendall)
left a comment
There was a problem hiding this comment.
Thanks for making those changes!
PR Summary
Sci/Tech Reviewer:
Code Reviewer: mo-lucy-gordon
As part of work to remove configuration namelist access from module scope, configuration variables will need to be passed
by argument. Configuration variables passed by argument to kernels is more involved, so this PR moves the use _config_mod from the Jacobian routines up to the to the kernel level in preparation of further changes.
The main changes is that namelist configuration variables:
Are to be passed by argument jacobian routines, i.e.
The knock-on of this is a large number of kernels/unit-tests need to be updated in
lfric_coreandlfric_apps. Aswell as a change to the arguments ofinit_chi_tranformscalled in the unit_tests.Similar changes, but to a large number of files.
Linked PRs
Code Quality Checklist
Testing
Rose test-suite Runs Green
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