Remove the wetting & drying iterative limiter option (ln_wd_il) option
Remove the wetting & drying iterative limiter option (ln_wd_il) option
Task #189 from the merge fiesta #180 (closed). This is to remove the ln_wd_il (iterative limiter) from the wetting and drying option and to remove all code made redundant by its removal. Do this initially for branch_4.2 in preparation for release 4.2.1
-
Reference configuration/test case (to add, chosen or used as template) -
Modifications of versioned files: Fortran routines ( *.[Ffh]90
), namelists (namelist\_*cfg
), outputs settings (*.xml
), ... -
Additional dependencies -
New datasets -
Any other relevant information
Proposal
The full list of modified files will be:
# modified: cfgs/SHARED/namelist_ref
# modified: src/OCE/DOM/domvvl.F90
# modified: src/OCE/DYN/dynhpg.F90
# modified: src/OCE/DYN/dynspg_ts.F90
# modified: src/OCE/DYN/sshwzv.F90
# modified: src/OCE/DYN/wet_dry.F90
# modified: src/SWE/nemogcm.F90
# modified: tests/WAD/EXPREF/namelist_cfg
# modified: tests/WAD/MY_DOCS/Namelists/nam_wad
Many just involve the removal of references to ln_wd_il
. Greater changes occur in:
-
domvvl.F90
where constructs such as( umask(ji,jj,jk) * (1.0_wp - zlnwd) + zlnwd )
will now always compute toumask(ji,jj,jk)
and so code can be simplified. -
dynhpg.F90
where large sections of code only activated forln_wd_il=T
can be removed -
dynspg_ts.F90
where large sections of code only activated forln_wd_il=T
can be removed (including the wad_spg subroutine) -
wet_dry.F90
where redundant routineswad_lmt
andwad_lmt_bt
can be removed
Note the namelist parameter nn_wdit
can also be removed.