Opened 9 years ago

Closed 9 years ago

#915 closed Bug (fixed)

3.4beta : sbcana : some variables are unititialized after restart.

Reported by: molines Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.4
Severity: Keywords:
Cc: Branch review:
MP ready?: Task progress:


In sbcana, variables utau, vtau, taum and wndm are modified for a gentle increase for kt ⇐ nn_tau000, which is fine at cold start.

When performing a restart ( and if kt is then > nn_tau000 !) utau, vtau, taum, wndm are not initialized but used later in the code (eg utau, vtau in dynzdf_imp).

I suggest to initialized those values from namelist read variables for kt=nit0000. By the way, probably, qns, qsr, emp, emps can also be initialized for kt=nit000, and not necessarily every time step.

Proposition attached..

Commit History (1)


dev_NEMO_MERGE_2011:Correction of wrong initialisation in sbcana.F90, see ticket #915

Attachments (1)

sbcana.F90 (15.4 KB) - added by molines 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by molines

comment:1 Changed 9 years ago by cetlod

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