Skip to content
Snippets Groups Projects
Commit 597b6857 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 17/12/2021: bugfix: set IIU and IJU values

parent e0fd51ec
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,7 @@ SUBROUTINE NHOA_COUPL_n(KDAD,PTSTEP,KMI,KTCOUNT,KKU)
!! JL Redelsperger 03/2021 Version 0
!! MODIFICATIONS
!! -------------
! P. Wautelet 17/12/2021: bugfix: set IIU and IJU values
!!-----------------------------------------------------------------------------
!
!* 0. DECLARATIONS
......@@ -98,17 +99,20 @@ CHARACTER(LEN=4) :: ZINIT_TYPE
!---Coupled OA MesoNH----------------------------------------------------------------------------
!* 0. INITIALISATION
! --------------
IIU = SIZE(XRHODJ,1)
IJU = SIZE(XRHODJ,2)
! allocate flux local array
ALLOCATE(ZCOUPTFL(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPUFL(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPVFL(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPTFL(IIU,IJU))
ALLOCATE(ZCOUPUFL(IIU,IJU))
ALLOCATE(ZCOUPVFL(IIU,IJU))
! allocate sfc variable local array
ALLOCATE(ZCOUPUA(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPVA(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPTA(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPUO(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPVO(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPTO(SIZE(XRHODJ,1),SIZE(XRHODJ,2)))
ALLOCATE(ZCOUPUA(IIU,IJU))
ALLOCATE(ZCOUPVA(IIU,IJU))
ALLOCATE(ZCOUPTA(IIU,IJU))
ALLOCATE(ZCOUPUO(IIU,IJU))
ALLOCATE(ZCOUPVO(IIU,IJU))
ALLOCATE(ZCOUPTO(IIU,IJU))
! values in ocean sfc
IKE=KKU-JPVEXT
ZCOUPUO(:,:)= XUT(:,:,IKE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment