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 389 for trunk/NEMO/OPA_SRC/TRA/trabbc.F90 – NEMO

Ignore:
Timestamp:
2006-03-09T18:22:04+01:00 (18 years ago)
Author:
opalod
Message:

RB:nemo_v1_update_038: first integration of Agrif :

  • configuration parameters are just integer when agrif is used
  • add call to agrif routines with key_agrif
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/trabbc.F90

    r352 r389  
    189189         ! read the geothermal fluxes in mW/m2 
    190190         clname = 'geothermal_heating' 
     191#if defined key_AGRIF 
     192      if ( .NOT. Agrif_Root() ) then 
     193         clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 
     194      endif 
     195#endif     
    191196         itime = 1 
    192197         zlamt(:,:) = 0. 
     
    195200         CALL restini( clname, jpidta, jpjdta, zlamt, zphit, 1, zdept , 'NONE',   & 
    196201            &          itime, zdate0, zdt, inum, domain_id=nidom ) 
    197          CALL restget( inum, 'heatflow', jpidta, jpjdta, 1, 0, .FALSE., zdta ) 
     202         CALL restget( inum, 'heatflow', jpidta, jpjdta, 1, itime, .FALSE., zdta ) 
    198203         DO jj = 1, nlcj 
    199204            DO ji = 1, nlci 
Note: See TracChangeset for help on using the changeset viewer.