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 10047 for branches/NERC/dev_r5518_GO6_under_ice_relax/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90 – NEMO

Ignore:
Timestamp:
2018-08-08T17:12:35+02:00 (6 years ago)
Author:
jpalmier
Message:

merge with GO6_package_branch 9385-10020 ; plus debug OMIP_DIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_GO6_under_ice_relax/NEMOGCM/NEMO/OPA_SRC/TRA/trabbc.F90

    r6486 r10047  
    134134      INTEGER  ::   ierror              ! local integer 
    135135      ! 
    136       TYPE(FLD_N)        ::   sn_qgh    ! informations about the geotherm. field to be read 
    137       CHARACTER(len=256) ::   cn_dir    ! Root directory for location of ssr files 
     136      TYPE(FLD_N), DIMENSION (1)  ::   slf_q     ! array of namelist informations on the fields to read 
     137      TYPE(FLD_N)                 ::   sn_qgh    ! informations about the geotherm. field to be read 
     138      CHARACTER(len=256)          ::   cn_dir    ! Root directory for location of ssr files 
    138139      ! 
    139140      NAMELIST/nambbc/ln_trabbc, nn_geoflx, rn_geoflx_cst, sn_qgh, cn_dir  
     
    173174            IF(lwp) WRITE(numout,*) '      *** variable geothermal heat flux' 
    174175            ! 
     176            slf_q(1) = sn_qgh 
     177            ! 
    175178            ALLOCATE( sf_qgh(1), STAT=ierror ) 
    176179            IF( ierror > 0 ) THEN 
     
    179182            ENDIF 
    180183            ALLOCATE( sf_qgh(1)%fnow(jpi,jpj,1)   ) 
    181             IF( sn_qgh%ln_tint )ALLOCATE( sf_qgh(1)%fdta(jpi,jpj,1,2) ) 
     184            IF( slf_q(1)%ln_tint )   ALLOCATE( sf_qgh(1)%fdta(jpi,jpj,1,2) ) 
    182185            ! fill sf_chl with sn_chl and control print 
    183             CALL fld_fill( sf_qgh, (/ sn_qgh /), cn_dir, 'tra_bbc_init',   & 
     186            CALL fld_fill( sf_qgh, slf_q, cn_dir, 'tra_bbc_init',   & 
    184187               &          'bottom temperature boundary condition', 'nambbc' ) 
    185188 
Note: See TracChangeset for help on using the changeset viewer.