Skip to content

Conversation

@michaeldenes
Copy link
Member

I've implemented the RK2 and RK2_3D schemes for v4. I've also added the two schemes to (some of) the unit tests, but I've not touched test_nemo_3D_curvilinear_fieldset.

This will solve #2314

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VeckoTheGecko, do we really need to add new Kernels at three locations? (two locations here in __init__.py and also at the top of advection.py). Can there not be less duplication?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make advection.py private (i.e., changing it to be _advection.py). Then we wouldn't need to define __all__ in advection.py. As it stands though, we need to have it in __all__ for advection.py and __init__.py

Copy link
Contributor

@VeckoTheGecko VeckoTheGecko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make advection.py private (i.e., changing it to be _advection.py). Then we wouldn't need to define __all__ in advection.py. As it stands though, we need to have it in __all__ for advection.py and __init__.py

@erikvansebille erikvansebille merged commit 254090a into v4-dev Nov 3, 2025
10 of 11 checks passed
@erikvansebille erikvansebille deleted the runge-kutta2 branch November 3, 2025 15:27
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants