Ignore:
Timestamp:
03/15/24 09:29:51 (3 months ago)
Author:
snguyen
Message:

Added automatic isotope_restart setup to 0 when initialising with rayleigh distillation (2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/IPSLCM7ISO/GENERAL/DRIVER/lmdz.driver

    r6743 r6760  
    667667    fi 
    668668 
     669        ## Read Set_isotopes_restart option in lmdz.card --> set initialisation_iso to 2 in iso.def if [ $Set_isotopes_restart = 2 ] 
     670    # by default in iso.def : initialisation_iso = 0 
     671        Set_isotopes_restart=${lmdz_UserChoices_Set_isotopes_restart} 
     672        if [ X"${Set_isotopes_restart}" = X"2" ] ; then 
     673            sed -i 's/^initialisation_iso=.*/initialisation_iso=2/' iso.def 
     674            echo 
     675            IGCM_debug_Print 1 "isotopes_restart : 2 in iso.def" 
     676            echo 
     677            cat iso.def 
     678            Set_isotopes_restart=0 
     679        export lmdz_UserChoices_Set_isotopes_restart=0 
     680            IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices Set_isotopes_restart "${Set_isotopes_restart}" 
     681        fi 
     682 
    669683    IGCM_debug_PopStack "ATM_Update" 
    670684} 
Note: See TracChangeset for help on using the changeset viewer.