- Timestamp:
- Jan 19, 2009, 2:40:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4_V3_patches/libf/phylmd/conf_phys.F90
r954 r1073 1 !2 ! $Header$3 1 ! 4 2 ! … … 14 12 15 13 use IOIPSL 14 use surface_data, ONLY : version_ocean 16 15 implicit none 17 16 … … 33 32 ! 34 33 ! ocean: type d'ocean (force, slab, couple) 34 ! version_ocean: version d'ocean (opa8/nemo pour ocean=couple) 35 35 ! ok_veget: type de modele de vegetation 36 36 ! ok_journe: sorties journalieres … … 52 52 integer :: iflag_cldcon 53 53 54 character (len = 6),SAVE :: ocean_omp 54 character (len = 6),SAVE :: ocean_omp, version_ocean_omp 55 55 logical,SAVE :: ok_veget_omp, ok_newmicro_omp 56 56 logical,SAVE :: ok_journe_omp, ok_mensuel_omp, ok_instan_omp, ok_hf_omp … … 105 105 ocean_omp = 'force ' 106 106 call getin('OCEAN', ocean_omp) 107 ! 108 !Config Key = version_ocean 109 !Config Desc = Version d'ocean 110 !Config Def = xxxxxx 111 !Config Help = Version d'ocean utilise: opa8/nemo/xxxxxx 112 ! 113 version_ocean_omp = 'opa8' 114 call getin('version_ocean', version_ocean_omp) 107 115 ! 108 116 !Config Key = VEGET … … 849 857 850 858 ocean = ocean_omp 859 version_ocean = version_ocean_omp 851 860 ok_veget = ok_veget_omp 852 861 ok_newmicro = ok_newmicro_omp … … 886 895 ok_lic_melt = ok_lic_melt_omp 887 896 897 ! Test of coherence between ocean and version_ocean 898 IF (ocean=='couple' .AND. (version_ocean/='opa8' .AND. version_ocean/='nemo') ) THEN 899 WRITE(numout,*)' ERROR version_ocean=',version_ocean,' not valid in coupled configuration' 900 CALL abort_gcm('conf_phys','version_ocean not valid',1) 901 END IF 902 888 903 !$OMP MASTER 889 904 … … 891 906 write(numout,*)' Configuration des parametres de la physique: ' 892 907 write(numout,*)' Config ocean = ', ocean 908 write(numout,*)' Version ocean = ', version_ocean, ' (valable si config ocean=couple)' 893 909 write(numout,*)' Config veget = ', ok_veget 894 910 write(numout,*)' Sortie journaliere = ', ok_journe
Note: See TracChangeset
for help on using the changeset viewer.