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 5601 for branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcwri_my_trc.F90 – NEMO

Ignore:
Timestamp:
2015-07-16T11:04:29+02:00 (9 years ago)
Author:
cbricaud
Message:

commit changes/bugfix/... for crs ; ok with time-splitting/fixed volume

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcwri_my_trc.F90

    r5105 r5601  
    1414   USE trc         ! passive tracers common variables  
    1515   USE oce_trc 
    16    USE crs, ONLY : ln_crs 
     16   USE crs, ONLY : ln_crs,ln_crs_top,ahtt_crs,ahtu_crs,ahtv_crs,ahtw_crs,jpi_crs,jpj_crs 
     17   USE iom, ONLY : iom_swap, iom_put 
    1718 
    1819   IMPLICIT NONE 
     
    3334      INTEGER              :: jn 
    3435      !!--------------------------------------------------------------------- 
    35       IF( ln_crs ) CALL iom_swap( "nemo_crs" ) 
     36      IF( ln_crs_top ) CALL iom_swap( "nemo_crs" ) 
     37 
     38      CALL iom_put("ahtt_crs",ahtt_crs) 
     39      CALL iom_put("ahtu_crs",ahtu_crs) 
     40      CALL iom_put("ahtv_crs",ahtv_crs) 
     41      CALL iom_put("ahtw_crs",ahtw_crs) 
     42 
    3643  
    3744      ! write the tracer concentrations in the file 
     
    4047         cltra = TRIM( ctrcnm(jn) )                  ! short title for tracer 
    4148         IF( lk_vvl ) THEN 
    42             CALL iom_put( cltra, trn(:,:,:,jn) * fse3t_n(:,:,:) ) 
     49            CALL iom_put( TRIM(cltra), trn(:,:,:,jn) * fse3t_n(:,:,:) ) 
    4350         ELSE 
    4451            CALL iom_put( TRIM(cltra), trn(:,:,:,jn) ) 
     
    4653      END DO 
    4754      ! 
    48       IF( ln_crs ) CALL iom_swap( "nemo" ) 
     55      IF( ln_crs_top ) CALL iom_swap( "nemo" ) 
    4956      ! 
    5057   END SUBROUTINE trc_wri_my_trc 
Note: See TracChangeset for help on using the changeset viewer.