forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+Revised stochastics code for style compliance
Revised the stochastics-related code to bring it into closer alignment with the MOM6 style guide at https://github.com/mom-ocean/MOM6/wiki/Code-style-guide, and splitting config_src/external/stochastic_physics/stochastic_physics.F90 into two files (one of which is the new file get_stochy_pattern.F90) to respect the MOM6 convention that there is only one module per file. Also renamed two stochastics-related optional arguments to ePBL_column to better reflect what they do, and corrected a number of spelling errors in comments in the files that were being modified. All answers and output are bitwise identical, but there are some minor internal interface changes.
- Loading branch information
1 parent
5824970
commit 84d78a6
Showing
4 changed files
with
130 additions
and
142 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
config_src/external/stochastic_physics/get_stochy_pattern.F90
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
! The are stubs for ocean stochastic physics | ||
! the fully functional code is available at | ||
! http://github.com/noaa-psd/stochastic_physics | ||
module get_stochy_pattern_mod | ||
|
||
! This file is part of MOM6. See LICENSE.md for the license. | ||
|
||
implicit none ; private | ||
|
||
public :: write_stoch_restart_ocn | ||
|
||
contains | ||
|
||
!> Write the restart file for the stochastic physics perturbations. | ||
subroutine write_stoch_restart_ocn(sfile) | ||
character(len=*) :: sfile !< name of restart file | ||
|
||
! This stub function does not actually do anything. | ||
return | ||
end subroutine write_stoch_restart_ocn | ||
|
||
end module get_stochy_pattern_mod |
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
Oops, something went wrong.