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.
Merge pull request #51 from jiandewang/feature/update-to-GFDL-20210120
Feature/update to gfdl 20210120
- Loading branch information
Showing
11 changed files
with
121 additions
and
163 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ module MOM_cap_mod | |
use MOM_ocean_model_nuopc, only: get_ocean_grid, get_eps_omesh | ||
use MOM_cap_time, only: AlarmInit | ||
use MOM_cap_methods, only: mom_import, mom_export, mom_set_geomtype, state_diagnose | ||
use MOM_cap_methods, only: ChkErr | ||
#ifdef CESMCOUPLED | ||
use shr_file_mod, only: shr_file_setLogUnit, shr_file_getLogUnit | ||
#endif | ||
|
@@ -2049,18 +2050,6 @@ subroutine shr_file_getLogUnit(nunit) | |
end subroutine shr_file_getLogUnit | ||
#endif | ||
|
||
logical function chkerr(rc, line, file) | ||
integer, intent(in) :: rc | ||
integer, intent(in) :: line | ||
character(len=*), intent(in) :: file | ||
integer :: lrc | ||
chkerr = .false. | ||
lrc = rc | ||
if (ESMF_LogFoundError(rcToCheck=lrc, msg=ESMF_LOGERR_PASSTHRU, line=line, file=file)) then | ||
chkerr = .true. | ||
endif | ||
end function chkerr | ||
|
||
!> | ||
!! @page nuopc_cap NUOPC Cap | ||
!! @author Fei Liu ([email protected]) | ||
|
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
Oops, something went wrong.