New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2431 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC – NEMO

Ignore:
Timestamp:
2010-11-25T13:45:32+01:00 (14 years ago)
Author:
cetlod
Message:

Improve the Offline together with the 1D vertical configuration

Location:
branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC/domain.F90

    r2287 r2431  
    222222      ENDIF 
    223223 
    224       n_cla = nn_cla                ! conversion DOCTOR names into model names (this should disappear soon) 
    225  
    226       IF( lk_mpp_rep .AND. n_cla /= 0 )   CALL ctl_stop( ' Reproductibility tests (nbit_cmp=1) require n_cla = 0' ) 
     224      IF( lk_mpp_rep .AND. nn_cla /= 0 )   CALL ctl_stop( ' Reproductibility tests (nbit_cmp=1) require n_cla = 0' ) 
    227225      ! 
    228226   END SUBROUTINE dom_nam 
     
    268266      IF( ln_sco ) ioptio = ioptio + 1 
    269267      IF ( ioptio /= 1 )   CALL ctl_stop( ' none or several vertical coordinate options used' ) 
    270  
    271       IF( nprint == 1 .AND. lwp )   THEN 
    272          WRITE(numout,*) ' MIN val mbathy ', MINVAL( mbathy(:,:) ), ' MAX ', MAXVAL( mbathy(:,:) ) 
    273          WRITE(numout,*) ' MIN val depth t ', MINVAL( fsdept(:,:,:) ),   & 
    274             &                   ' w ',   MINVAL( fsdepw(:,:,:) ), '3w ', MINVAL( fsde3w(:,:,:) ) 
    275          WRITE(numout,*) ' MIN val e3    t ', MINVAL( fse3t(:,:,:) ), ' f ', MINVAL( fse3f(:,:,:) ),  & 
    276             &                   ' u ',   MINVAL( fse3u(:,:,:) ), ' u ', MINVAL( fse3v(:,:,:) ),  & 
    277             &                   ' w ',   MINVAL( fse3w(:,:,:) ) 
    278  
    279          WRITE(numout,*) ' MAX val depth t ', MAXVAL( fsdept(:,:,:) ),   & 
    280             &                   ' w ',   MAXVAL( fsdepw(:,:,:) ), '3w ', MAXVAL( fsde3w(:,:,:) ) 
    281          WRITE(numout,*) ' MAX val e3    t ', MAXVAL( fse3t(:,:,:) ), ' f ', MAXVAL( fse3f(:,:,:) ),  & 
    282             &                   ' u ',   MAXVAL( fse3u(:,:,:) ), ' u ', MAXVAL( fse3v(:,:,:) ),  & 
    283             &                   ' w ',   MAXVAL( fse3w(:,:,:) ) 
    284       ENDIF 
    285268 
    286269   END SUBROUTINE dom_zgr 
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC/domrea.F90

    r2287 r2431  
    8686         inum4                      ! 'mesh_zgr.nc'  file 
    8787  
    88       REAL(wp), DIMENSION(jpi,jpj) :: & 
    89          zprt 
    90       INTEGER :: ik 
     88      REAL(wp), DIMENSION(jpi,jpj) :: zprt 
     89      REAL(wp) ::   zrefdep         ! depth of the reference level (~10m) 
     90      INTEGER  :: ik 
    9191      !!---------------------------------------------------------------------- 
    9292 
     
    260260         ENDIF 
    261261 
     262!!gm BUG in s-coordinate this does not work! 
     263      ! deepest/shallowest W level Above/Below ~10m 
     264      zrefdep = 10. - ( 0.1*MINVAL(e3w_0) )                          ! ref. depth with tolerance (10% of minimum layer thickness) 
     265      nlb10 = MINLOC( gdepw_0, mask = gdepw_0 > zrefdep, dim = 1 )   ! shallowest W level Below ~10m 
     266      nla10 = nlb10 - 1                                              ! deepest    W level Above ~10m 
     267!!gm end bug 
    262268 
    263269      ! Control printing : Grid informations (if not restart) 
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OFF_SRC/opa.F90

    r2287 r2431  
    3838   USE dtadyn          ! Lecture and interpolation of the dynamical fields 
    3939   USE stpctl          ! time stepping control            (stp_ctl routine) 
     40 
     41   USE c1d             ! 1D configuration 
    4042 
    4143   USE iom 
     
    335337         END SELECT 
    336338      ENDIF 
     339      ! 
     340      IF( lk_c1d .AND. .NOT. lk_iomput )  & 
     341        CALL ctl_stop( ' The 1D vertical configuration must be used in conjunction',   & 
     342            &          ' with the IOM Input/Output manager. Compile with key_iomput enabled' ) 
     343      ! 
    337344 
    338345   END SUBROUTINE opa_flg 
Note: See TracChangeset for help on using the changeset viewer.