13 #include "inc_openmp.h" 66 integer,
private,
parameter :: vmax = 1
67 integer,
private,
parameter :: i_ccn = 1
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)
72 integer,
private :: var_id(vmax)
73 integer,
private :: restart_fid = -1
75 data var_name /
'CCN' /
76 data var_desc /
'cloud condensation nuclei' /
77 data var_unit /
'num/m3' /
90 namelist / param_atmos_phy_ae_vars / &
102 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[VARS] / Categ[ATMOS PHY_AE] / Origin[SCALE-RM]' 118 read(
io_fid_conf,nml=param_atmos_phy_ae_vars,iostat=ierr)
120 if(
io_l )
write(
io_fid_log,*)
'*** Not found namelist. Default used.' 121 elseif( ierr > 0 )
then 122 write(*,*)
'xxx Not appropriate names in namelist PARAM_ATMOS_PHY_AE_VARS. Check!' 128 if(
io_l )
write(
io_fid_log,*)
'*** [ATMOS_PHY_AE] prognostic/diagnostic variables' 130 '*** |',
'VARNAME ',
'|',
'DESCRIPTION ',
'[',
'UNIT ',
']' 133 '*** NO.',iv,
'|',var_name(iv),
'|',var_desc(iv),
'[',var_unit(iv),
']' 190 if(
io_l )
write(
io_fid_log,*)
'*** Input restart file (ATMOS_PHY_AE) ***' 202 if(
io_l )
write(
io_fid_log,*)
'*** restart file for ATMOS_PHY_AE is not specified.' 217 character(len=20) :: timelabel
218 character(len=H_LONG) :: basename
227 if(
io_l )
write(
io_fid_log,*)
'*** Output restart file (ATMOS_PHY_AE) ***' 247 character(len=20) :: timelabel
248 character(len=H_LONG) :: basename
257 if(
io_l )
write(
io_fid_log,*)
'*** Output restart file (ATMOS_PHY_AE) ***' 275 if ( restart_fid .NE. -1 )
then 289 if ( restart_fid .NE. -1 )
then 306 if ( restart_fid .NE. -1 )
then 307 call fileio_def_var( restart_fid, var_id(1), var_name(1), var_desc(1), var_unit(1), &
323 if ( restart_fid .NE. -1 )
then character(len=h_long), public atmos_phy_ae_restart_in_basename
basename of the restart file
integer, public is
start point of inner domain: x, local
subroutine, public atmos_phy_ae_vars_restart_create
Create restart file.
subroutine, public atmos_phy_ae_vars_fillhalo
HALO Communication.
integer, public je
end point of inner domain: y, local
subroutine, public prc_mpistop
Abort MPI.
logical, public io_l
output log or not? (this process)
logical, public atmos_phy_ae_restart_output
output restart file?
integer, public ke
end point of inner domain: z, local
real(rp), public const_undef
subroutine, public fileio_def_var(fid, vid, varname, desc, unit, axistype, datatype, timeintv)
Define a variable to file.
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)
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_ae_emit
subroutine, public fileio_create(fid, basename, title, datatype, date, subsec, append, nozcoord)
Create/open a netCDF file.
integer, public js
start point of inner domain: y, local
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_ae_rhoq_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_ae_ccn
character(len=h_mid), public atmos_phy_ae_restart_out_title
title of the output file
character(len=h_mid), public atmos_phy_ae_restart_out_dtype
REAL4 or REAL8.
subroutine, public atmos_phy_ae_vars_restart_enddef
Exit netCDF define mode.
integer, public ks
start point of inner domain: z, local
subroutine, public atmos_phy_ae_vars_setup
Setup.
subroutine, public atmos_phy_ae_vars_restart_read
Read restart.
subroutine, public fileio_enddef(fid)
Exit netCDF file define mode.
integer, public ie
end point of inner domain: x, local
logical, public io_lnml
output log or not? (for namelist, this process)
subroutine, public atmos_phy_ae_vars_restart_def_var
Write restart.
subroutine, public atmos_phy_ae_vars_restart_write
Write restart.
subroutine, public fileio_close(fid)
Close a netCDF file.
integer, public io_fid_conf
Config file ID.
subroutine, public atmos_phy_ae_vars_restart_write_var
Write restart.
subroutine, public atmos_phy_ae_vars_restart_close
Close restart file.
integer, public io_fid_log
Log file ID.
character(len=h_long), public atmos_phy_ae_restart_out_basename
basename of the output file
module ATMOSPHERE / Physics Aerosol Microphysics
real(rp), dimension(:,:,:), allocatable, public atmos_phy_ae_ccn_t
integer, public ja
of y whole cells (local, with HALO)