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 6595 for branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/NEMO/OPA_SRC/SBC – NEMO

Ignore:
Timestamp:
2016-05-22T08:57:02+02:00 (8 years ago)
Author:
gm
Message:

#1692 - branch SIMPLIF_2_usrdef: add namusr_def, domain size read in file, interface with arguments for hgr_read and usr_def_hgr

Location:
branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_oce.F90

    r6583 r6595  
    3030   !!---------------------------------------------------------------------- 
    3131   !                                   !!* namsbc namelist * 
    32    LOGICAL , PUBLIC ::   ln_ana         !: user defined formulation 
     32   LOGICAL , PUBLIC ::   ln_usr         !: user defined formulation 
    3333   LOGICAL , PUBLIC ::   ln_flx         !: flux         formulation 
    3434   LOGICAL , PUBLIC ::   ln_blk_clio    !: CLIO bulk    formulation 
     
    7272   !!           switch definition (improve readability) 
    7373   !!---------------------------------------------------------------------- 
    74    INTEGER , PUBLIC, PARAMETER ::   jp_ana     = 1        !: user defined                  formulation 
     74   INTEGER , PUBLIC, PARAMETER ::   jp_usr     = 1        !: user defined                  formulation 
    7575   INTEGER , PUBLIC, PARAMETER ::   jp_flx     = 2        !: flux                          formulation 
    7676   INTEGER , PUBLIC, PARAMETER ::   jp_clio    = 3        !: CLIO bulk                     formulation 
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r6583 r6595  
    8787      INTEGER ::   icpt   ! local integer 
    8888      !! 
    89       NAMELIST/namsbc/ nn_fsbc  , ln_ana   , ln_flx, ln_blk_clio, ln_blk_core, ln_blk_mfs,   & 
     89      NAMELIST/namsbc/ nn_fsbc  , ln_usr   , ln_flx, ln_blk_clio, ln_blk_core, ln_blk_mfs,   & 
    9090         &             ln_cpl   , ln_mixcpl, nn_components      , nn_limflx  ,               & 
    9191         &             ln_traqsr, ln_dm2dc ,                                                 &   
     
    125125         WRITE(numout,*) '           frequency update of sbc (and ice)             nn_fsbc     = ', nn_fsbc 
    126126         WRITE(numout,*) '           Type of air-sea fluxes : ' 
    127          WRITE(numout,*) '              user defined formulation                   ln_ana        = ', ln_ana 
     127         WRITE(numout,*) '              user defined formulation                   ln_usr        = ', ln_usr 
    128128         WRITE(numout,*) '              flux         formulation                   ln_flx        = ', ln_flx 
    129129         WRITE(numout,*) '              CLIO bulk    formulation                   ln_blk_clio   = ', ln_blk_clio 
     
    220220      ! 
    221221      icpt = 0 
    222       IF( ln_ana          ) THEN   ;   nsbc = jp_ana     ; icpt = icpt + 1   ;   ENDIF       ! user defined         formulation 
     222      IF( ln_usr          ) THEN   ;   nsbc = jp_usr     ; icpt = icpt + 1   ;   ENDIF       ! user defined         formulation 
    223223      IF( ln_flx          ) THEN   ;   nsbc = jp_flx     ; icpt = icpt + 1   ;   ENDIF       ! flux                 formulation 
    224224      IF( ln_blk_clio     ) THEN   ;   nsbc = jp_clio    ; icpt = icpt + 1   ;   ENDIF       ! CLIO bulk            formulation 
     
    234234         WRITE(numout,*) 
    235235         SELECT CASE( nsbc ) 
    236          CASE( jp_ana     )   ;   WRITE(numout,*) '   user defined formulation' 
     236         CASE( jp_usr     )   ;   WRITE(numout,*) '   user defined formulation' 
    237237         CASE( jp_flx     )   ;   WRITE(numout,*) '   flux formulation' 
    238238         CASE( jp_clio    )   ;   WRITE(numout,*) '   CLIO bulk formulation' 
     
    331331      SELECT CASE( nsbc )                                ! Compute ocean surface boundary condition 
    332332      !                                                  ! (i.e. utau,vtau, qns, qsr, emp, sfx) 
    333       CASE( jp_ana   )   ;   CALL usr_def_sbc ( kt )                    ! user defined formulation  
     333      CASE( jp_usr   )   ;   CALL usr_def_sbc ( kt )                    ! user defined formulation  
    334334      CASE( jp_flx   )   ;   CALL sbc_flx     ( kt )                    ! flux formulation 
    335335      CASE( jp_clio  )   ;   CALL sbc_blk_clio( kt )                    ! bulk formulation : CLIO for the ocean 
Note: See TracChangeset for help on using the changeset viewer.