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/SBC/flx_forced_daily.h90 – 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/SBC/flx_forced_daily.h90

    r247 r389  
    118118         ! Close/open file if new year  
    119119 
    120          IF( nyearflx /= 0 )   CALL flinclo(numflx) 
     120         IF( nyearflx /= 0 .AND. kt /= nit000 )   CALL flinclo(numflx) 
    121121 
    122122         iy = nyear 
    123123         IF(lwp) WRITE (numout,*) iy 
    124124         WRITE(clname,'("flx_1d.nc")')  
     125#if defined key_AGRIF 
     126      if ( .NOT. Agrif_Root() ) then 
     127         clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 
     128      endif 
     129#endif          
    125130         IF(lwp) WRITE (numout,*)' open flx file = ',clname 
    126131         CALL FLUSH(numout) 
     
    172177                  WRITE(numout,*) 
    173178                  WRITE(numout,*) ' Q * .1, day: ',ndastp 
    174                   CALL prihre(flxdta(1,1,1),jpi,jpj,1,jpi,20,1,jpj,10,.1,numout) 
     179                  CALL prihre(flxdta(:,:,1),jpi,jpj,1,jpi,20,1,jpj,10,.1,numout) 
    175180                  WRITE(numout,*) 
    176181                  WRITE(numout,*) ' QSR * .1, day: ',ndastp 
    177                   CALL prihre(flxdta(1,1,2),jpi,jpj,1,jpi,20,1,jpj,10,.1,numout) 
     182                  CALL prihre(flxdta(:,:,2),jpi,jpj,1,jpi,20,1,jpj,10,.1,numout) 
    178183                  WRITE(numout,*) 
    179184                  WRITE(numout,*) ' E-P *86400, day: ',ndastp 
    180                   CALL prihre(flxdta(1,1,3),jpi,jpj,1,jpi,20,1,jpj,10,86400.,numout) 
     185                  CALL prihre(flxdta(:,:,3),jpi,jpj,1,jpi,20,1,jpj,10,86400.,numout) 
    181186                  WRITE(numout,*) ' ' 
    182187               ENDIF 
Note: See TracChangeset for help on using the changeset viewer.