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.
#1114 (mismatch in array size and possibly uninitialized value in solsor.F90) – NEMO

Opened 11 years ago

Closed 7 years ago

#1114 closed Bug (wontfix)

mismatch in array size and possibly uninitialized value in solsor.F90

Reported by: avidard Owned by: gm
Priority: low Milestone:
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

in solsor.F90

line 140 one can find

ztab(:,:) = gcr(2:nlci-1,2:nlcj-1)

while ztab is (jpi,jpj). Since ztab is zeroed just before and only the max(ztab) is needed, I guess it does not really matter, but still it is not very nice.

additionnaly, in both convergence test, the computation of the residual res should be put out of the IF statement since it is used anyway in the output in solver.stat

Commit History (0)

(No commits)

Change History (2)

comment:1 Changed 11 years ago by clevy

  • Owner changed from NEMO team to gm

comment:2 Changed 7 years ago by clevy

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.