Opened 21 months ago
Closed 20 months ago
#2670 closed Bug (fixed)
use of jpim1/jpjm1 in dynspg_ts
Reported by: | smasson | Owned by: | systeam |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | DYN | Version: | trunk |
Severity: | minor | Keywords: | |
Cc: |
Description (last modified by smasson)
Context
There is still implicit loops in dynspg_ts that are using jpim1/jpjm1.
This creates errors (in debug mode) when nn_hls > 1.
I thought these variables should no more be used in the code...
Analysis
in
zhU(1:jpim1,1:jpj ) = e2u(1:jpim1,1:jpj ) * ua_e(1:jpim1,1:jpj ) * zhup2_e(1:jpim1,1:jpj ) ! not jpi-column
we use zhup2_e(1:jpim1,1:jpj ) that was computed above in a DO_2D( 1, 0, 1, 1 ) loop.
=> zhup2_e not defined in jpj when nn_hls = 2
Recommendation
suppress jpim1 et jpjm1 from the code!
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
15018 | smasson | 2021-06-18T12:26:11+02:00 | trunk: supress jpim1/jpjm1 in dynspg_ts, #2670 |
Change History (3)
comment:1 Changed 21 months ago by smasson
- Description modified (diff)
comment:2 Changed 20 months ago by smasson
comment:3 Changed 20 months ago by smasson
- Resolution set to fixed
- Status changed from new to closed
to be continued in #2699
Note: See
TracTickets for help on using
tickets.
In 15018: