SCALE-RM
scale_land_phy_matsiro.F90
Go to the documentation of this file.
1 !-------------------------------------------------------------------------------
9 !-------------------------------------------------------------------------------
10 #include "scalelib.h"
12  !-----------------------------------------------------------------------------
13  !
14  !++ used modules
15  !
16  use scale_precision
17  use scale_io
18  use scale_prof
19  use scale_debug
21  !-----------------------------------------------------------------------------
22  implicit none
23  private
24  !-----------------------------------------------------------------------------
25  !
26  !++ Public procedure
27  !
28  public :: land_phy_matsiro_setup
29  public :: land_phy_matsiro
30 
31  !-----------------------------------------------------------------------------
32  !
33  !++ Public parameters & variables
34  !
35  !-----------------------------------------------------------------------------
36  !
37  !++ Private procedure
38  !
39  !-----------------------------------------------------------------------------
40  !
41  !++ Private parameters & variables
42  !
43  !-----------------------------------------------------------------------------
44 contains
45  !-----------------------------------------------------------------------------
47  subroutine land_phy_matsiro_setup( LAND_TYPE )
48  use scale_prc, only: &
49  prc_abort
50  implicit none
51 
52  character(len=*), intent(in) :: LAND_TYPE
53 
54  logical :: dummy
55 
56  namelist / param_land_matsiro / &
57  dummy
58 
59  integer :: ierr
60  !---------------------------------------------------------------------------
61 
62  log_newline
63  log_info("LAND_PHY_MATSIRO_setup",*) 'Setup'
64 
65  !--- read namelist
66  rewind(io_fid_conf)
67  read(io_fid_conf,nml=param_land_matsiro,iostat=ierr)
68  if( ierr < 0 ) then !--- missing
69  log_info("LAND_PHY_MATSIRO_setup",*) 'Not found namelist. Default used.'
70  elseif( ierr > 0 ) then !--- fatal error
71  log_error("LAND_PHY_MATSIRO_setup",*) 'Not appropriate names in namelist PARAM_LAND_MATSIRO. Check!'
72  call prc_abort
73  endif
74  log_nml(param_land_matsiro)
75 
76  log_error("LAND_PHY_MATSIRO", *) "This scheme is under development"
77  call prc_abort
78 
79  return
80  end subroutine land_phy_matsiro_setup
81 
82  !-----------------------------------------------------------------------------
84  subroutine land_phy_matsiro( &
85  LAND_TEMP_t, &
86  LAND_WATER_t, &
87  LAND_TEMP, &
88  LAND_WATER, &
89  LAND_WaterLimit, &
90  LAND_ThermalCond, &
91  LAND_HeatCapacity, &
92  LAND_WaterDiff, &
93  LAND_SFLX_GH, &
94  LAND_SFLX_prec, &
95  LAND_SFLX_evap, &
96  CDZ, &
97  dt )
99  implicit none
100 
101  ! arguments
102  real(RP), intent(out) :: LAND_TEMP_t (lkmax,lia,lja)
103  real(RP), intent(out) :: LAND_WATER_t (lkmax,lia,lja)
104 
105  real(RP), intent(in) :: LAND_TEMP (lkmax,lia,lja)
106  real(RP), intent(in) :: LAND_WATER (lkmax,lia,lja)
107  real(RP), intent(in) :: LAND_WaterLimit (lia,lja)
108  real(RP), intent(in) :: LAND_ThermalCond (lia,lja)
109  real(RP), intent(in) :: LAND_HeatCapacity(lia,lja)
110  real(RP), intent(in) :: LAND_WaterDiff (lia,lja)
111  real(RP), intent(in) :: LAND_SFLX_GH (lia,lja)
112  real(RP), intent(in) :: LAND_SFLX_prec (lia,lja)
113  real(RP), intent(in) :: LAND_SFLX_evap (lia,lja)
114  real(RP), intent(in) :: CDZ (lkmax)
115  real(DP), intent(in) :: dt
116  !---------------------------------------------------------------------------
117 
118  log_progress(*) 'land / physics / Matsiro'
119 
120  land_temp_t(:,:,:) = 0.0_rp
121  land_water_t(:,:,:) = 0.0_rp
122 
123  return
124  end subroutine land_phy_matsiro
125 
126 end module scale_land_phy_matsiro
module DEBUG
Definition: scale_debug.F90:11
subroutine, public land_phy_matsiro_setup(LAND_TYPE)
Setup.
module land / grid / cartesianC / index
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:55
module atmosphere / grid / cartesC index
module PROCESS
Definition: scale_prc.F90:11
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
module profiler
Definition: scale_prof.F90:11
module PRECISION
module STDIO
Definition: scale_io.F90:10
subroutine, public land_phy_matsiro(LAND_TEMP_t, LAND_WATER_t, LAND_TEMP, LAND_WATER, LAND_WaterLimit, LAND_ThermalCond, LAND_HeatCapacity, LAND_WaterDiff, LAND_SFLX_GH, LAND_SFLX_prec, LAND_SFLX_evap, CDZ, dt)
Physical processes for land submodel.
module land / physics / MATSIRO