E3SM-Project / Omega

Next generation ocean model within E3SM
https://docs.e3sm.org/Omega/omega
Other
4 stars 5 forks source link

Move Tendencies class into separate files #159

Closed mwarusz closed 6 days ago

mwarusz commented 1 week ago

This is a small PR that separates the Tendencies class from the tendency terms files into its own set of files. This was suggested in https://github.com/E3SM-Project/Omega/pull/109#issuecomment-2294102662, but we never got around to it. Since there are no open conflicting PRs, now it is a good time to do it.

mwarusz commented 1 week ago

CTests pass on Chrysalis and Frontier.

hyungyukang commented 1 week ago

I tested this branch using the manufactured solution, which requires modifications to the Tendencies.cpp file in this PR.

I was able to run the manufactured solution test with the changes incorporated in this pull request.

mwarusz commented 1 week ago

I think there are include statements in OceanFinal.cpp and OceanInit.cpp that should be changed from TendencyTerms.h to Tendencies.h as well.

@sbrus89 Done.