Ignore:
Timestamp:
Jul 21, 2020, 5:46:04 PM (4 years ago)
Author:
adurocher
Message:

Fixed missing xios function in interface

Location:
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/phys_output_write_xios_mod.f90

    r3768 r3769  
    326326    USE print_control_mod, ONLY: prt_level, lunout
    327327
    328     USE xios_interface, ONLY : CPP_XIOS_defined, xios_fieldgroup, xios_field, xios_get_handle, xios_add_child, xios_set_attr, xios_update_calendar
     328    USE xios_interface, ONLY : CPP_XIOS_defined, xios_fieldgroup, xios_field, xios_get_handle, xios_add_child, xios_set_attr, xios_update_calendar, xios_setVar
    329329    USE wxios, ONLY: wxios_closedef, missing_val, wxios_set_context
    330330    USE vertical_layers_mod, ONLY: presnivs
  • LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/xios_interface.F90

    r3754 r3769  
    44#ifdef CPP_XIOS
    55  use xios, ONLY : xios_field_is_active, xios_send_field, xios_fieldgroup, xios_field, &
    6                    xios_get_handle, xios_add_child, xios_set_attr, xios_update_calendar
     6                   xios_get_handle, xios_add_child, xios_set_attr, xios_update_calendar, xios_setvar
    77  logical :: CPP_XIOS_defined = .true.
    88#else
     
    5959  subroutine xios_update_calendar(i)
    6060    integer :: i
    61   end subroutine   
     61  end subroutine
     62
     63  logical function xios_setVar(varId, data_k8)
     64      LOGICAL  (kind = 1)                           :: val
     65      CHARACTER(len = *)               , INTENT(IN) :: varId
     66      REAL     (kind = 8)              , INTENT(IN) :: data_k8
     67      xios_setVar = .true.
     68  end function xios_setVar
    6269#endif
    6370end module
Note: See TracChangeset for help on using the changeset viewer.