New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10863 for branches – NEMO

Changeset 10863 for branches


Ignore:
Timestamp:
2019-04-11T17:11:22+02:00 (5 years ago)
Author:
frrh
Message:

Correct jk starting index so that operations don't go OOB on rab_n, etc.
This at least should prevent OOB ops. Whether it's a final valid solution is
still TBA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_fix_diaar5/NEMOGCM/NEMO/OPA_SRC/DIA/diaar5.F90

    r7563 r10863  
    211211             DO ji=1,jpi 
    212212                DO jj=1,jpj 
    213                    DO jk=1,jpk 
     213                   DO jk=2,jpk 
    214214                      zrw =   ( fsdepw(ji,jj,jk  ) - fsdept(ji,jj,jk) )   & 
    215215                         &  / ( fsdept(ji,jj,jk-1) - fsdept(ji,jj,jk) ) 
Note: See TracChangeset for help on using the changeset viewer.