SCALE-RM
Functions/Subroutines | Variables
scale_atmos_phy_ae_dummy Module Reference

module ATMOSPHERE / Physics Aerosol Microphysics More...

Functions/Subroutines

subroutine, public atmos_phy_ae_dummy_config (AE_TYPE, QA_AE, QS_AE)
 Config. More...
 
subroutine, public atmos_phy_ae_dummy_setup
 Setup. More...
 
subroutine, public atmos_phy_ae_dummy (QQA, DENS, MOMZ, MOMX, MOMY, RHOT, EMIT, NREG, QTRC, CN, CCN, RHOQ_t_AE)
 Aerosol Microphysics. More...
 
subroutine, public atmos_phy_ae_dummy_effectiveradius (Re, QTRC, RH)
 Calculate Effective Radius. More...
 

Variables

integer, parameter, public qa_ae = 0
 
character(len=h_short), dimension(qa_ae), target, public atmos_phy_ae_dummy_name
 
character(len=h_mid), dimension(qa_ae), target, public atmos_phy_ae_dummy_desc
 
character(len=h_short), dimension(qa_ae), target, public atmos_phy_ae_dummy_unit
 
real(rp), dimension(qa_ae), target, public atmos_phy_ae_dummy_dens
 

Detailed Description

module ATMOSPHERE / Physics Aerosol Microphysics

Description
dummy code
Author
Team SCALE
History
  • 2013-02-06 (H.Yashiro) [new]

Function/Subroutine Documentation

◆ atmos_phy_ae_dummy_config()

subroutine, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_config ( character(len=*), intent(in)  AE_TYPE,
integer, intent(out)  QA_AE,
integer, intent(out)  QS_AE 
)

Config.

Definition at line 64 of file scale_atmos_phy_ae_dummy.F90.

References scale_stdio::io_fid_log, scale_stdio::io_l, scale_process::prc_mpistop(), and qa_ae.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

64  use scale_process, only: &
66  implicit none
67  character(len=*), intent(in) :: AE_TYPE
68  integer, intent(out) :: QA_AE
69  integer, intent(out) :: QS_AE
70  !---------------------------------------------------------------------------
71 
72  if( io_l ) write(io_fid_log,*)
73  if( io_l ) write(io_fid_log,*) '++++++ Module[Aerosol Tracer] / Categ[ATMOS PHYSICS] / Origin[SCALElib]'
74  if( io_l ) write(io_fid_log,*) '*** No tracers for dummy process'
75 
76  if ( ae_type /= 'DUMMY' .AND. ae_type /= 'NONE' ) then
77  write(*,*) 'xxx ATMOS_PHY_AE_TYPE is not DUMMY. Check!'
78  call prc_mpistop
79  endif
80 
81  qa_ae = 0
82  qs_ae = -1
83 
84  return
subroutine, public prc_mpistop
Abort MPI.
module PROCESS
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_ae_dummy_setup()

subroutine, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_setup ( )

Setup.

Definition at line 90 of file scale_atmos_phy_ae_dummy.F90.

References scale_stdio::io_fid_log, and scale_stdio::io_l.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

90  implicit none
91 
92  if( io_l ) write(io_fid_log,*)
93  if( io_l ) write(io_fid_log,*) '++++++ Module[Aerosol] / Categ[ATMOS PHYSICS] / Origin[SCALElib]'
94  if( io_l ) write(io_fid_log,*) '*** dummy process'
95 
96  return
Here is the caller graph for this function:

◆ atmos_phy_ae_dummy()

subroutine, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy ( integer, intent(in)  QQA,
real(rp), dimension(ka,ia,ja), intent(inout)  DENS,
real(rp), dimension(ka,ia,ja), intent(inout)  MOMZ,
real(rp), dimension(ka,ia,ja), intent(inout)  MOMX,
real(rp), dimension(ka,ia,ja), intent(inout)  MOMY,
real(rp), dimension(ka,ia,ja), intent(inout)  RHOT,
real(rp), dimension(ka,ia,ja,qqa), intent(inout)  EMIT,
real(rp), dimension(ka,ia,ja), intent(in)  NREG,
real(rp), dimension(ka,ia,ja,qa), intent(inout)  QTRC,
real(rp), dimension(ka,ia,ja), intent(out)  CN,
real(rp), dimension(ka,ia,ja), intent(out)  CCN,
real(rp), dimension(ka,ia,ja,qa), intent(inout)  RHOQ_t_AE 
)

Aerosol Microphysics.

Definition at line 114 of file scale_atmos_phy_ae_dummy.F90.

References scale_stdio::io_fid_log, and scale_stdio::io_l.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

114  use scale_grid_index
115  use scale_tracer
116  implicit none
117  integer, intent(in) :: QQA
118  real(RP), intent(inout) :: DENS(KA,IA,JA)
119  real(RP), intent(inout) :: MOMZ(KA,IA,JA)
120  real(RP), intent(inout) :: MOMX(KA,IA,JA)
121  real(RP), intent(inout) :: MOMY(KA,IA,JA)
122  real(RP), intent(inout) :: RHOT(KA,IA,JA)
123  real(RP), intent(inout) :: EMIT(KA,IA,JA,QQA)
124  real(RP), intent(in) :: NREG(KA,IA,JA)
125  real(RP), intent(inout) :: QTRC(KA,IA,JA,QA)
126  real(RP), intent(out) :: CN(KA,IA,JA)
127  real(RP), intent(out) :: CCN(KA,IA,JA)
128  real(RP), intent(inout) :: RHOQ_t_AE(KA,IA,JA,QA)
129 
130  if( io_l ) write(io_fid_log,*) '*** Atmos physics step: Aerosol(dummy)'
131 
132  cn(:,:,:) = 0.0_rp
133  ccn(:,:,:) = 0.0_rp
134 
135  return
module grid index
module TRACER
Here is the caller graph for this function:

◆ atmos_phy_ae_dummy_effectiveradius()

subroutine, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_effectiveradius ( real(rp), dimension (ka,ia,ja,n_ae), intent(out)  Re,
real(rp), dimension(ka,ia,ja,qa), intent(in)  QTRC,
real(rp), dimension (ka,ia,ja), intent(in)  RH 
)

Calculate Effective Radius.

Definition at line 144 of file scale_atmos_phy_ae_dummy.F90.

References scale_const::const_undef, and scale_atmos_aerosol::n_ae.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

144  use scale_grid_index
145  use scale_tracer
146  use scale_const, only: &
147  undef => const_undef
148  use scale_atmos_aerosol, only: &
149  n_ae
150  implicit none
151  real(RP), intent(out) :: Re (KA,IA,JA,N_AE) ! effective radius
152  real(RP), intent(in) :: QTRC(KA,IA,JA,QA) ! tracer mass concentration [kg/kg]
153  real(RP), intent(in) :: RH (KA,IA,JA) ! relative humidity (0-1)
154  integer :: iq
155  !---------------------------------------------------------------------------
156 
157  do iq = 1, n_ae
158  re(:,:,:,iq) = 0.0_rp
159  end do
160 
161 ! Re(:,:,:,I_ae_seasalt) = 2.E-4_RP
162 ! Re(:,:,:,I_ae_dust ) = 4.E-6_RP
163 ! Re(:,:,:,I_ae_bc ) = 4.E-8_RP
164 ! Re(:,:,:,I_ae_oc ) = RH(:,:,:)
165 ! Re(:,:,:,I_ae_sulfate) = RH(:,:,:)
166 
167  return
integer, parameter, public n_ae
real(rp), public const_undef
Definition: scale_const.F90:43
module grid index
module TRACER
module CONSTANT
Definition: scale_const.F90:14
Here is the caller graph for this function:

Variable Documentation

◆ qa_ae

integer, parameter, public scale_atmos_phy_ae_dummy::qa_ae = 0

Definition at line 41 of file scale_atmos_phy_ae_dummy.F90.

Referenced by atmos_phy_ae_dummy_config().

41  integer, public, parameter :: QA_AE = 0

◆ atmos_phy_ae_dummy_name

character(len=h_short), dimension(qa_ae), target, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_name

Definition at line 43 of file scale_atmos_phy_ae_dummy.F90.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

43  character(len=H_SHORT), public, target :: ATMOS_PHY_AE_dummy_NAME(QA_AE)

◆ atmos_phy_ae_dummy_desc

character(len=h_mid), dimension(qa_ae), target, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_desc

Definition at line 44 of file scale_atmos_phy_ae_dummy.F90.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

44  character(len=H_MID) , public, target :: ATMOS_PHY_AE_dummy_DESC(QA_AE)

◆ atmos_phy_ae_dummy_unit

character(len=h_short), dimension(qa_ae), target, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_unit

Definition at line 45 of file scale_atmos_phy_ae_dummy.F90.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

45  character(len=H_SHORT), public, target :: ATMOS_PHY_AE_dummy_UNIT(QA_AE)

◆ atmos_phy_ae_dummy_dens

real(rp), dimension(qa_ae), target, public scale_atmos_phy_ae_dummy::atmos_phy_ae_dummy_dens

Definition at line 47 of file scale_atmos_phy_ae_dummy.F90.

Referenced by scale_atmos_phy_ae::atmos_phy_ae_config().

47  real(RP), public, target :: ATMOS_PHY_AE_dummy_DENS(QA_AE) ! hydrometeor density [kg/m3]=[g/L]