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/dtatem.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/dtatem.F90

    r247 r389  
    2828 
    2929   !! * Module variables 
    30    CHARACTER (len=38) ::   & 
    31       cl_tdata = 'data_1m_potential_temperature_nomask ' 
     30   CHARACTER (len=45) ::   & 
     31      cl_tdata 
    3232   INTEGER ::   & 
    3333      nlecte =  0,   &  ! switch for the first read 
     
    9898      !!---------------------------------------------------------------------- 
    9999 
     100      cl_tdata = 'data_1m_potential_temperature_nomask ' 
     101 
     102#if defined key_AGRIF 
     103      if ( .NOT. Agrif_Root() ) then 
     104         cl_tdata = TRIM(Agrif_CFixed())//'_'//TRIM(cl_tdata) 
     105      endif 
     106#endif          
    100107 
    101108      ! 0. Initialization 
     
    262269            WRITE(numout,*) 
    263270            WRITE(numout,*) ' Levitus month = ', ntem1, '  level = 1' 
    264             CALL prihre( temdta(1,1,1,1), jpi, jpj, 1, jpi, 20, 1, jpj, 20, 1., numout ) 
     271            CALL prihre( temdta(:,:,1,1), jpi, jpj, 1, jpi, 20, 1, jpj, 20, 1., numout ) 
    265272            WRITE(numout,*) ' Levitus month = ', ntem1, '  level = ', jpk/2 
    266             CALL prihre( temdta(1,1,jpk/2,1), jpi, jpj, 1, jpi, 20, 1, jpj, 20, 1., numout ) 
     273            CALL prihre( temdta(:,:,jpk/2,1), jpi, jpj, 1, jpi, 20, 1, jpj, 20, 1., numout ) 
    267274            WRITE(numout,*) ' Levitus month = ',ntem1,'  level = ', jpkm1 
    268             CALL prihre( temdta(1,1,jpkm1,1), jpi, jpj, 1, jpi, 20, 1, jpj, 20, 1., numout ) 
     275            CALL prihre( temdta(:,:,jpkm1,1), jpi, jpj, 1, jpi, 20, 1, jpj, 20, 1., numout ) 
    269276         ENDIF 
    270277      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.