13 #include "inc_openmp.h" 65 integer,
private,
parameter :: vmax = 2
66 integer,
private,
parameter :: i_tke = 1
67 integer,
private,
parameter :: i_nu = 2
69 character(len=H_SHORT),
private :: var_name(vmax)
70 character(len=H_MID),
private :: var_desc(vmax)
71 character(len=H_SHORT),
private :: var_unit(vmax)
73 data var_name /
'TKE', &
75 data var_desc /
'turburent kinetic energy', &
77 data var_unit /
'm2/s2', &
90 real(RP) :: ATMOS_PHY_TB_TKE_INIT = 1.0e-10_rp
92 namelist / param_atmos_phy_tb_vars / &
105 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[VARS] / Categ[ATMOS PHY_TB] / Origin[SCALE-RM]' 119 read(
io_fid_conf,nml=param_atmos_phy_tb_vars,iostat=ierr)
121 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 122 elseif( ierr > 0 )
then 123 write(*,*)
'xxx Not appropriate names in namelist PARAM_ATMOS_PHY_TB_VARS. Check!' 129 if(
io_l )
write(
io_fid_log,*)
'*** [ATMOS_PHY_TB] prognostic/diagnostic variables' 131 '*** |',
'VARNAME ',
'|',
'DESCRIPTION ',
'[',
'UNIT ',
']' 134 '*** NO.',iv,
'|',var_name(iv),
'|',var_desc(iv),
'[',var_unit(iv),
']' 205 if(
io_l )
write(
io_fid_log,*)
'*** Input restart file (ATMOS_PHY_TB) ***' 220 if(
io_l )
write(
io_fid_log,*)
'*** restart file for ATMOS_PHY_TB is not specified.' 235 character(len=20) :: timelabel
236 character(len=H_LONG) :: basename
245 if(
io_l )
write(
io_fid_log,*)
'*** Output restart file (ATMOS_PHY_TB) ***' integer, public is
start point of inner domain: x, local
integer, public je
end point of inner domain: y, local
subroutine, public atmos_phy_tb_vars_restart_read
Read restart.
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_momx_t
subroutine, public prc_mpistop
Abort MPI.
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_rhot_t
logical, public io_l
output log or not? (this process)
subroutine, public atmos_phy_tb_vars_restart_write
Write restart.
integer, public ke
end point of inner domain: z, local
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_tke
character(len=h_mid), public atmos_phy_tb_restart_out_title
title of the output file
real(rp), public const_undef
character(len=h_long), public atmos_phy_tb_restart_in_basename
basename of the restart file
character(len=h_mid), public atmos_phy_tb_restart_out_dtype
REAL4 or REAL8.
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_nu
integer, public ia
of x whole cells (local, with HALO)
subroutine, public time_gettimelabel(timelabel)
generate time label
integer, public ka
of z whole cells (local, with HALO)
integer, public js
start point of inner domain: y, local
subroutine, public atmos_phy_tb_vars_setup
Setup.
module Atmosphere / Physics Turbulence
integer, public ks
start point of inner domain: z, local
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_momy_t
integer, public ie
end point of inner domain: x, local
character(len=h_long), public atmos_phy_tb_restart_out_basename
basename of the output file
logical, public io_lnml
output log or not? (for namelist, this process)
logical, public atmos_phy_tb_restart_output
output restart file?
subroutine, public atmos_phy_tb_vars_fillhalo
HALO Communication.
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_tb_rhoq_t
integer, public io_fid_conf
Config file ID.
integer, public io_fid_log
Log file ID.
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_tke_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_momz_t
integer, public ja
of y whole cells (local, with HALO)