SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
read_namelists_seafluxn.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 read_namelists_seaflux_n (SM, &
7  hprogram,hinit)
8 ! #######################################################
9 !
10 !---------------------------------------------------------------------------
11 !
12 !
13 !
15 !
17 !
18 USE modi_default_seaflux
19 USE modi_default_ch_dep
20 USE modi_default_diag_seaflux
21 USE modi_read_default_seaflux_n
22 USE modi_default_seaice
23 USE modi_read_seaflux_conf_n
24 !
25 USE modi_read_nam_prep_seaflux_n
26 !
27 !
28 USE yomhook ,ONLY : lhook, dr_hook
29 USE parkind1 ,ONLY : jprb
30 !
31 IMPLICIT NONE
32 !
33 !
34 TYPE(seaflux_model_t), INTENT(INOUT) :: sm
35 !
36  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling surf. schemes
37  CHARACTER(LEN=3), INTENT(IN) :: hinit ! choice of fields to initialize
38 REAL(KIND=JPRB) :: zhook_handle
39 !
40 !---------------------------------------------------------------
41 !
42 IF (lhook) CALL dr_hook('READ_NAMELISTS_SEAFLUX_N',0,zhook_handle)
43 !
44  CALL default_seaflux(xtstep,xout_tstep,csea_alb,csea_flux,lpwg, &
45  lprecip,lpwebb,nz0,ngrvwaves,lprogsst, &
46  ntime_coupling,xocean_tstep,xichce,cinterpol_sst,&
47  cinterpol_sss)
48  CALL default_seaice(hprogram, cinterpol_sic, cinterpol_sit, &
49  xfreezing_sst,xseaice_tstep, xsic_efolding_time, &
50  xsit_efolding_time, xcd_ice_cst, xsi_flx_drv )
51 !
52  CALL default_ch_dep(cch_dry_dep)
53 !
54  CALL default_diag_seaflux(n2m,lsurf_budget,l2m_min_zs,lrad_budget,lcoef,lsurf_vars,&
55  ldiag_ocean,ldiag_seaice,lsurf_budgetc,lreset_budgetc,xdiag_tstep)
56 !
57  CALL read_default_seaflux_n(sm%CHS, sm%DGO, sm%DGS, sm%DGSI, sm%O, sm%S, &
58  hprogram)
59 !
60  CALL read_seaflux_conf_n(sm%CHS, sm%DGO, sm%DGS, sm%DGSI, sm%O, sm%S, &
61  hprogram)
62 !
63 IF (hinit=='PRE') CALL read_nam_prep_seaflux_n(hprogram)
64 !
65 IF (lhook) CALL dr_hook('READ_NAMELISTS_SEAFLUX_N',1,zhook_handle)
66 !
67 !---------------------------------------------------------------------------
68 !
69 END SUBROUTINE read_namelists_seaflux_n
subroutine read_namelists_seaflux_n(SM, HPROGRAM, HINIT)
subroutine read_default_seaflux_n(CHS, DGO, DGS, DGSI, O, S, HPROGRAM)
subroutine default_seaflux(PTSTEP, POUT_TSTEP, HSEA_ALB, HSEA_FLUX, OPWG, OPRECIP, OPWEBB, KZ0, KGRVWAVES, OPROGSST, KTIME_COUPLING, POCEAN_TSTEP, PICHCE, HINTERPOL_SST, HINTERPOL_SSS)
subroutine read_nam_prep_seaflux_n(HPROGRAM)
subroutine read_seaflux_conf_n(CHS, DGO, DGS, DGSI, O, S, HPROGRAM)
subroutine default_seaice(HPROGRAM, HINTERPOL_SIC, HINTERPOL_SIT, PFREEZING_SST, PSEAICE_TSTEP, PSIC_EFOLDING_TIME, PSIT_EFOLDING_TIME, PCD_ICE, PSI_FLX_DRV)
subroutine default_ch_dep(HCH_DRY_DEP)
subroutine default_diag_seaflux(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDGET, OCOEF, OSURF_VARS, ODIAG_OCEAN, ODIAG_SEAICE, OSURF_BUDGETC, ORESET_BUDGETC, PDIAG_TSTEP)