75 USE modi_read_topd_header_dtm
76 USE modi_read_topd_file
77 USE modi_read_topd_header_connex
78 USE modi_read_connex_file
79 USE modi_read_slope_file
88 CHARACTER(LEN=*),
INTENT(IN) :: HPROGRAM
93 CHARACTER(LEN=50),
DIMENSION(NNCAT) :: YFILETOP
94 CHARACTER(LEN=50),
DIMENSION(NNCAT) :: YFILECON
95 CHARACTER(LEN=50),
DIMENSION(NNCAT) :: YFILESLO
96 CHARACTER(LEN=50),
DIMENSION(NNCAT) :: YFILEDH
97 CHARACTER(LEN=50),
DIMENSION(NNCAT) :: YFILEDR
101 REAL,
DIMENSION(:),
ALLOCATABLE :: ZTOPD_READ
103 REAL(KIND=JPRB) :: ZHOOK_HANDLE
112 WRITE(iluout,*)
'INITIALISATION INIT_TOPD' 116 yfiletop(jcat)=
trim(
ccat(jcat))//
'_FilledDTM.map' 117 yfilecon(jcat)=
trim(
ccat(jcat))//
'_connections.vec' 118 yfileslo(jcat)=
trim(
ccat(jcat))//
'_slope.vec' 119 yfiledr(jcat)=
trim(
ccat(jcat))//
'_RiverDist.map' 120 yfiledh(jcat)=
trim(
ccat(jcat))//
'_HillDist.map' 156 ALLOCATE(ztopd_read(
npmax))
161 xtopd(jcat,jj) = ztopd_read(jj)
subroutine read_topd_file(HPROGRAM, HFILE, HFORM, KNPT, PTOPD_READ)
real, dimension(:,:), allocatable xlambda
static const char * trim(const char *name, int *n)
real, dimension(jpcat) xspeedh
real, dimension(:,:), allocatable xdriv
real, dimension(:,:), allocatable xtopd
subroutine init_topd(HPROGRAM)
real, dimension(jpcat) xspeedr
real, dimension(:), allocatable xx0
character(len=15), dimension(jpcat) ccat
real, dimension(:,:), allocatable xslop
real, dimension(:,:), allocatable xqb_dr
real, dimension(:,:), allocatable xqb_run
real, dimension(:,:), allocatable xdmaxt
real, dimension(:,:), allocatable xdarea
real, dimension(:,:), allocatable xtanb
integer, dimension(:,:), allocatable nline
real, dimension(:), allocatable xdxt
integer, parameter nundef
integer, dimension(:), allocatable nx_step_rout
real, dimension(:,:), allocatable xdhil
integer, dimension(:), allocatable nnyc
subroutine get_luout(HPROGRAM, KLUOUT)
real, dimension(:), allocatable xnul
integer, dimension(:), allocatable nnxc
real, dimension(:), allocatable xy0
integer, dimension(:), allocatable nnpt
real, dimension(:,:), allocatable xtime_topd_drain
real, dimension(jpcat) xspeedg
real, dimension(:,:), allocatable xtime_topd
real, dimension(:,:,:), allocatable xconn
real, dimension(:,:), allocatable xdgrd
subroutine read_slope_file(HPROGRAM, HFILE, HFORM, KNMC, PTANB, PSLOP, P
subroutine read_connex_file(HPROGRAM, HFILE, HFORM, KNMC, PCONN, KLINE)
integer, dimension(:), allocatable nnmc
real, dimension(:,:), allocatable xqtot