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 5196 for branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2015-04-07T10:28:07+02:00 (9 years ago)
Author:
pabouttier
Message:

Add SEABASS reference configuration for this NEMO version for now; See Ticket #1505

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r3690 r5196  
    101101        IF( lk_cice )   nn_ice      = 4 
    102102      ENDIF 
    103       IF( cp_cfg == 'gyre' ) THEN            ! GYRE configuration 
     103      IF( cp_cfg == 'gyre' .OR. cp_cfg == 'seabass' ) THEN            ! GYRE configuration 
    104104          ln_ana      = .TRUE.    
    105105          nn_ice      =   0 
     
    178178      IF( ln_blk_mfs      ) THEN   ;   nsbc =  6   ; icpt = icpt + 1   ;   ENDIF       ! MFS  bulk       formulation 
    179179      IF( ln_cpl          ) THEN   ;   nsbc =  5   ; icpt = icpt + 1   ;   ENDIF       ! Coupled         formulation 
    180       IF( cp_cfg == 'gyre') THEN   ;   nsbc =  0                       ;   ENDIF       ! GYRE analytical formulation 
     180      IF( cp_cfg == 'gyre' .OR. cp_cfg == 'seabass' ) THEN   ;   nsbc =  0                       ;   ENDIF       ! GYRE analytical formulation 
    181181      IF( lk_esopa        )            nsbc = -1                                       ! esopa test, ALL formulations 
    182182      ! 
     
    256256      SELECT CASE( nsbc )                                ! Compute ocean surface boundary condition 
    257257      !                                                  ! (i.e. utau,vtau, qns, qsr, emp, emps) 
    258       CASE(  0 )   ;   CALL sbc_gyre    ( kt )                    ! analytical formulation : GYRE configuration 
     258      CASE(  0 )   ;                                     ! analytical formulation : GYRE or  
     259                                                         ! SEABASS configurations 
     260         IF (cp_cfg == 'gyre') THEN 
     261            CALL sbc_gyre    ( kt )                    ! analytical formulation : GYRE configuration 
     262         ELSEIF (cp_cfg == 'seabass') THEN 
     263            CALL sbc_seabass     ( kt ) 
     264         ENDIF 
    259265      CASE(  1 )   ;   CALL sbc_ana     ( kt )                    ! analytical formulation : uniform sbc 
    260266      CASE(  2 )   ;   CALL sbc_flx     ( kt )                    ! flux formulation 
Note: See TracChangeset for help on using the changeset viewer.