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 811 for branches/dev_001_SBC/NEMO/NST_SRC/agrif_user.F90 – NEMO

Ignore:
Timestamp:
2008-02-07T17:00:12+01:00 (16 years ago)
Author:
ctlod
Message:

dev_001_SBC: merge with the trunk last changesets: #780, 782, 783, 784, 785, 788, 789, 793, 794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_SBC/NEMO/NST_SRC/agrif_user.F90

    r699 r811  
    6868      USE ice_oce 
    6969#endif 
    70 #if defined key_agrif 
    7170      USE agrif_opa_update 
    7271      USE agrif_opa_interp 
     
    7473      USE agrif_top_update 
    7574      USE agrif_top_interp 
    76 #endif 
    7775 
    7876      IMPLICIT NONE 
     
    9290 
    9391      Call opa_init  ! Initializations of each fine grid 
     92      Call agrif_opa_init 
    9493 
    9594      ! Specific fine grid Initializations 
     
    314313   End SUBROUTINE Agrif_detect 
    315314 
     315   SUBROUTINE agrif_opa_init 
     316      !!--------------------------------------------- 
     317      !!   *** ROUTINE agrif_init *** 
     318      !!--------------------------------------------- 
     319      USE agrif_oce  
     320      USE in_out_manager 
     321 
     322      IMPLICIT NONE 
     323 
     324      NAMELIST/namagrif/ nbclineupdate, visc_tra, visc_dyn, ln_spc_dyn 
     325 
     326      REWIND ( numnam ) 
     327      READ   ( numnam, namagrif ) 
     328      IF(lwp) THEN 
     329         WRITE(numout,*) 
     330         WRITE(numout,*) 'agrif_opa_init : agrif parameters' 
     331         WRITE(numout,*) '~~~~~~~~~~~~' 
     332         WRITE(numout,*) '          Namelist namagrif : set agrif parameters' 
     333         WRITE(numout,*) '             baroclinic update frequency          =  ', nbclineupdate 
     334         WRITE(numout,*) '             sponge coefficient for tracers       =  ', visc_tra 
     335         WRITE(numout,*) '             sponge coefficient for dynamics      =  ', visc_dyn 
     336         WRITE(numout,*) '             use special values for dynamics      =  ', ln_spc_dyn 
     337         WRITE(numout,*)  
     338      ENDIF 
     339 
     340    END SUBROUTINE agrif_opa_init 
    316341#if defined key_mpp_mpi 
    317  
    318342   SUBROUTINE Agrif_InvLoc(indloc,nprocloc,i,indglob) 
    319343      !!------------------------------------------ 
     
    338362 
    339363   END SUBROUTINE Agrif_InvLoc 
    340  
    341 #endif 
    342  
     364#endif 
    343365#else 
    344366   SUBROUTINE Subcalledbyagrif 
Note: See TracChangeset for help on using the changeset viewer.