SCALE-RM
Functions/Subroutines
scale_atmos_dyn_tinteg_tracer_euler Module Reference

module Atmosphere / Dyn Tinteg More...

Functions/Subroutines

subroutine, public atmos_dyn_tinteg_tracer_euler_setup (tinteg_type)
 Setup. More...
 
subroutine, public atmos_dyn_tinteg_tracer_euler (QTRC, QTRC0, RHOQ_t, DENS0, DENS, mflx_hi, num_diff, GSQRT, MAPF, CDZ, RCDZ, RCDX, RCDY, BND_W, BND_E, BND_S, BND_N, dtl, FLAG_FCT_TRACER, FLAG_FCT_ALONG_STREAM)
 EULER. More...
 

Detailed Description

module Atmosphere / Dyn Tinteg

Description
Temporal integration for tracer advection for Atmospheric process Euler scheme
Author
Team SCALE
History
  • 2016-05-17 (S.Nishizawa) [new]

Function/Subroutine Documentation

◆ atmos_dyn_tinteg_tracer_euler_setup()

subroutine, public scale_atmos_dyn_tinteg_tracer_euler::atmos_dyn_tinteg_tracer_euler_setup ( character(len=*)  tinteg_type)

Setup.

Definition at line 64 of file scale_atmos_dyn_tinteg_tracer_euler.F90.

References scale_process::prc_mpistop().

Referenced by scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer_setup().

64  use scale_process, only: &
66  implicit none
67 
68  character(len=*) :: tinteg_type
69 
70  integer :: iv
71  !---------------------------------------------------------------------------
72 
73  if ( tinteg_type /= 'EULER' ) then
74  write(*,*) 'xxx TINTEG_LARGE_TYPE is not EULER. Check!'
75  call prc_mpistop
76  end if
77 
78  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_dyn_tinteg_tracer_euler()

subroutine, public scale_atmos_dyn_tinteg_tracer_euler::atmos_dyn_tinteg_tracer_euler ( real(rp), dimension (ka,ia,ja), intent(inout)  QTRC,
real(rp), dimension (ka,ia,ja), intent(in)  QTRC0,
real(rp), dimension (ka,ia,ja), intent(in)  RHOQ_t,
real(rp), dimension (ka,ia,ja), intent(in)  DENS0,
real(rp), dimension (ka,ia,ja), intent(in)  DENS,
real(rp), dimension (ka,ia,ja,3), intent(in)  mflx_hi,
real(rp), dimension(ka,ia,ja,3), intent(in)  num_diff,
real(rp), dimension (ka,ia,ja,7), intent(in)  GSQRT,
real(rp), dimension (ia,ja), intent(in)  MAPF,
real(rp), dimension(ka), intent(in)  CDZ,
real(rp), dimension(ka), intent(in)  RCDZ,
real(rp), dimension(ia), intent(in)  RCDX,
real(rp), dimension(ja), intent(in)  RCDY,
logical, intent(in)  BND_W,
logical, intent(in)  BND_E,
logical, intent(in)  BND_S,
logical, intent(in)  BND_N,
real(rp), intent(in)  dtl,
logical, intent(in)  FLAG_FCT_TRACER,
logical, intent(in)  FLAG_FCT_ALONG_STREAM 
)

EULER.

Definition at line 94 of file scale_atmos_dyn_tinteg_tracer_euler.F90.

References scale_atmos_dyn_tstep_tracer::atmos_dyn_tstep_tracer.

Referenced by scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer_setup().

94  use scale_comm, only: &
95  comm_vars8, &
96  comm_wait
97  use scale_atmos_dyn_tstep_tracer, only: &
99  implicit none
100  real(RP), intent(inout) :: QTRC (KA,IA,JA)
101  real(RP), intent(in) :: QTRC0 (KA,IA,JA)
102  real(RP), intent(in) :: RHOQ_t (KA,IA,JA)
103  real(RP), intent(in) :: DENS0 (KA,IA,JA)
104  real(RP), intent(in) :: DENS (KA,IA,JA)
105  real(RP), intent(in) :: mflx_hi (KA,IA,JA,3)
106  real(RP), intent(in) :: num_diff(KA,IA,JA,3)
107  real(RP), intent(in) :: GSQRT (KA,IA,JA,7)
108  real(RP), intent(in) :: MAPF (IA,JA)
109  real(RP), intent(in) :: CDZ(KA)
110  real(RP), intent(in) :: RCDZ(KA)
111  real(RP), intent(in) :: RCDX(IA)
112  real(RP), intent(in) :: RCDY(JA)
113  logical, intent(in) :: BND_W
114  logical, intent(in) :: BND_E
115  logical, intent(in) :: BND_S
116  logical, intent(in) :: BND_N
117  real(RP), intent(in) :: dtl
118  logical, intent(in) :: FLAG_FCT_TRACER
119  logical, intent(in) :: FLAG_FCT_ALONG_STREAM
120 
121  !------------------------------------------------------------------------
122  ! Start RK
123  !------------------------------------------------------------------------
124 
125  call atmos_dyn_tstep_tracer( &
126  qtrc, & ! (out)
127  qtrc, qtrc0, rhoq_t, &! (in)
128  dens0, dens, & ! (in)
129  mflx_hi, num_diff, & ! (in)
130  gsqrt, mapf, & ! (in)
131  cdz, rcdz, rcdx, rcdy, & ! (in)
132  dtl, & ! (in)
133  flag_fct_tracer, flag_fct_along_stream ) ! (in)
134 
135  return
module COMMUNICATION
Definition: scale_comm.F90:23
procedure(step), pointer, public atmos_dyn_tstep_tracer
module Atmosphere / Dynamical scheme
Here is the caller graph for this function: