Opened 12 years ago
Closed 12 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: | v3.4 |
Severity: | Keywords: | ||
Cc: |
Description
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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
3273 | cetlod | 2012-01-23T10:36:24+01:00 | dev_NEMO_MERGE_2011:Correction of wrong initialisation in sbcana.F90, see ticket #915 |
Attachments (1)
Change History (2)
Changed 12 years ago by molines
comment:1 Changed 12 years ago by cetlod
- Resolution set to fixed
- Status changed from new to closed