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/DTA/dtasal.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/DTA/dtasal.F90

    r247 r389  
    121121          
    122122         clname = 'data_1m_salinity_nomask' 
     123#if defined key_AGRIF 
     124         if ( .NOT. Agrif_Root() ) then 
     125            clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 
     126         endif 
     127#endif           
    123128         CALL flinopen(TRIM(clname),mig(1),nlci,mjg(1),nlcj,.FALSE.   & 
    124129              ,ipi,ipj,ipk,zlon,zlat,zlev,itime,istep,zdate0,rdt,numsdt) 
     
    270275            WRITE(numout,*) 
    271276            WRITE(numout,*) ' Levitus month = ',nsal1,'  level = 1' 
    272             CALL prihre(saldta(1,1,1,1),jpi,jpj,1,jpi,20,1,jpj,20,1.,numout) 
     277            CALL prihre(saldta(:,:,1,1),jpi,jpj,1,jpi,20,1,jpj,20,1.,numout) 
    273278            WRITE(numout,*) ' Levitus month = ',nsal1,'  level = ',jpk/2 
    274             CALL prihre(saldta(1,1,jpk/2,1),jpi,jpj,1,jpi,20,1,jpj,20,1.,numout) 
     279            CALL prihre(saldta(:,:,jpk/2,1),jpi,jpj,1,jpi,20,1,jpj,20,1.,numout) 
    275280            WRITE(numout,*) ' Levitus month = ',nsal1,'  level = ',jpkm1 
    276             CALL prihre(saldta(1,1,jpkm1,1),jpi,jpj,1,jpi,20,1,jpj,20,1.,numout) 
     281            CALL prihre(saldta(:,:,jpkm1,1),jpi,jpj,1,jpi,20,1,jpj,20,1.,numout) 
    277282         ENDIF 
    278283      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.