6 SUBROUTINE coupling_surf_topd (DE, DEC, DC, DMI, G, IO, S, K, NK, NP, NPE, UG, U, HPROGRAM, KI)
47 USE modi_rout_data_isba
48 USE modi_budget_coupl_rout
49 USE modi_write_discharge_file
50 USE modi_write_budget_coupl_rout
51 USE modi_prep_restart_coupl_topd
66 TYPE(
diag_t),
INTENT(INOUT) :: DC
70 TYPE(
grid_t),
INTENT(INOUT) :: G
80 CHARACTER(LEN=6),
INTENT(IN) :: HPROGRAM
81 INTEGER,
INTENT(IN) :: KI
86 CHARACTER(LEN=3) :: YSTEP
90 REAL,
DIMENSION(KI) :: ZDG_FULL
91 REAL,
DIMENSION(KI) :: ZWG2_FULL,ZWG3_FULL,ZDG2_FULL,ZDG3_FULL
92 REAL(KIND=JPRB) :: ZHOOK_HANDLE
94 IF (
lhook)
CALL dr_hook(
'COUPLING_SURF_TOPD',0,zhook_handle)
99 IF (
lhook)
CALL dr_hook(
'COUPLING_SURF_TOPD',1,zhook_handle)
115 write(iluout,*)
'pas de temps coupl ',ystep
117 IF (io%CRUNOFF==
'TOPD')
THEN 118 CALL coupl_topd(dec, dc, dmi, g%XMESH_SIZE, io, s, k, nk, np, npe, &
129 IF (
lhook)
CALL dr_hook(
'COUPLING_SURF_TOPD',1,zhook_handle)
subroutine coupl_topd(DEC, DC, DMI, PMESH_SIZE, IO, S, K, NK, NP,
integer, dimension(:), allocatable nm
real, dimension(:,:), allocatable xqb_dr
real, dimension(:,:), allocatable xqb_run
subroutine budget_coupl_rout(DE, DEC, DC, DMI, IO, NP, NPE, U, KN
integer, dimension(:), allocatable nyear
subroutine coupling_surf_topd(DE, DEC, DC, DMI, G, IO, S, K, NK, NP, NPE, UG, U, HPROGRAM, KI)
integer, dimension(:), allocatable nh
subroutine get_luout(HPROGRAM, KLUOUT)
subroutine rout_data_isba(DEC, DC, DMI, PMESH_SIZE, IO, NP, NPE,
integer, dimension(:), allocatable nday
integer, dimension(:), allocatable nmonth
real, dimension(:,:), allocatable xqtot