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 11380 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_DYN_optimization/src/OCE/IOM/iom.F90 – NEMO

Ignore:
Timestamp:
2019-07-31T15:56:02+02:00 (5 years ago)
Author:
girrmann
Message:

dev_r10984_HPC-13 : adding extra halos in dyn_spg_ts is now possible, only works with a single halo when used with tide or bdy, see #2308

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_DYN_optimization/src/OCE/IOM/iom.F90

    r11362 r11380  
    5858   PUBLIC iom_init, iom_swap, iom_open, iom_close, iom_setkt, iom_varid, iom_get 
    5959   PUBLIC iom_chkatt, iom_getatt, iom_putatt, iom_getszuld, iom_rstput, iom_delay_rst, iom_put 
    60    PUBLIC iom_use, iom_context_finalize, iom_miss_val 
     60   PUBLIC iom_use, iom_context_finalize 
    6161 
    6262   PRIVATE iom_rp0d, iom_rp1d, iom_rp2d, iom_rp3d 
     
    16711671      CHARACTER(LEN=*), INTENT(in) ::   cdname 
    16721672      REAL(wp)        , INTENT(in) ::   pfield0d 
    1673 !!      REAL(wp)        , DIMENSION(jpi,jpj) ::   zz     ! masson 
     1673      REAL(wp)        , DIMENSION(jpi,jpj) ::   zz     ! masson 
    16741674#if defined key_iomput 
    1675 !!clem      zz(:,:)=pfield0d 
    1676 !!clem      CALL xios_send_field(cdname, zz) 
    1677       CALL xios_send_field(cdname, (/pfield0d/))  
     1675      zz(:,:)=pfield0d 
     1676      CALL xios_send_field(cdname, zz) 
     1677      !CALL xios_send_field(cdname, (/pfield0d/))  
    16781678#else 
    16791679      IF( .FALSE. )   WRITE(numout,*) cdname, pfield0d   ! useless test to avoid compilation warnings 
     
    23912391   !!   NOT 'key_iomput'                               a few dummy routines 
    23922392   !!---------------------------------------------------------------------- 
     2393 
    23932394   SUBROUTINE iom_setkt( kt, cdname ) 
    23942395      INTEGER         , INTENT(in)::   kt  
     
    24052406 
    24062407   LOGICAL FUNCTION iom_use( cdname ) 
     2408      !!---------------------------------------------------------------------- 
     2409      !!---------------------------------------------------------------------- 
    24072410      CHARACTER(LEN=*), INTENT(in) ::   cdname 
     2411      !!---------------------------------------------------------------------- 
    24082412#if defined key_iomput 
    24092413      iom_use = xios_field_is_active( cdname ) 
     
    24122416#endif 
    24132417   END FUNCTION iom_use 
    2414  
    2415    SUBROUTINE iom_miss_val( cdname, pmiss_val ) 
    2416       CHARACTER(LEN=*), INTENT(in ) ::   cdname 
    2417       REAL(wp)        , INTENT(out) ::   pmiss_val    
    2418 #if defined key_iomput 
    2419       ! get missing value 
    2420       CALL xios_get_field_attr( cdname, default_value = pmiss_val ) 
    2421 #else 
    2422       IF( .FALSE. )   WRITE(numout,*) cdname, pmiss_val   ! useless test to avoid compilation warnings 
    2423 #endif 
    2424    END SUBROUTINE iom_miss_val 
    2425    
     2418    
    24262419   !!====================================================================== 
    24272420END MODULE iom 
Note: See TracChangeset for help on using the changeset viewer.