13 #include "inc_openmp.h" 48 real(RP),
public,
allocatable ::
prog(:,:,:,:)
58 integer,
private,
parameter :: vmax = 100
59 integer,
private :: va = 0
60 character(len=H_SHORT),
private :: var_name(vmax)
61 character(len=H_MID),
private :: var_desc(vmax)
62 character(len=H_SHORT),
private :: var_unit(vmax)
79 namelist / param_atmos_dyn_vars / &
91 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[VARS] / Categ[ATMOS DYN] / Origin[SCALE-RM]' 95 read(
io_fid_conf,nml=param_atmos_dyn_vars,iostat=ierr)
97 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 98 elseif( ierr > 0 )
then 99 write(*,*)
'xxx Not appropriate names in namelist PARAM_ATMOS_DYN_VARS. Check!' 112 if ( va > vmax )
then 113 write(*,*)
'xxx number of the prognostic variables is exceed the limit', va,
' > ', vmax
117 prog(:,:,:,:) = undef
120 if(
io_l )
write(
io_fid_log,*)
'*** [ATMOS_DYN] prognostic/diagnostic variables' 122 '*** |',
'VARNAME ',
'|',
'DESCRIPTION ',
'[',
'UNIT ',
']' 125 '*** NO.',iv,
'|',var_name(iv),
'|',var_desc(iv),
'[',var_unit(iv),
']' 147 prog(:,:,:,:) = undef
174 call comm_vars8(
prog(:,:,:,iv), iv )
178 call comm_wait (
prog(:,:,:,iv), iv )
198 if(
io_l )
write(
io_fid_log,*)
'*** Input restart file (ATMOS_DYN) ***' 204 call fileio_read(
prog(:,:,:,iv), &
212 call stat_total( total,
prog(:,:,:,iv), var_name(iv) )
215 if(
io_l )
write(
io_fid_log,*)
'*** restart file for ATMOS_DYN is not specified.' 230 character(len=20) :: timelabel
231 character(len=H_LONG) :: basename
241 if(
io_l )
write(
io_fid_log,*)
'*** Output restart file (ATMOS_DYN) ***'
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.
module Atmosphere / Dynamical scheme
character(len=h_long), public atmos_dyn_restart_in_basename
basename of the restart file
logical, public io_l
output log or not? (this process)
module Atmosphere / Dynamics
integer, public ke
end point of inner domain: z, local
subroutine, public atmos_dyn_vars_restart_write
Write restart.
subroutine, public atmos_dyn_vars_fillhalo
HALO Communication.
character(len=h_mid), public atmos_dyn_restart_out_title
title of the output file
real(rp), public const_undef
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)
logical, public atmos_dyn_restart_output
output restart file?
integer, public js
start point of inner domain: y, local
subroutine, public atmos_dyn_vars_restart_read
Read restart.
subroutine, public atmos_dyn_tstep_short_regist(ATMOS_DYN_TYPE, VA_out, VAR_NAME, VAR_DESC, VAR_UNIT)
Register.
real(rp), dimension(:,:,:,:), allocatable, public prog
integer, public ks
start point of inner domain: z, local
subroutine, public atmos_dyn_vars_setup
Setup.
integer, public ie
end point of inner domain: x, local
logical, public io_lnml
output log or not? (for namelist, this process)
character(len=h_short), public atmos_dyn_type
integer, public io_fid_conf
Config file ID.
integer, public io_fid_log
Log file ID.
character(len=h_mid), public atmos_dyn_restart_out_dtype
REAL4 or REAL8.
character(len=h_long), public atmos_dyn_restart_out_basename
basename of the output file
integer, public ja
of y whole cells (local, with HALO)