forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+Refactor writing the vertical_coordinate file
Rearrange how the vertical_coordinate file is written, to avoid an unnecessary repetition of the writing of this file, and to prepare for the Hybgen grid generator code to write its own version of this file. The specific changes include: - Added the new subroutine write_regrid_file() to write the vertical_coordinate file when in ALE mode. - Relocated the code to write the vertical_coordinate file in ALE mode from ALE_writeCoordinateFile to write_regrid_file() - Moved the call to write_vertgrid_file() into initialize_MOM(), and do not call it when USE_REGRIDDING=True, since in this case this file will be rewritten again when write_regrid_file() is called. - Eliminated the write_geom and output_dir arguments to MOM_initialize_coord() All answers and output are bitwise identical.
- Loading branch information
1 parent
08582ee
commit 356671c
Showing
5 changed files
with
56 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters