Skip to content

Commit

Permalink
Split long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Lentz committed Aug 22, 2023
1 parent 3ca0798 commit 3739e01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion data_override/data_override.F90
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ subroutine data_override_init(Atm_domain_in, Ocean_domain_in, Ice_domain_in, Lan
type (domain2d), intent(in), optional :: Ice_domain_in !< Ice domain
type (domain2d), intent(in), optional :: Land_domain_in !< Land domain
type(domainUG) , intent(in), optional :: Land_domainUG_in !< Land domain, unstructured grid
integer, intent(in), optional :: mode !< Real precision of initialized domains. Possible values are r4_kind or r8_kind.
integer, intent(in), optional :: mode !< Real precision of initialized domains. Possible values are r4_kind or
!! r8_kind.
integer :: mode_selector

if (present(mode)) then
Expand Down
6 changes: 4 additions & 2 deletions test_fms/data_override/test_get_grid_v1.F90
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ program test_get_grid_v1
min_lon, max_lon)

!< Error checking:
if (lon(1,1) .ne. lon_in(1)*real(DEG_TO_RAD, lkind)) call mpp_error(FATAL,'test_get_grid_v1: lon is not the expected result')
if (lat(1,1) .ne. lat_in(1)*real(DEG_TO_RAD, lkind)) call mpp_error(FATAL,'test_get_grid_v1: lat is not the expected result')
if (lon(1,1) .ne. lon_in(1)*real(DEG_TO_RAD, lkind)) &
& call mpp_error(FATAL,'test_get_grid_v1: lon is not the expected result')
if (lat(1,1) .ne. lat_in(1)*real(DEG_TO_RAD, lkind)) &
& call mpp_error(FATAL,'test_get_grid_v1: lat is not the expected result')

!< Try again with ocean
lat = 0.
Expand Down

0 comments on commit 3739e01

Please sign in to comment.