43 real(RP),
private :: OCEAN_PHY_SLAB_DEPTH = 10.0_rp
44 real(RP),
private :: OCEAN_PHY_SLAB_HeatCapacity
58 character(len=*),
intent(in) :: ocean_type
60 namelist / param_ocean_phy_slab / &
67 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[SLAB] / Categ[OCEAN PHY] / Origin[SCALElib]' 71 read(
io_fid_conf,nml=param_ocean_phy_slab,iostat=ierr)
73 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 74 elseif( ierr > 0 )
then 75 write(*,*)
'xxx Not appropriate names in namelist PARAM_OCEAN_PHY_SLAB. Check!' 80 ocean_phy_slab_heatcapacity = dwatr * cl * ocean_phy_slab_depth
83 if(
io_l )
write(
io_fid_log,*)
'*** Slab ocean depth [m] : ', ocean_phy_slab_depth
84 if(
io_l )
write(
io_fid_log,*)
'*** Ocean heat capacity [J/K/m2] : ', ocean_phy_slab_heatcapacity
102 real(RP),
intent(out) :: ocean_temp_t (
ia,
ja)
103 real(RP),
intent(in) :: ocean_temp (
ia,
ja)
104 real(RP),
intent(in) :: ocean_sflx_wh (
ia,
ja)
105 real(RP),
intent(in) :: ocean_sflx_prec(
ia,
ja)
106 real(RP),
intent(in) :: ocean_sflx_evap(
ia,
ja)
107 real(DP),
intent(in) :: dt
117 ocean_temp_t(i,j) = - ocean_sflx_wh(i,j) / ocean_phy_slab_heatcapacity
119 ocean_temp_t(i,j) = 0.0_rp
integer, public is
start point of inner domain: x, local
integer, public je
end point of inner domain: y, local
subroutine, public prc_mpistop
Abort MPI.
real(rp), parameter, public const_dwatr
density of water [kg/m3]
logical, public io_l
output log or not? (this process)
real(rp), parameter, public const_cl
specific heat (liquid water) [J/kg/K]
subroutine, public ocean_phy_slab_setup(OCEAN_TYPE)
Setup.
logical, public io_nml
output log or not? (for namelist, this process)
module OCEAN / Physics Slab model
integer, public ia
of whole cells: x, local, with HALO
real(rp), dimension(:,:), allocatable, public landuse_fact_ocean
ocean factor
integer, public js
start point of inner domain: y, local
integer, public ie
end point of inner domain: x, local
subroutine, public ocean_phy_slab(OCEAN_TEMP_t, OCEAN_TEMP, OCEAN_SFLX_WH, OCEAN_SFLX_prec, OCEAN_SFLX_evap, dt)
Slab ocean model.
integer, public io_fid_conf
Config file ID.
integer, public io_fid_log
Log file ID.
integer, public io_fid_nml
Log file ID (only for output namelist)
integer, public ja
of whole cells: y, local, with HALO