Changeset 354 for branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba
- Timestamp:
- 2011-07-29T16:44:45+02:00 (13 years ago)
- Location:
- branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/intersurf.f90
r335 r354 501 501 502 502 z0(i,j) = zz0(ik) 503 coastalflow(i,j) = zcoastal(ik)/ 1000.504 riverflow(i,j) = zriver(ik)/ 1000.503 coastalflow(i,j) = zcoastal(ik)/mille 504 riverflow(i,j) = zriver(ik)/mille 505 505 tsol_rad(i,j) = ztsol_rad(ik) 506 506 vevapp(i,j) = zvevapp(ik) … … 520 520 ! Modified fields for variables scattered during the writing 521 521 ! 522 dcoastal(:) = (zcoastal(:))/ 1000.523 driver(:) = (zriver(:))/ 1000.522 dcoastal(:) = (zcoastal(:))/mille 523 driver(:) = (zriver(:))/mille 524 524 ! 525 525 IF ( .NOT. l_first_intersurf) THEN … … 1009 1009 1010 1010 z0(kindex(ik)) = zz0(ik) 1011 coastalflow(kindex(ik)) = zcoastal(ik)/ 1000.1012 riverflow(kindex(ik)) = zriver(ik)/ 1000.1011 coastalflow(kindex(ik)) = zcoastal(ik)/mille 1012 riverflow(kindex(ik)) = zriver(ik)/mille 1013 1013 tsol_rad(kindex(ik)) = ztsol_rad(ik) 1014 1014 vevapp(kindex(ik)) = zvevapp(ik) … … 1028 1028 ! Modified fields for variables scattered during the writing 1029 1029 ! 1030 dcoastal(:) = (zcoastal(:))/ 1000.1031 driver(:) = (zriver(:))/ 1000.1030 dcoastal(:) = (zcoastal(:))/mille 1031 driver(:) = (zriver(:))/mille 1032 1032 ! 1033 1033 IF ( .NOT. l_first_intersurf) THEN … … 1717 1717 1718 1718 z0(ik) = zz0(ik) 1719 coastalflow(ik) = zcoastal(ik)/ 1000.1720 riverflow(ik) = zriver(ik)/ 1000.1719 coastalflow(ik) = zcoastal(ik)/mille 1720 riverflow(ik) = zriver(ik)/mille 1721 1721 tsol_rad(ik) = ztsol_rad(ik) 1722 1722 vevapp(ik) = zvevapp(ik) … … 1747 1747 ! Modified fields for variables scattered during the writing 1748 1748 ! 1749 dcoastal(:) = (zcoastal(:))/ 1000.1750 driver(:) = (zriver(:))/ 1000.1749 dcoastal(:) = (zcoastal(:))/mille 1750 driver(:) = (zriver(:))/mille 1751 1751 ! 1752 1752 IF ( .NOT. l_first_intersurf) THEN … … 2495 2495 2496 2496 z0(ik) = zz0(ik) 2497 coastalflow(ik) = zcoastal(ik)/ 1000.2498 riverflow(ik) = zriver(ik)/ 1000.2497 coastalflow(ik) = zcoastal(ik)/mille 2498 riverflow(ik) = zriver(ik)/mille 2499 2499 tsol_rad(ik) = ztsol_rad(ik) 2500 2500 vevapp(ik) = zvevapp(ik) … … 2527 2527 ! Modified fields for variables scattered during the writing 2528 2528 ! 2529 dcoastal(:) = (zcoastal(:))/ 1000.2530 driver(:) = (zriver(:))/ 1000.2529 dcoastal(:) = (zcoastal(:))/mille 2530 driver(:) = (zriver(:))/mille 2531 2531 ! 2532 2532 IF ( .NOT. l_first_intersurf) THEN … … 2762 2762 ! 2763 2763 !Config Key = NVM 2764 !Config Desc = number of PFTs 2764 !Config Desc = number of PFTs 2765 !Config if = ANYTIME 2766 !Config Def = 13 2767 !Config Help = The number of vegetation types define by the user 2768 !Config Units = NONE 2765 2769 CALL getin_p('NVM',nvm) 2766 2770 WRITE(numout,*)'the number of pfts is : ', nvm … … 2811 2815 ENDIF 2812 2816 2813 !!$ DS : reading of IMPOSE_PARAM 2814 ! Option : do you want to change the values of the parameters 2817 !Config Key = IMPOSE_PARAM 2818 !Config Desc = Do you impose the values of the parameters? 2819 !Config if = ANYTIME 2820 !Config Def = y 2821 !Config Help = This flag can deactivate the reading of some paramters. 2822 ! Useful if you want to use the standard values without commenting the run.def 2823 !Config Units = NONE 2815 2824 CALL getin_p('IMPOSE_PARAM',impose_param) 2825 2826 ! Read and allocate the pft parameters 2816 2827 CALL pft_parameters_main 2828 2817 2829 ! 2818 2830 !Config Key = RIVER_ROUTING -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/routing.f90
r311 r354 325 325 ! Convert from kg/dtradia to m^3/dtradia 326 326 ! 327 hydrographs(:) = hydrographs(:)/ 1000.327 hydrographs(:) = hydrographs(:)/mille 328 328 ! 329 329 ENDIF … … 934 934 IF ( route_tobasin(ig,ib) .GT. 0 ) THEN 935 935 ! 936 flow = MIN(fast_reservoir(ig,ib)/((topo_resid(ig,ib)/ 1000.)*fast_tcst*one_day/dt_routing),&936 flow = MIN(fast_reservoir(ig,ib)/((topo_resid(ig,ib)/mille)*fast_tcst*one_day/dt_routing),& 937 937 & fast_reservoir(ig,ib)) 938 938 fast_flow(ig,ib) = flow 939 939 ! 940 flow = MIN(slow_reservoir(ig,ib)/((topo_resid(ig,ib)/ 1000.)*slow_tcst*one_day/dt_routing),&940 flow = MIN(slow_reservoir(ig,ib)/((topo_resid(ig,ib)/mille)*slow_tcst*one_day/dt_routing),& 941 941 & slow_reservoir(ig,ib)) 942 942 slow_flow(ig,ib) = flow 943 943 ! 944 flow = MIN(stream_reservoir(ig,ib)/((topo_resid(ig,ib)/ 1000.)*stream_tcst*one_day/dt_routing),&944 flow = MIN(stream_reservoir(ig,ib)/((topo_resid(ig,ib)/mille)*stream_tcst*one_day/dt_routing),& 945 945 & stream_reservoir(ig,ib)) 946 946 stream_flow(ig,ib) = flow … … 1892 1892 WRITE(numout,*) '-------------> hierarchy ',hierarchy_bx(1,1) 1893 1893 DO jp=1,nbj 1894 WRITE(numout,fmt) INT(hierarchy_bx(1:nbi,jp)/ 1000.)1894 WRITE(numout,fmt) INT(hierarchy_bx(1:nbi,jp)/mille) 1895 1895 ENDDO 1896 1896 WRITE(numout,*) '-------------> topoindex ',topoind_bx(1,1) 1897 1897 DO jp=1,nbj 1898 WRITE(numout,fmt) INT(topoind_bx(1:nbi,jp)/ 1000.)1898 WRITE(numout,fmt) INT(topoind_bx(1:nbi,jp)/mille) 1899 1899 ENDDO 1900 1900 !
Note: See TracChangeset
for help on using the changeset viewer.