Opened 13 years ago
Closed 13 years ago
#716 closed Bug (fixed)
dimension declarion in obc_oce.F90
Reported by: | dupontf | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | OCE | Version: | v3.2 |
Severity: | Keywords: | ||
Cc: |
Description
In obc_oce.F90, the boundary variables for time-splitting are declared (let's take the example of the eastern boundary) with dimension of jpjed:jpjef (line 89). However the index jj in obcfla runs from 1 to jpj. There are therefore an out-of-bound error. These variables should be declared with jpj dimension.
Same for the other 3 boundaries.
Now variable sshfon_b: dimension declaration is [jpind:jpinf,jpj] but this also generates an out-of-bound error at ji=1. A quick fix is [jpi,jpj]. Maybe one point width would be sufficient for this variables as well... so [jpi] as dimension should suffice, but then obcfla and obcdyn_bt.F90 would need to be corrected for the unused indices.
Same for the southern boundary boundary and for consistency, all 4.
Fred.
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
2166 | rblod | 2010-10-06T15:29:14+02:00 |