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

Philippe 30/01/2019: bug: remove double allocates for non 'n' variables

parent c0abe2ef
No related branches found
No related tags found
No related merge requests found
...@@ -892,7 +892,7 @@ ALLOCATE(XDZZ(IIU,IJU,IKU)) ...@@ -892,7 +892,7 @@ ALLOCATE(XDZZ(IIU,IJU,IKU))
IF (KMI == 1) THEN IF (KMI == 1) THEN
ALLOCATE(XRHODREFZ(IKU),XTHVREFZ(IKU)) ALLOCATE(XRHODREFZ(IKU),XTHVREFZ(IKU))
ELSE ELSE
ALLOCATE(XRHODREFZ(0),XTHVREFZ(0)) !Do not allocate XRHODREFZ and XTHVREFZ because they are the same on all grids (not 'n' variables)
END IF END IF
ALLOCATE(XRHODREF(IIU,IJU,IKU)) ALLOCATE(XRHODREF(IIU,IJU,IKU))
ALLOCATE(XTHVREF(IIU,IJU,IKU)) ALLOCATE(XTHVREF(IIU,IJU,IKU))
...@@ -1511,22 +1511,7 @@ IF (KMI == 1) THEN ...@@ -1511,22 +1511,7 @@ IF (KMI == 1) THEN
ALLOCATE(XVFRC_PAST(0,0,0)) ALLOCATE(XVFRC_PAST(0,0,0))
END IF END IF
ELSE ELSE
ALLOCATE(TDTFRC(0)) !Do not allocate because they are the same on all grids (not 'n' variables)
ALLOCATE(XUFRC(0,0))
ALLOCATE(XVFRC(0,0))
ALLOCATE(XWFRC(0,0))
ALLOCATE(XTHFRC(0,0))
ALLOCATE(XRVFRC(0,0))
ALLOCATE(XTENDTHFRC(0,0))
ALLOCATE(XTENDRVFRC(0,0))
ALLOCATE(XGXTHFRC(0,0))
ALLOCATE(XGYTHFRC(0,0))
ALLOCATE(XPGROUNDFRC(0))
ALLOCATE(XTENDUFRC(0,0))
ALLOCATE(XTENDVFRC(0,0))
ALLOCATE(XWTFRC(0,0,0))
ALLOCATE(XUFRC_PAST(0,0,0))
ALLOCATE(XVFRC_PAST(0,0,0))
END IF END IF
! ---------------------------------------------------------------------- ! ----------------------------------------------------------------------
! !
......
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