Skip to content

Commit 66814cb

Browse files
committed
remove old_ozone array since it was not being used
1 parent fbfd8bb commit 66814cb

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

physics/PBL/MYNN_EDMF/mynnedmf_wrapper.F90

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ SUBROUTINE mynnedmf_wrapper_run( &
289289
& RUBLTEN, RVBLTEN, RTHBLTEN, RQVBLTEN, &
290290
& RQCBLTEN, RQNCBLTEN, RQIBLTEN, RQNIBLTEN, RQSBLTEN, &
291291
& RQNWFABLTEN, RQNIFABLTEN, RQNBCABLTEN, adj_t
292-
real(kind_phys), allocatable :: old_ozone(:,:)
293292

294293
!smoke/chem arrays
295294
real(kind_phys), dimension(:), intent(inout), optional :: frp
@@ -573,10 +572,6 @@ SUBROUTINE mynnedmf_wrapper_run( &
573572
enddo
574573
enddo
575574
endif
576-
if(ldiag3d .and. dtidx(100+ntoz,index_of_process_pbl)>1) then
577-
allocate(old_ozone(im,levs))
578-
old_ozone = ozone
579-
endif
580575

581576
do k=1,levs
582577
do i=1,im
@@ -828,11 +823,6 @@ SUBROUTINE mynnedmf_wrapper_run( &
828823
call dtend_helper(index_of_temperature,dtdt)
829824
if(ldiag3d) then
830825
call dtend_helper(100+ntoz,dqdt_ozone)
831-
! idtend = dtidx(100+ntoz,index_of_process_pbl)
832-
! if(idtend>=1) then
833-
! dtend(:,:,idtend) = dtend(:,:,idtend) + (ozone-old_ozone)
834-
! deallocate(old_ozone)
835-
! endif
836826
endif
837827
endif accum_duvt3dt
838828
!Update T, U and V:

0 commit comments

Comments
 (0)