Changeset 461
- Timestamp:
- 2011-09-08T09:37:26+02:00 (13 years ago)
- Location:
- branches/ORCHIDEE_EXT/ORCHIDEE
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ORCHIDEE_EXT/ORCHIDEE/src_parallel/transfert_para.f90
r435 r461 65 65 !! -- Les chaine de charactère -- !! 66 66 67 SUBROUTINE bcast_c(var 1)67 SUBROUTINE bcast_c(var) 68 68 IMPLICIT NONE 69 CHARACTER(LEN=*),INTENT(INOUT) :: Var1 69 CHARACTER(LEN=*),INTENT(INOUT) :: Var 70 CHARACTER(LEN=100),DIMENSION(1) :: Var1 71 #ifndef CPP_PARA 72 RETURN 73 #else 74 IF (is_root_prc) & 75 Var1(1)=Var 76 CALL bcast_cgen(Var1,1) 77 Var=Var1(1) 78 #endif 79 END SUBROUTINE bcast_c 80 81 !>>ADD_DS 02/09/2011 : add for vector of characters 82 83 SUBROUTINE bcast_c1(var) 84 IMPLICIT NONE 85 CHARACTER(LEN=*),INTENT(INOUT) :: Var(:) 70 86 71 87 #ifndef CPP_PARA 72 88 RETURN 73 89 #else 74 CALL bcast_cgen(Var1,len(Var1)) 75 #endif 76 END SUBROUTINE bcast_c 77 78 ! DS 02/09/2011 : add for vector of characters 79 80 SUBROUTINE bcast_c1(var1) 90 CALL bcast_cgen(Var,size(Var)) 91 #endif 92 END SUBROUTINE bcast_c1 93 94 95 !! -- Les entiers -- !! 96 97 !>> Modif DS 08/09/2011 98 SUBROUTINE bcast_i(var) 81 99 IMPLICIT NONE 82 CHARACTER(LEN=*),INTENT(INOUT) :: Var1(:) 83 84 #ifndef CPP_PARA 85 RETURN 86 #else 87 CALL bcast_cgen(Var1,size(Var1)) 88 #endif 89 END SUBROUTINE bcast_c1 90 91 !! -- Les entiers -- !! 92 93 SUBROUTINE bcast_i(var1) 94 IMPLICIT NONE 95 INTEGER,INTENT(INOUT) :: Var1 96 97 #ifndef CPP_PARA 98 RETURN 99 #else 100 INTEGER,INTENT(INOUT) :: Var 101 INTEGER,DIMENSION(1) :: Var1 102 103 #ifndef CPP_PARA 104 RETURN 105 #else 106 IF (is_root_prc) & 107 Var1(1)=Var 100 108 CALL bcast_igen(Var1,1) 109 Var=Var1(1) 101 110 #endif 102 111 END SUBROUTINE bcast_i 112 !>> Modif DS 08/09/2011 103 113 104 114 SUBROUTINE bcast_i1(var) … … 149 159 !! -- Les reels -- !! 150 160 161 !>> Modif DS 08/09/2011 151 162 SUBROUTINE bcast_r(var) 152 163 IMPLICIT NONE 153 164 REAL,INTENT(INOUT) :: Var 154 155 #ifndef CPP_PARA 156 RETURN 157 #else 158 CALL bcast_rgen(Var,1) 165 REAL,DIMENSION(1) :: Var1 166 #ifndef CPP_PARA 167 RETURN 168 #else 169 IF (is_root_prc) & 170 Var1(1)=Var 171 CALL bcast_rgen(Var1,1) 172 Var=Var1(1) 159 173 #endif 160 174 END SUBROUTINE bcast_r 175 !>> Modif DS 08/09/2011 161 176 162 177 SUBROUTINE bcast_r1(var) … … 1968 1983 IMPLICIT NONE 1969 1984 1970 CHARACTER(LEN=*), INTENT(INOUT) :: Var1985 CHARACTER(LEN=*),DIMENSION(nb),INTENT(INOUT) :: Var 1971 1986 INTEGER,INTENT(IN) :: nb 1972 1987 … … 1999 2014 IMPLICIT NONE 2000 2015 2001 INTEGER,DIMENSION(nb),INTENT(INOUT) :: Var2016 INTEGER,DIMENSION(nb),INTENT(INOUT) :: var 2002 2017 INTEGER,INTENT(IN) :: nb 2003 2018 … … 2031 2046 IMPLICIT NONE 2032 2047 2033 REAL,DIMENSION(nb),INTENT(INOUT) :: Var2048 REAL,DIMENSION(nb),INTENT(INOUT) :: var 2034 2049 INTEGER,INTENT(IN) :: nb 2035 2050 -
branches/ORCHIDEE_EXT/ORCHIDEE/src_parameters/constantes_mtc.f90
r325 r461 21 21 22 22 ! description of the MTC 23 CHARACTER(len=34), SAVE, DIMENSION(nvmc) :: MTC_name = &23 CHARACTER(len=34), PARAMETER, DIMENSION(nvmc) :: MTC_name = & 24 24 & (/ 'bared ground ', & ! 1 25 25 & 'tropical broad-leaved evergreen ', & ! 2 -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/diffuco.f90
r282 r461 34 34 ! 35 35 LOGICAL, SAVE :: l_first_diffuco = .TRUE. !! Initialisation has to be done one time 36 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O37 36 REAL(r_std), ALLOCATABLE, SAVE, DIMENSION (:,:,:) :: leaf_ci !! intercellular CO2 concentration (ppm) 38 37 REAL(r_std), ALLOCATABLE, SAVE, DIMENSION (:,:) :: rstruct !! architectural resistance … … 138 137 INTEGER(i_std) :: ilai 139 138 CHARACTER(LEN=4) :: laistring 139 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 140 140 141 141 ! do initialisation if needed … … 329 329 CHARACTER(LEN=4) :: laistring 330 330 REAL(r_std),DIMENSION (kjpindex) :: temp 331 331 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 332 332 ! 333 333 ! initialisation -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/enerbil.f90
r257 r461 37 37 ! 38 38 LOGICAL, SAVE :: l_first_enerbil=.TRUE. !! Initialisation has to be done one time 39 40 CHARACTER(LEN=80), SAVE :: var_name !! To store variables names for I/O41 39 42 40 ! one dimension array allocated, computed and used in enerbil module exclusively … … 142 140 ! 143 141 REAL(r_std),DIMENSION (kjpindex) :: epot_air_new, qair_new 142 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 144 143 ! 145 144 ! do initialisation … … 297 296 ! local declaration 298 297 INTEGER(i_std) :: ier 298 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 299 299 300 300 ! initialisation … … 897 897 REAL(r_std),DIMENSION (kjpindex), INTENT (in) :: evapot !! Soil Potential Evaporation 898 898 REAL(r_std),DIMENSION (kjpindex, nvm), INTENT (in) :: humrel !! Relative humidity 899 !!$ DS 15022011 humrel was used in a previous version of Orchidee, developped by Nathalie. Need to be discussed if it should be introduce sagain899 !!$ DS 15022011 humrel was used in a previous version of Orchidee, developped by Nathalie. Need to be discussed if it should be introduce again 900 900 REAL(r_std),DIMENSION (kjpindex,nvm), INTENT (in) :: vbeta2 !! Interception resistance 901 901 REAL(r_std),DIMENSION (kjpindex,nvm), INTENT (in) :: vbeta3 !! Vegetation resistance -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/hydrol.f90
r433 r461 42 42 LOGICAL, SAVE :: check_cwrr=.TRUE. !! The check the water balance 43 43 44 CHARACTER(LEN=80) , SAVE :: file_ext !! Extention for I/O filename 45 CHARACTER(LEN=80) , SAVE :: var_name !! To store variables names for I/O 44 !>> DS : not used for the moment 45 !!$ CHARACTER(LEN=80) , SAVE :: file_ext !! Extention for I/O filename 46 46 47 REAL(r_std), PARAMETER :: allowed_err = 1.0E-8_r_std 47 48 … … 241 242 ! local declaration 242 243 ! 243 INTEGER(i_std) :: jst, jsl244 INTEGER(i_std) :: jst, jsl 244 245 REAL(r_std),DIMENSION (kjpindex) :: soilwet !! A temporary diagnostic of soil wetness 245 246 REAL(r_std),DIMENSION (kjpindex) :: snowdepth !! Depth of snow layer 247 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 248 246 249 ! 247 250 ! do initialisation … … 489 492 INTEGER(i_std) :: ier, ierror, ipdt 490 493 INTEGER(i_std) :: ji, jv, jst, jsl, ik 494 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 491 495 492 496 ! initialisation -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/hydrolc.f90
r433 r461 40 40 ! 41 41 LOGICAL, SAVE :: check_waterbal=.FALSE. !! The check the water balance 42 43 CHARACTER(LEN=80) , SAVE :: var_name !! To store variables names for I/O44 42 45 43 ! one dimension array allocated, computed, saved and got in hydrol module … … 168 166 INTEGER(i_std) :: ji,jv 169 167 REAL(r_std), DIMENSION(kjpindex) :: histvar !! computations for history files 168 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 170 169 171 170 ! … … 438 437 439 438 REAL(r_std), DIMENSION(kjpindex) :: a_subgrd 439 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 440 440 441 441 ! initialisation -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/sechiba.f90
r277 r461 131 131 ! 132 132 LOGICAL, SAVE :: l_first_sechiba = .TRUE.!! Initialisation has to be done one time 133 CHARACTER(LEN=80) , SAVE :: var_name !! To store variables names for I/O134 133 135 134 LOGICAL, SAVE :: river_routing !! Flag that decides if we route. … … 255 254 REAL(r_std), ALLOCATABLE, DIMENSION (:,:) :: shumdiag1 256 255 256 ! local 257 257 REAL(r_std), DIMENSION(kjpindex) :: histvar !! computations for history files 258 258 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 259 259 260 260 ! 15/03/2011 DS Add for externalisation -
branches/ORCHIDEE_EXT/ORCHIDEE/src_sechiba/thermosoil.f90
r257 r461 35 35 ! 36 36 LOGICAL, SAVE :: l_first_thermosoil=.TRUE. !! Initialisation has to be done one time 37 38 CHARACTER(LEN=80) , SAVE :: var_name !! To store variables names for I/O39 37 REAL(r_std), SAVE :: lambda, cstgrnd, lskin, fz1, zalph 40 38 … … 106 104 REAL(r_std),DIMENSION (kjpindex), INTENT (inout) :: soilflx 107 105 REAL(r_std),DIMENSION (kjpindex,nbdl), INTENT (inout):: stempdiag !! diagnostic temp profile 108 106 ! local 109 107 REAL(r_std),DIMENSION (kjpindex,ngrnd) :: temp 110 108 REAL(r_std),DIMENSION (kjpindex,ngrnd-1) :: temp1 111 109 REAL(r_std),DIMENSION (kjpindex) :: temp2 110 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 111 112 112 ! 113 113 ! do initialisation … … 252 252 CALL restput_p(rest_id, var_name, nbp_glo, 1, 1, kjit, z1, 'scatter', nbp_glo, index_g) 253 253 254 254 var_name= 'pcapa' 255 255 CALL restput_p(rest_id, var_name, nbp_glo, ngrnd, 1, kjit, pcapa, 'scatter', nbp_glo, index_g) 256 256 257 257 var_name= 'pcapa_en' 258 258 CALL restput_p(rest_id, var_name, nbp_glo, ngrnd, 1, kjit, pcapa_en, 'scatter', nbp_glo, index_g) 259 259 260 260 var_name= 'pkappa' 261 261 CALL restput_p(rest_id, var_name, nbp_glo, ngrnd, 1, kjit, pkappa, 'scatter', nbp_glo, index_g) 262 262 263 263 var_name= 'zdz1' 264 264 CALL restput_p(rest_id, var_name, nbp_glo, ngrnd-1, 1, kjit, zdz1, 'scatter', nbp_glo, index_g) 265 265 266 266 var_name= 'zdz2' 267 267 CALL restput_p(rest_id, var_name, nbp_glo, ngrnd, 1, kjit, zdz2, 'scatter', nbp_glo, index_g) 268 268 … … 342 342 ! local declaration 343 343 INTEGER(i_std) :: ier 344 CHARACTER(LEN=80) :: var_name !! To store variables names for I/O 344 345 345 346 ! initialisation … … 466 467 ! 467 468 ! change restart If they were not found in the restart file 468 !469 !Config Key = THERMOSOIL_TPRO470 !Config Desc = Initial soil temperature profile if not found in restart471 !Config Def = 280.472 !Config Help = The initial value of the temperature profile in the soil if473 !Config its value is not found in the restart file. This should only474 !Config be used if the model is started without a restart file. Here475 !Config we only require one value as we will assume a constant476 !Config throughout the column.477 !469 ! 470 !Config Key = THERMOSOIL_TPRO 471 !Config Desc = Initial soil temperature profile if not found in restart 472 !Config Def = 280. 473 !Config Help = The initial value of the temperature profile in the soil if 474 !Config its value is not found in the restart file. This should only 475 !Config be used if the model is started without a restart file. Here 476 !Config we only require one value as we will assume a constant 477 !Config throughout the column. 478 ! 478 479 CALL setvar_p (ptn, val_exp,'THERMOSOIL_TPRO',280._r_std) 479 480
Note: See TracChangeset
for help on using the changeset viewer.