SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
get_isba_confn.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 ! ########################################
6  SUBROUTINE get_isba_conf_n (I, &
7  hisba, kpatch,kground_layer,ksnow_layer,knbiomass, &
8  knlitter, knlittlevs, knsoilcarb)
9 ! ########################################
10 !
11 !!**** *GET_ISBA_CONF_n* - routine to get some ISBA fields
12 !!
13 !! PURPOSE
14 !! -------
15 !!
16 !!** METHOD
17 !! ------
18 !!
19 !! EXTERNAL
20 !! --------
21 !!
22 !!
23 !! IMPLICIT ARGUMENTS
24 !! ------------------
25 !!
26 !! REFERENCE
27 !! ---------
28 !!
29 !!
30 !! AUTHOR
31 !! ------
32 !! V. Masson *Meteo France*
33 !!
34 !! MODIFICATIONS
35 !! -------------
36 !! Original 04/2008
37 !! A.L. Gibelin 07/2009 : Dimensions for carbon options
38 !!
39 !-------------------------------------------------------------------------------
40 !
41 !* 0. DECLARATIONS
42 ! ------------
43 !
44 !
45 !
46 !
47 USE modd_isba_n, ONLY : isba_t
48 !
49 USE yomhook ,ONLY : lhook, dr_hook
50 USE parkind1 ,ONLY : jprb
51 !
52 IMPLICIT NONE
53 !
54 !* 0.1 Declarations of arguments
55 ! -------------------------
56 !
57 !
58 TYPE(isba_t), INTENT(INOUT) :: i
59 !
60  CHARACTER(LEN=3), INTENT(OUT) :: hisba
61 INTEGER, INTENT(OUT) :: kpatch ! number of patchs
62 INTEGER, INTENT(OUT) :: kground_layer ! number of ground layers
63 INTEGER, INTENT(OUT) :: ksnow_layer ! number of snow layers
64 INTEGER, INTENT(OUT) :: knbiomass ! number of biomass pools
65 INTEGER, INTENT(OUT) :: knlitter ! number of litter pools
66 INTEGER, INTENT(OUT) :: knlittlevs ! number of litter levels
67 INTEGER, INTENT(OUT) :: knsoilcarb ! number of soil carbon pools
68 REAL(KIND=JPRB) :: zhook_handle
69 !
70 !
71 !* 0.2 Declarations of local variables
72 ! -------------------------------
73 !
74 !
75 !-------------------------------------------------------------------------------
76 IF (lhook) CALL dr_hook('GET_ISBA_CONF_N',0,zhook_handle)
77 hisba = i%CISBA
78 kpatch = i%NPATCH
79 kground_layer = i%NGROUND_LAYER
80 ksnow_layer = i%TSNOW%NLAYER
81 knbiomass = i%NNBIOMASS
82 knlitter = i%NNLITTER
83 knlittlevs = i%NNLITTLEVS
84 knsoilcarb = i%NNSOILCARB
85 IF (lhook) CALL dr_hook('GET_ISBA_CONF_N',1,zhook_handle)
86 !
87 !==============================================================================
88 !
89 END SUBROUTINE get_isba_conf_n
subroutine get_isba_conf_n(I, HISBA, KPATCH, KGROUND_LAYER, KSNOW_LAYER, KNBIOMASS, KNLITTER, KNLITTLEVS, KNSOILCARB)