Changeset 257 for branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/thermosoil.f90
- Timestamp:
- 2011-06-17T14:02:17+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/thermosoil.f90
r64 r257 3 3 !! 4 4 !! @author Marie-Alice Foujols and Jan Polcher 5 !! @Version : $Revision: 1.15 $, $Date: 2009/01/07 13:39:45$5 !! @Version : $Revision: 45 $, $Date: 2011-01-01 21:30:44 +0100 (Sat, 01 Jan 2011) $ 6 6 !! 7 !! $Header: /home/ssipsl/CVSREP/ORCHIDEE/src_sechiba/thermosoil.f90,v 1.15 2009/01/07 13:39:45 ssipsl Exp $ 7 !< $HeadURL: http://forge.ipsl.jussieu.fr/orchidee/svn/trunk/ORCHIDEE/src_sechiba/thermosoil.f90 $ 8 !< $Date: 2011-01-01 21:30:44 +0100 (Sat, 01 Jan 2011) $ 9 !< $Author: mmaipsl $ 10 !< $Revision: 45 $ 8 11 !! IPSL (2006) 9 12 !! This software is governed by the CeCILL licence see ORCHIDEE/ORCHIDEE_CeCILL.LIC … … 98 101 REAL(r_std),DIMENSION (kjpindex), INTENT (in) :: temp_sol_new !! New soil temperature 99 102 REAL(r_std),DIMENSION (kjpindex), INTENT (in) :: snow !! Snow quantity 103 REAL(r_std),DIMENSION (kjpindex,nbdl), INTENT (in) :: shumdiag !! Diagnostic of relative humidity 100 104 ! output fields 101 REAL(r_std),DIMENSION (kjpindex), INTENT (out) :: soilcap !! Soil capacity 102 REAL(r_std),DIMENSION (kjpindex), INTENT (out) :: soilflx 103 REAL(r_std),DIMENSION (kjpindex,nbdl), INTENT (in) :: shumdiag !! Diagnostic of relative humidity 104 REAL(r_std),DIMENSION (kjpindex,nbdl), INTENT (out):: stempdiag !! diagnostic temp profile 105 REAL(r_std),DIMENSION (kjpindex), INTENT (inout) :: soilcap !! Soil capacity 106 REAL(r_std),DIMENSION (kjpindex), INTENT (inout) :: soilflx 107 REAL(r_std),DIMENSION (kjpindex,nbdl), INTENT (inout):: stempdiag !! diagnostic temp profile 105 108 106 109 REAL(r_std),DIMENSION (kjpindex,ngrnd) :: temp … … 645 648 REAL(r_std), DIMENSION (kjpindex), INTENT (out) :: soilflx !! 646 649 REAL(r_std), DIMENSION (kjpindex), INTENT (out) :: z1 !! 647 REAL(r_std), DIMENSION (kjpindex,ngrnd), INTENT( out) :: pcapa !!648 REAL(r_std), DIMENSION (kjpindex,ngrnd), INTENT( out) :: pcapa_en !!649 REAL(r_std), DIMENSION (kjpindex,ngrnd), INTENT( out) :: pkappa !!650 REAL(r_std), DIMENSION (kjpindex,ngrnd), INTENT(inout) :: pcapa !! 651 REAL(r_std), DIMENSION (kjpindex,ngrnd), INTENT(inout) :: pcapa_en !! 652 REAL(r_std), DIMENSION (kjpindex,ngrnd), INTENT(inout) :: pkappa !! 650 653 REAL(r_std), DIMENSION (kjpindex,ngrnd-1), INTENT(out) :: cgrnd !! 651 654 REAL(r_std), DIMENSION (kjpindex,ngrnd-1), INTENT(out) :: dgrnd !! … … 837 840 lev_prog = prev_prog + dz2(jg) 838 841 ENDIF 839 intfact(jd,jg) = MAX(MIN(lev_diag,lev_prog)-MAX(prev_diag, prev_prog), 0.0)/(lev_diag-prev_diag)842 intfact(jd,jg) = MAX(MIN(lev_diag,lev_prog)-MAX(prev_diag, prev_prog), zero)/(lev_diag-prev_diag) 840 843 prev_prog = lev_prog 841 844 ENDDO … … 857 860 ENDIF 858 861 859 stempdiag(:,:) = 0.862 stempdiag(:,:) = zero 860 863 DO jg = 1, ngrnd 861 864 DO jd = 1, nbdl … … 907 910 lev_prog = diaglev(jg) 908 911 ENDIF 909 intfactw(jd,jg) = MAX(MIN(lev_diag,lev_prog)-MAX(prev_diag, prev_prog), 0.0)/(lev_diag-prev_diag)912 intfactw(jd,jg) = MAX(MIN(lev_diag,lev_prog)-MAX(prev_diag, prev_prog), zero)/(lev_diag-prev_diag) 910 913 prev_prog = lev_prog 911 914 ENDDO … … 927 930 ENDIF 928 931 929 wetdiag(:,:) = 0.932 wetdiag(:,:) = zero 930 933 DO jg = 1, nbdl 931 934 DO jd = 1, ngrnd
Note: See TracChangeset
for help on using the changeset viewer.