-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create submodule files in LatLon #2899
Conversation
Made a mistake in the ESMA_cmake version number. It should have been 3.47.0. |
geom_mgr/LatLon/CMakeLists.txt
Outdated
SOURCES new_LatLonDecomposition_basic.F90 new_LatLonDecomposition_petcount.F90 | ||
new_LatLonDecomposition_topo.F90 get_lon_distribution.F90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in Teams - the constructors should stay in the module and not be split as submodules.
geom_mgr/LatLon/CMakeLists.txt
Outdated
esma_add_fortran_submodules( | ||
TARGET MAPL.geom_mgr | ||
SUBDIRECTORY LatAxis | ||
SOURCES new_LatAxis.F90 equal_to.F90 not_equal_to.F90 supports_hconfig.F90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put constructors back in module
geom_mgr/LatLon/CMakeLists.txt
Outdated
SUBDIRECTORY LonAxis | ||
SOURCES equal_to.F90 get_lon_range.F90 make_LonAxis_from_metadata.F90 | ||
supports_hconfig.F90 get_lon_corners.F90 make_LonAxis_from_hconfig.F90 | ||
new_LonAxis.F90 supports_metadata.F90) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
constructors go in module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Constructors should stay in their original location. Generally these are functions that start with the new_
prefix.
Otherwise is fine.
Ok. I will make the changes right now. I will run tests before I push the changes. |
Moved the constructors back to module files. |
Hmm. Seems like a file is missing:
|
It is on the main branch of ESMA_cmake (just checked). Maybe we need a CI update in this PR? |
It should work. I pressed the update branch button just now to see. |
I will close this PR. I will make a few edits to the branch and submit a new PR. |
Types of change(s)
Checklist
make tests
)Description
latlon
(ingeom_mgr) as
LatLon`.LatLon
.ESMA_cmake
from 3.46.0 to 3.37.0.Related Issue