Changeset 3897 for branches/2013/dev_r3411_CNRS4_IOCRS/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcini_my_trc.F90
- Timestamp:
- 2013-05-02T16:29:49+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3411_CNRS4_IOCRS/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcini_my_trc.F90
r2787 r3897 44 44 IF(lwp) WRITE(numout,*) ' trc_ini_my_trc: initialisation of MY_TRC model' 45 45 IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' 46 47 !! BUG in s-coordinate this does not work! 48 ! deepest/shallowest W level Above/Below age_depth 49 nlb_age = MINLOC( gdepw_0, mask = gdepw_0 > age_depth, dim = 1 ) ! shallowest W level Below age_depth 50 ! = shallowest T level wholly below age_depth 51 nl_age = nlb_age - 1 ! deepest W level Above age_depth 52 ! = T level surrounding age_depth 53 nla_age = nl_age - 1 ! deepest T level wholly above age_depth 54 frac_kill_age = (age_depth - gdepw_0(nl_age))/e3t_0(nl_age) ! fraction of level nl_age above age_depth 55 frac_add_age = 1._wp - frac_kill_age ! fraction of level nl_age below age_depth 56 !! end bug 57 58 rryear = 1._wp / ( nyear_len(1) * rday ) 46 59 47 60 IF( .NOT. ln_rsttr ) trn(:,:,:,jp_myt0:jp_myt1) = 0.
Note: See TracChangeset
for help on using the changeset viewer.