Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GOSI9esm
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Consortium Members
UKMO
GOSI
GOSI9esm
Commits
acc4a1fb
Commit
acc4a1fb
authored
2 years ago
by
Guillaume Samson
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "ah_wslp2 variable not initialised when using ln_trcldf_OFF = .true. in TOP"
parent
b852bd0e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/OCE/LDF/ldfslp.F90
+5
-0
5 additions, 0 deletions
src/OCE/LDF/ldfslp.F90
src/OCE/TRA/traldf_iso.F90
+0
-5
0 additions, 5 deletions
src/OCE/TRA/traldf_iso.F90
src/OCE/TRA/traldf_triad.F90
+0
-5
0 additions, 5 deletions
src/OCE/TRA/traldf_triad.F90
with
5 additions
and
10 deletions
src/OCE/LDF/ldfslp.F90
+
5
−
0
View file @
acc4a1fb
...
@@ -684,6 +684,11 @@ CONTAINS
...
@@ -684,6 +684,11 @@ CONTAINS
ALLOCATE
(
ah_wslp2
(
jpi
,
jpj
,
jpk
)
,
akz
(
jpi
,
jpj
,
jpk
)
,
STAT
=
ierr
)
ALLOCATE
(
ah_wslp2
(
jpi
,
jpj
,
jpk
)
,
akz
(
jpi
,
jpj
,
jpk
)
,
STAT
=
ierr
)
IF
(
ierr
>
0
)
CALL
ctl_stop
(
'STOP'
,
'ldf_slp_init : unable to allocate ah_slp2 or akz'
)
IF
(
ierr
>
0
)
CALL
ctl_stop
(
'STOP'
,
'ldf_slp_init : unable to allocate ah_slp2 or akz'
)
!
!
DO_3D
(
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
1
,
jpk
)
akz
(
ji
,
jj
,
jk
)
=
0._wp
ah_wslp2
(
ji
,
jj
,
jk
)
=
0._wp
END_3D
!
IF
(
ln_traldf_triad
)
THEN
! Griffies operator : triad of slopes
IF
(
ln_traldf_triad
)
THEN
! Griffies operator : triad of slopes
IF
(
lwp
)
WRITE
(
numout
,
*
)
' ==>>> triad) operator (Griffies)'
IF
(
lwp
)
WRITE
(
numout
,
*
)
' ==>>> triad) operator (Griffies)'
ALLOCATE
(
triadi_g
(
jpi
,
jpj
,
jpk
,
0
:
1
,
0
:
1
)
,
triadj_g
(
jpi
,
jpj
,
jpk
,
0
:
1
,
0
:
1
)
,
&
ALLOCATE
(
triadi_g
(
jpi
,
jpj
,
jpk
,
0
:
1
,
0
:
1
)
,
triadj_g
(
jpi
,
jpj
,
jpk
,
0
:
1
,
0
:
1
)
,
&
...
...
This diff is collapsed.
Click to expand it.
src/OCE/TRA/traldf_iso.F90
+
0
−
5
View file @
acc4a1fb
...
@@ -145,11 +145,6 @@ CONTAINS
...
@@ -145,11 +145,6 @@ CONTAINS
IF
(
lwp
)
WRITE
(
numout
,
*
)
'tra_ldf_iso : rotated laplacian diffusion operator on '
,
cdtype
IF
(
lwp
)
WRITE
(
numout
,
*
)
'tra_ldf_iso : rotated laplacian diffusion operator on '
,
cdtype
IF
(
lwp
)
WRITE
(
numout
,
*
)
'~~~~~~~~~~~'
IF
(
lwp
)
WRITE
(
numout
,
*
)
'~~~~~~~~~~~'
ENDIF
ENDIF
!
DO_3D_OVR
(
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
1
,
jpk
)
akz
(
ji
,
jj
,
jk
)
=
0._wp
ah_wslp2
(
ji
,
jj
,
jk
)
=
0._wp
END_3D
ENDIF
ENDIF
!
!
IF
(
.NOT.
l_istiled
.OR.
ntile
==
1
)
THEN
! Do only on the first tile
IF
(
.NOT.
l_istiled
.OR.
ntile
==
1
)
THEN
! Do only on the first tile
...
...
This diff is collapsed.
Click to expand it.
src/OCE/TRA/traldf_triad.F90
+
0
−
5
View file @
acc4a1fb
...
@@ -147,11 +147,6 @@ CONTAINS
...
@@ -147,11 +147,6 @@ CONTAINS
!!----------------------------------------------------------------------
!!----------------------------------------------------------------------
!
!
IF
(
kpass
==
1
)
THEN
!== first pass only and whatever the tracer is ==!
IF
(
kpass
==
1
)
THEN
!== first pass only and whatever the tracer is ==!
!
DO_3D_OVR
(
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
1
,
jpk
)
akz
(
ji
,
jj
,
jk
)
=
0._wp
ah_wslp2
(
ji
,
jj
,
jk
)
=
0._wp
END_3D
!
!
DO
kp
=
0
,
1
! i-k triads
DO
kp
=
0
,
1
! i-k triads
DO_3D_OVR
(
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
1
,
jpkm1
)
DO_3D_OVR
(
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
nn_hls
-1
,
1
,
jpkm1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment