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 4153 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/IOM – NEMO

Ignore:
Timestamp:
2013-11-05T13:25:45+01:00 (11 years ago)
Author:
cetlod
Message:

dev_LOCEAN_2013: merge in trunk changes between r3940 and r4028, see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r4152 r4153  
    3131   USE sbc_oce, ONLY :   nn_fsbc         ! ocean space and time domain 
    3232   USE trc_oce, ONLY :   nn_dttrc        !  !: frequency of step on passive tracers 
     33   USE icb_oce, ONLY :   class_num       !  !: iceberg classes 
    3334   USE domngb          ! ocean space and time domain 
    3435   USE phycst          ! physical constants 
     
    9697      clname = cdname 
    9798      IF( TRIM(Agrif_CFixed()) /= '0' )   clname = TRIM(Agrif_CFixed())//"_"//TRIM(cdname) 
     99# if defined key_mpp_mpi 
    98100      CALL xios_context_initialize(TRIM(clname), mpi_comm_opa) 
     101# else 
     102      CALL xios_context_initialize(TRIM(clname), 0) 
     103# endif 
    99104      CALL iom_swap( cdname ) 
    100105 
     
    136141      CALL iom_set_axis_attr( "depthw", gdepw_0 ) 
    137142# if defined key_floats 
    138       CALL iom_set_axis_attr( "nfloat", (ji, ji=1,nfloat) ) 
     143      CALL iom_set_axis_attr( "nfloat", (/ (REAL(ji,wp), ji=1,nfloat) /) ) 
    139144# endif 
     145      CALL iom_set_axis_attr( "icbcla", class_num ) 
    140146       
    141147      ! automatic definitions of some of the xml attributs 
Note: See TracChangeset for help on using the changeset viewer.