source: CONFIG/UNIFORM/v6/LMDZORSTRATAER_v6/GENERAL/DRIVER/xios.driver @ 3106

Last change on this file since 3106 was 2606, checked in by jgipsl, 6 years ago

Removed modifications from xios.driver and set correct behaviour in iodef.xml. This modification could now be done because XIOS is now mandatory in coupled mode.

File size: 787 bytes
Line 
1#!/bin/ksh
2#-----------------------------------
3function IOS_Initialize
4{ 
5    IGCM_debug_PushStack "IOS_Initialize"
6
7    echo INITIALIZE IOS !!!
8
9    IGCM_debug_PopStack "IOS_Initialize"
10}
11
12#-----------------------------------
13function IOS_Update
14{
15    IGCM_debug_PushStack "IOS_Update"
16
17    echo UPDATE IOS !!!
18# Activate server mode
19    IGCM_comp_modifyXmlFile force iodef.xml using_server NONE true
20
21    if [ -f namcouple ] ; then
22        sed -e "s/2  LMDZ oceanx/3 LMDZ oceanx ${config_Executable_IOS[1]}/" namcouple > namcouple.tmp
23        IGCM_sys_Mv namcouple.tmp namcouple
24    fi
25
26    IGCM_debug_PopStack "IOS_Update"
27}
28
29#-----------------------------------
30function IOS_Finalize
31{
32    IGCM_debug_PushStack "IOS_Finalize"
33
34    echo FINALIZE IOS !!!
35
36    IGCM_debug_PopStack "IOS_Finalize"
37}
Note: See TracBrowser for help on using the repository browser.