SCALE-RM
scale_ocean_phy_const.F90
Go to the documentation of this file.
1 !-------------------------------------------------------------------------------
10 !-------------------------------------------------------------------------------
12  !-----------------------------------------------------------------------------
13  !
14  !++ used modules
15  !
16  use scale_precision
17  use scale_stdio
18  use scale_prof
19  use scale_debug
21  !-----------------------------------------------------------------------------
22  implicit none
23  private
24  !-----------------------------------------------------------------------------
25  !
26  !++ Public procedure
27  !
28  public :: ocean_phy_const_setup
29  public :: ocean_phy_const
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 ocean_phy_const_setup( OCEAN_TYPE )
48  implicit none
49 
50  character(len=*), intent(in) :: ocean_type
51  !---------------------------------------------------------------------------
52 
53  if( io_l ) write(io_fid_log,*)
54  if( io_l ) write(io_fid_log,*) '++++++ Module[CONST] / Categ[OCEAN PHY] / Origin[SCALElib]'
55 
56  return
57  end subroutine ocean_phy_const_setup
58 
59  !-----------------------------------------------------------------------------
61  subroutine ocean_phy_const( &
62  OCEAN_TEMP_t, &
63  OCEAN_TEMP, &
64  OCEAN_SFLX_WH, &
65  OCEAN_SFLX_prec, &
66  OCEAN_SFLX_evap, &
67  dt )
68  implicit none
69 
70  real(RP), intent(out) :: ocean_temp_t (ia,ja)
71  real(RP), intent(in) :: ocean_temp (ia,ja)
72  real(RP), intent(in) :: ocean_sflx_wh (ia,ja)
73  real(RP), intent(in) :: ocean_sflx_prec(ia,ja)
74  real(RP), intent(in) :: ocean_sflx_evap(ia,ja)
75  real(DP), intent(in) :: dt
76  !---------------------------------------------------------------------------
77 
78  if( io_l ) write(io_fid_log,*) '*** Ocean physics step: Const'
79 
80  ocean_temp_t(:,:) = 0.0_rp
81 
82  return
83  end subroutine ocean_phy_const
84 
85 end module scale_ocean_phy_const
module DEBUG
Definition: scale_debug.F90:13
logical, public io_l
output log or not? (this process)
Definition: scale_stdio.F90:61
module STDIO
Definition: scale_stdio.F90:12
module OCEAN / Physics Constant model
module grid index
integer, public ia
of whole cells: x, local, with HALO
subroutine, public ocean_phy_const(OCEAN_TEMP_t, OCEAN_TEMP, OCEAN_SFLX_WH, OCEAN_SFLX_prec, OCEAN_SFLX_evap, dt)
Slab ocean model.
module profiler
Definition: scale_prof.F90:10
module PRECISION
integer, public io_fid_log
Log file ID.
Definition: scale_stdio.F90:56
subroutine, public ocean_phy_const_setup(OCEAN_TYPE)
Setup.
integer, public ja
of whole cells: y, local, with HALO