Changeset 1707 for LMDZ5/branches/testing/libf/dyn3dmem/conf_gcm.F
- Timestamp:
- Jan 11, 2013, 10:19:19 AM (12 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1670-1692,1694-1703,1705-1706
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/dyn3dmem/conf_gcm.F
r1669 r1707 1 1 ! 2 ! $Id : conf_gcm.F 1403 2010-07-01 09:02:53Z fairhead$2 ! $Id$ 3 3 ! 4 4 c … … 6 6 SUBROUTINE conf_gcm( tapedef, etatinit, clesphy0 ) 7 7 c 8 USE control_mod 8 9 #ifdef CPP_IOIPSL 9 10 use IOIPSL … … 17 18 use mod_hallo, ONLY : use_mpi_alloc 18 19 use parallel, ONLY : omp_chunk 19 USE control_mod 20 USE infotrac, ONLY : type_trac 21 use assert_m, only: assert 22 20 23 IMPLICIT NONE 21 24 c----------------------------------------------------------------------- … … 43 46 #include "serre.h" 44 47 #include "comdissnew.h" 45 !#include "clesphys.h"46 #include "iniprint.h"47 48 #include "temps.h" 48 49 #include "comconst.h" 49 50 50 51 ! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique 52 ! #include "clesphys.h" 53 #include "iniprint.h" 51 54 c 52 55 c … … 103 106 CALL getin('lunout', lunout) 104 107 IF (lunout /= 5 .and. lunout /= 6) THEN 105 OPEN(lunout,FILE='lmdz.out') 108 OPEN(UNIT=lunout,FILE='lmdz.out_0000',ACTION='write', 109 & STATUS='unknown',FORM='formatted') 106 110 ENDIF 107 111 … … 166 170 CALL getin('nday',nday) 167 171 172 !Config Key = starttime 173 !Config Desc = Heure de depart de la simulation 174 !Config Def = 0 175 !Config Help = Heure de depart de la simulation 176 !Config en jour 177 starttime = 0 178 CALL getin('starttime',starttime) 179 168 180 !Config Key = day_step 169 181 !Config Desc = nombre de pas par jour … … 175 187 176 188 !Config Key = nsplit_phys 177 !Config Desc = nombre d'iteration de la physique178 !Config Def = 240179 !Config Help = nombre d'itration de la physique180 !181 189 nsplit_phys = 1 182 190 CALL getin('nsplit_phys',nsplit_phys) … … 226 234 CALL getin('output_grads_dyn',output_grads_dyn) 227 235 228 !Config Key = idissip236 !Config Key = dissip_period 229 237 !Config Desc = periode de la dissipation 230 !Config Def = 10238 !Config Def = 0 231 239 !Config Help = periode de la dissipation 232 !Config (en pas) ... a completer ! 233 idissip = 10 234 CALL getin('idissip',idissip) 240 !Config dissip_period=0 => la valeur sera calcule dans inidissip 241 !Config dissip_period>0 => on prend cette valeur 242 dissip_period = 0 243 CALL getin('dissip_period',dissip_period) 235 244 236 245 ccc .... P. Le Van , modif le 29/04/97 .pour la dissipation ... … … 314 323 CALL getin('tau_top_bound',tau_top_bound) 315 324 316 !317 325 !Config Key = coefdis 318 326 !Config Desc = coefficient pour gamdissip … … 579 587 offline = .FALSE. 580 588 CALL getin('offline',offline) 589 IF (offline .AND. adjust) THEN 590 WRITE(lunout,*) 591 & 'WARNING : option offline does not work with adjust=y :' 592 WRITE(lunout,*) 'the files defstoke.nc, fluxstoke.nc ', 593 & 'and fluxstokev.nc will not be created' 594 WRITE(lunout,*) 595 & 'only the file phystoke.nc will still be created ' 596 END IF 597 598 !Config Key = type_trac 599 !Config Desc = Choix de couplage avec model de chimie INCA ou REPROBUS 600 !Config Def = lmdz 601 !Config Help = 602 !Config 'lmdz' = pas de couplage, pur LMDZ 603 !Config 'inca' = model de chime INCA 604 !Config 'repr' = model de chime REPROBUS 605 type_trac = 'lmdz' 606 CALL getin('type_trac',type_trac) 581 607 582 608 !Config Key = config_inca … … 628 654 write(lunout,*)' periodav = ', periodav 629 655 write(lunout,*)' output_grads_dyn = ', output_grads_dyn 630 write(lunout,*)' idissip = ', idissip656 write(lunout,*)' dissip_period = ', dissip_period 631 657 write(lunout,*)' lstardis = ', lstardis 632 658 write(lunout,*)' nitergdiv = ', nitergdiv … … 651 677 write(lunout,*)' tauyy = ', tauyy 652 678 write(lunout,*)' offline = ', offline 679 write(lunout,*)' type_trac = ', type_trac 653 680 write(lunout,*)' config_inca = ', config_inca 654 681 write(lunout,*)' ok_dynzon = ', ok_dynzon … … 769 796 offline = .FALSE. 770 797 CALL getin('offline',offline) 798 IF (offline .AND. adjust) THEN 799 WRITE(lunout,*) 800 & 'WARNING : option offline does not work with adjust=y :' 801 WRITE(lunout,*) 'the files defstoke.nc, fluxstoke.nc ', 802 & 'and fluxstokev.nc will not be created' 803 WRITE(lunout,*) 804 & 'only the file phystoke.nc will still be created ' 805 END IF 806 807 !Config Key = type_trac 808 !Config Desc = Choix de couplage avec model de chimie INCA ou REPROBUS 809 !Config Def = lmdz 810 !Config Help = 811 !Config 'lmdz' = pas de couplage, pur LMDZ 812 !Config 'inca' = model de chime INCA 813 !Config 'repr' = model de chime REPROBUS 814 type_trac = 'lmdz' 815 CALL getin('type_trac',type_trac) 771 816 772 817 !Config Key = config_inca … … 781 826 782 827 !Config Key = ok_dynzon 783 !Config Desc = calcul et sortie des transports828 !Config Desc = sortie des transports zonaux dans la dynamique 784 829 !Config Def = n 785 830 !Config Help = Permet de mettre en route le calcul des transports … … 817 862 write(lunout,*)"Le zoom en longitude est incompatible", 818 863 & " avec l'utilisation du filtre FFT ", 819 & "---> filtre FFT désactivé"864 & "---> FFT filter not active" 820 865 use_filtre_fft=.FALSE. 821 866 ENDIF … … 851 896 CALL getin('ok_strato',ok_strato) 852 897 898 vert_prof_dissip = merge(1, 0, ok_strato .and. llm==39) 899 CALL getin('vert_prof_dissip', vert_prof_dissip) 900 call assert(vert_prof_dissip == 0 .or. vert_prof_dissip == 1, 901 $ "bad value for vert_prof_dissip") 902 853 903 !Config Key = ok_gradsfile 854 904 !Config Desc = activation des sorties grads du guidage … … 874 924 ok_etat0 = .TRUE. 875 925 CALL getin('ok_etat0',ok_etat0) 926 927 !Config Key = grilles_gcm_netcdf 928 !Config Desc = creation de fichier grilles_gcm.nc dans create_etat0_limit 929 !Config Def = n 930 grilles_gcm_netcdf = .FALSE. 931 CALL getin('grilles_gcm_netcdf',grilles_gcm_netcdf) 876 932 877 933 write(lunout,*)' #########################################' … … 889 945 write(lunout,*)' periodav = ', periodav 890 946 write(lunout,*)' output_grads_dyn = ', output_grads_dyn 891 write(lunout,*)' idissip = ', idissip947 write(lunout,*)' dissip_period = ', dissip_period 892 948 write(lunout,*)' lstardis = ', lstardis 893 949 write(lunout,*)' nitergdiv = ', nitergdiv … … 912 968 write(lunout,*)' tauy = ', tauy 913 969 write(lunout,*)' offline = ', offline 970 write(lunout,*)' type_trac = ', type_trac 914 971 write(lunout,*)' config_inca = ', config_inca 915 write(lunout,*)' ok_dynzon = ', ok_dynzon 972 write(lunout,*)' ok_dynzon = ', ok_dynzon 916 973 write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins 917 974 write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave … … 923 980 write(lunout,*)' ok_limit = ', ok_limit 924 981 write(lunout,*)' ok_etat0 = ', ok_etat0 982 write(lunout,*)' grilles_gcm_netcdf = ', grilles_gcm_netcdf 925 983 c 926 984 RETURN
Note: See TracChangeset
for help on using the changeset viewer.