#1466 closed Defect (wontfix)
default definition of nam_vvl
Reported by: | smasson | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | 2015 release-3.6 |
Component: | OCE | Version: | trunk |
Severity: | Keywords: | 2015 OPA v3.6 | |
Cc: |
Description
the logical namelist parameters of domvvl (nam_vvl namelist) have a default definition in domvvl.F90 and in namelist_ref.
!!* Namelist nam_vvl LOGICAL , PUBLIC :: ln_vvl_zstar = .FALSE. ! zstar vertical coordinate LOGICAL , PUBLIC :: ln_vvl_ztilde = .FALSE. ! ztilde vertical coordinate LOGICAL , PUBLIC :: ln_vvl_layer = .FALSE. ! level vertical coordinate LOGICAL , PUBLIC :: ln_vvl_ztilde_as_zstar = .FALSE. ! ztilde vertical coordinate LOGICAL , PUBLIC :: ln_vvl_zstar_at_eqtor = .FALSE. ! ztilde vertical coordinate LOGICAL , PUBLIC :: ln_vvl_kepe = .FALSE. ! kinetic/potential energy transfer LOGICAL , PUBLIC :: ln_vvl_dbg = .FALSE. ! debug control prints
As the introduction of namelist_ref was aiming to remove the "hidden" default definitions hard coded, I would suggest to suppress them also in domvvl.
Did I miss something?
Commit History (0)
(No commits)
Change History (8)
comment:1 Changed 8 years ago by smasson
comment:2 Changed 8 years ago by timgraham
Hi Seb,
This makes sense for both of the routines above where they are logicals but just a plea to be careful about removing the defaults in routines such as diaobs where the namelist fields are allocatable arrays:
enactfiles(:) = '' coriofiles(:) = '' profbfiles(:) = '' slafilesact(:) = '' slafilespas(:) = '' slafbfiles(:) = '' sstfiles(:) = '' sstfbfiles(:) = '' seaicefiles(:) = '' velcurfiles(:) = '' veladcpfiles(:) = '' velavcurfiles(:) = '' velhrcurfiles(:) = '' velavadcpfiles(:) = '' velhradcpfiles(:) = '' velfbfiles(:) = '' velcurfiles(:) = '' veladcpfiles(:) = '' endailyavtypes(:) = -1 endailyavtypes(1) = 820 ln_profb_ena(:) = .FALSE. ln_profb_enatim(:) = .TRUE. ln_velfb_av(:) = .FALSE.
In this case I don't think it's possible to do this in namelist_ref because the size of the arrays is dependent on the model run. This got broken in the past (although the OBS SETTE test should detect this now).
comment:3 Changed 8 years ago by mocavero
The default values have been added to fix the ticket #1392. The routine tra_adv uses the ln_vvl_ztilde parameter without conditioning to the lk_vvl key. However, ln_vvl_ztilde is read from the namelist only if the lk_vvl key is active.
comment:4 Changed 7 years ago by clevy
- Resolution set to wontfix
- Status changed from new to closed
comment:5 Changed 7 years ago by nicolasmartin
- Keywords 2015 nemo_v3_6* added
comment:6 Changed 6 years ago by nemo
- Keywords release-3.6* added; nemo_v3_6* removed
comment:7 Changed 6 years ago by nemo
- Keywords release-3.6 added; release-3.6* removed
comment:8 Changed 16 months ago by nemo
- Keywords OPA v3.6 added; release-3.6 removed
same story for asminc.F90