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 10534 for NEMO/trunk/src/ICE/icethd_zdf.F90 – NEMO

Ignore:
Timestamp:
2019-01-16T17:49:45+01:00 (5 years ago)
Author:
clem
Message:

change some more names in the ice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/ICE/icethd_zdf.F90

    r10069 r10534  
    5757      CASE( np_BL99 )               ! BL99 solver ! 
    5858         !                          !-------------! 
    59          SELECT CASE( nice_jules ) 
    60          !                         ! No Jules coupler ==> default option 
    61          CASE( np_jules_OFF    )   ;   CALL ice_thd_zdf_BL99 ( np_jules_OFF    ) 
    62          ! 
    63          !                         ! Jules coupler is emulated => 1st call to get the needed fields (conduction...) 
    64          !                                                        2nd call to use these fields to calculate heat diffusion    
    65          CASE( np_jules_EMULE  )   ;   CALL ice_thd_zdf_BL99 ( np_jules_EMULE  ) 
    66                                        CALL ice_thd_zdf_BL99 ( np_jules_ACTIVE ) 
    67          ! 
    68          !                         ! Jules coupler is active ==> Met Office default option 
    69          CASE( np_jules_ACTIVE )   ;   CALL ice_thd_zdf_BL99 ( np_jules_ACTIVE ) 
    70          ! 
    71          END SELECT 
     59         IF( .NOT.ln_cndflx ) THEN                           ! No conduction flux ==> default option 
     60            CALL ice_thd_zdf_BL99( np_cnd_OFF ) 
     61         ELSEIF( ln_cndflx .AND. .NOT.ln_cndemulate ) THEN   ! Conduction flux as surface boundary condition ==> Met Office default option 
     62            CALL ice_thd_zdf_BL99( np_cnd_ON  ) 
     63         ELSEIF( ln_cndflx .AND.      ln_cndemulate ) THEN   ! Conduction flux is emulated  
     64            CALL ice_thd_zdf_BL99( np_cnd_EMU ) 
     65            CALL ice_thd_zdf_BL99( np_cnd_ON  ) 
     66         ENDIF 
    7267         ! 
    7368      END SELECT 
Note: See TracChangeset for help on using the changeset viewer.