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.
ticket/1851/General (diff) – NEMO

Changes between Version 8 and Version 9 of ticket/1851/General


Ignore:
Timestamp:
2017-02-22T15:47:19+01:00 (7 years ago)
Author:
frrh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ticket/1851/General

    v8 v9  
    110110 
    111111So the fact that our original code runs at all is pure blind luck! 
    112 This all looks very unsafe but I can't find a way to keep it in bounds w/o altering results....! 
     112This all looks very unsafe but I can't find a way to keep it in bounds when setting up the indexes w/o altering results....! 
     113The only way I can do it is by introducing a check in scatter_global_ext (which is the variant issuing the error) to explicitly exclude negative J indices. That works OK but it seems a bit of a cludge.   
    113114