Skip to content

Commit

Permalink
removed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariana Vertenstein committed Dec 31, 2018
1 parent 5a2dd8b commit 9deec5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions config_src/nuopc_driver/mom_cap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ subroutine InitializeRealize(gcomp, importState, exportState, clock, rc)
endif

!---------------------------------
! set surface temperature to 0 if ocean mask is 0
! set surface temperature to 0 if ocean mask is 0
!---------------------------------

! TODO (mvertens, 2018-12-30): is this really necessary? for now only do this for grid
Expand All @@ -1756,21 +1756,21 @@ subroutine InitializeRealize(gcomp, importState, exportState, clock, rc)
line=__LINE__, &
file=__FILE__)) &
return ! bail out

call ocean_model_data_get(ocean_state, ocean_public, 'mask', ofld, isc, jsc)

if (geomtype == ESMF_GEOMTYPE_GRID) then
call ESMF_FieldGet(field_t_surf, localDe=0, farrayPtr=t_surf2d, rc=rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, &
file=__FILE__)) &
return ! bail out

lbnd1 = lbound(t_surf2d,1)
ubnd1 = ubound(t_surf2d,1)
lbnd2 = lbound(t_surf2d,2)
ubnd2 = ubound(t_surf2d,2)

do j = lbnd2, ubnd2
do i = lbnd1, ubnd1
j1 = j - lbnd2 + jsc
Expand All @@ -1791,7 +1791,7 @@ subroutine InitializeRealize(gcomp, importState, exportState, clock, rc)
! line=__LINE__, &
! file=__FILE__)) &
! return ! bail out

end subroutine InitializeRealize

!===============================================================================
Expand Down
6 changes: 3 additions & 3 deletions config_src/nuopc_driver/mom_cap_methods.F90
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ subroutine mom_export(ocean_public, ocean_grid, ocean_state, exportState, clock,
line=__LINE__, &
file=__FILE__)) &
return ! bail out

call State_SetExport(exportState, trim(fldname_y), &
isc, iec, jsc, jec, ocean_public%v_surf, ocean_grid, rc=rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
Expand Down Expand Up @@ -700,7 +700,7 @@ subroutine mom_export(ocean_public, ocean_grid, ocean_state, exportState, clock,
return ! bail out

! -------
! frazil and freezing melting potential
! frazil and freezing melting potential
! -------

call ESMF_StateGet(exportState, 'accum_heat_frazil' , itemFlag1)
Expand Down Expand Up @@ -741,7 +741,7 @@ subroutine mom_export(ocean_public, ocean_grid, ocean_state, exportState, clock,
end if

! -------
! Sea level
! Sea level
! -------
fldname = 'sea_level'
call ESMF_StateGet(exportState, trim(fldname), itemFlag, rc=rc)
Expand Down

0 comments on commit 9deec5d

Please sign in to comment.