SCALE-RM
Data Types | Functions/Subroutines | Variables
scale_ocean_phy Module Reference

module OCEAN / Physics More...

Functions/Subroutines

subroutine, public ocean_phy_setup (OCEAN_TYPE)
 Setup. More...
 

Variables

procedure(ocn), pointer, public ocean_phy => NULL()
 

Detailed Description

module OCEAN / Physics

Description
ocean physics module
Author
Team SCALE

Function/Subroutine Documentation

◆ ocean_phy_setup()

subroutine, public scale_ocean_phy::ocean_phy_setup ( character(len=*), intent(in)  OCEAN_TYPE)

Setup.

Definition at line 67 of file scale_ocean_phy.F90.

References ocean_phy, scale_ocean_phy_file::ocean_phy_file(), scale_ocean_phy_file::ocean_phy_file_setup(), scale_ocean_phy_slab::ocean_phy_slab(), scale_ocean_phy_slab::ocean_phy_slab_setup(), and scale_process::prc_mpistop().

Referenced by mod_ocean_phy_driver::ocean_phy_driver_setup().

67  use scale_process, only: &
69  use scale_ocean_phy_slab, only: &
72  use scale_ocean_phy_file, only: &
75  implicit none
76 
77  character(len=*), intent(in) :: ocean_type
78  !---------------------------------------------------------------------------
79 
80  select case ( ocean_type )
81  case ( 'CONST' )
82  call ocean_phy_slab_setup( ocean_type )
84  case ( 'SLAB' )
85  call ocean_phy_slab_setup( ocean_type )
87  case ( 'FILE' )
88  call ocean_phy_file_setup( ocean_type )
90  case default
91  write(*,*) 'xxx invalid Ocean type(', trim(ocean_type), '). CHECK!'
92  call prc_mpistop
93  end select
94 
95  return
subroutine, public prc_mpistop
Abort MPI.
subroutine, public ocean_phy_slab_setup(OCEAN_TYPE)
Setup.
module OCEAN / Physics Slab model
module PROCESS
subroutine, public ocean_phy_file(OCEAN_TEMP_t, OCEAN_TEMP, OCEAN_SFLX_WH, OCEAN_SFLX_prec, OCEAN_SFLX_evap, dt)
Slab ocean model.
module OCEAN / Physics File
subroutine, public ocean_phy_slab(OCEAN_TEMP_t, OCEAN_TEMP, OCEAN_SFLX_WH, OCEAN_SFLX_prec, OCEAN_SFLX_evap, dt)
Slab ocean model.
procedure(ocn), pointer, public ocean_phy
subroutine, public ocean_phy_file_setup(OCEAN_TYPE)
Setup.
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ocean_phy

procedure(ocn), pointer, public scale_ocean_phy::ocean_phy => NULL()

Definition at line 47 of file scale_ocean_phy.F90.

Referenced by mod_ocean_phy_driver::ocean_phy_driver(), and ocean_phy_setup().

47  procedure(ocn), pointer :: ocean_phy => null()
procedure(ocn), pointer, public ocean_phy