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 1573 for trunk/NEMO – NEMO

Changeset 1573 for trunk/NEMO


Ignore:
Timestamp:
2009-08-03T17:57:25+02:00 (15 years ago)
Author:
ctlod
Message:

Add a control on the nn_fwb parameter, it is related to ticket #501

Location:
trunk/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcfwb.F90

    r1553 r1573  
    8181            IF( kn_fwb == 1 )   WRITE(numout,*) '          instantaneously set to zero' 
    8282            IF( kn_fwb == 2 )   WRITE(numout,*) '          adjusted from previous year budget' 
    83             IF( kn_fwb == 3 )   WRITE(numout,*) '          set to zero and spread out over erp area' 
     83            IF( kn_fwb == 3 )   WRITE(numout,*) '          emp set to zero and spread out over erp area' 
     84            ! 
     85            IF( kn_fwb == 3 .AND. nn_sssr /= 2 )   & 
     86               &   CALL ctl_stop( 'The option nn_fwb = 3 must be associated to nn_sssr = 2 ' ) 
     87             
    8488         ENDIF 
    8589         ! 
  • trunk/NEMO/OPA_SRC/SBC/sbcssr.F90

    r1554 r1573  
    3232   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   qrp      !: heat flux damping        [w/m2] 
    3333 
    34    !                              !!* Namelist namsbc_ssr * 
    35    INTEGER ::   nn_sstr, nn_sssr   ! SST/SSS restoring indicator 
    36    REAL(wp) ::  dqdt   , deds      ! restoring factor on SST and SSS 
    37    LOGICAL ::   ln_sssr_bnd        ! flag to bound erp term  
    38    REAL(wp) ::  rn_sssr_bnd        ! ABS(Max./Min.) value of erp term [mm/day] 
     34   !                                      !!* Namelist namsbc_ssr * 
     35   INTEGER, PUBLIC ::   nn_sstr, nn_sssr   ! SST/SSS restoring indicator 
     36   REAL(wp)        ::   dqdt, deds         ! restoring factor on SST and SSS 
     37   LOGICAL         ::   ln_sssr_bnd        ! flag to bound erp term  
     38   REAL(wp)        ::   rn_sssr_bnd        ! ABS(Max./Min.) value of erp term [mm/day] 
    3939 
    4040   REAL(wp) , ALLOCATABLE, DIMENSION(:) ::   buffer   ! Temporary buffer for exchange 
Note: See TracChangeset for help on using the changeset viewer.