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, qflx, QTRC0, RHOQ_t, DENS0, DENS, mflx_hi, num_diff, GSQRT, MAPF, CDZ, RCDZ, RCDX, RCDY, BND_W, BND_E, BND_S, BND_N, TwoD, 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

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 61 of file scale_atmos_dyn_tinteg_tracer_euler.F90.

61  use scale_prc, only: &
62  prc_abort
63  implicit none
64 
65  character(len=*) :: tinteg_type
66 
67  integer :: iv
68  !---------------------------------------------------------------------------
69 
70  if ( tinteg_type /= 'EULER' ) then
71  log_error("ATMOS_DYN_Tinteg_tracer_euler_setup",*) 'TINTEG_TRACER_TYPE is not EULER. Check!'
72  call prc_abort
73  end if
74 
75  return

References scale_prc::prc_abort().

Referenced by scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer_setup().

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,3), intent(out)  qflx,
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,
logical, intent(in)  TwoD,
real(rp), intent(in)  dtl,
logical, intent(in)  FLAG_FCT_TRACER,
logical, intent(in)  FLAG_FCT_ALONG_STREAM 
)

EULER.

Definition at line 93 of file scale_atmos_dyn_tinteg_tracer_euler.F90.

93  use scale_comm_cartesc, only: &
94  comm_vars8, &
95  comm_wait
96  use scale_atmos_dyn_tstep_tracer, only: &
98  implicit none
99  real(RP), intent(inout) :: QTRC (KA,IA,JA)
100  real(RP), intent(out) :: qflx (KA,IA,JA,3)
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  logical, intent(in) :: TwoD
118  real(RP), intent(in) :: dtl
119  logical, intent(in) :: FLAG_FCT_TRACER
120  logical, intent(in) :: FLAG_FCT_ALONG_STREAM
121 
122  !------------------------------------------------------------------------
123  ! Start RK
124  !------------------------------------------------------------------------
125 
126  call atmos_dyn_tstep_tracer( &
127  qtrc, & ! (out)
128  qflx, & ! (out)
129  qtrc, qtrc0, rhoq_t, &! (in)
130  dens0, dens, & ! (in)
131  mflx_hi, num_diff, & ! (in)
132  gsqrt, mapf, & ! (in)
133  cdz, rcdz, rcdx, rcdy, & ! (in)
134  twod, & ! (in)
135  dtl, & ! (in)
136  flag_fct_tracer, flag_fct_along_stream ) ! (in)
137 
138  return

References scale_atmos_dyn_tstep_tracer::atmos_dyn_tstep_tracer.

Referenced by scale_atmos_dyn_tinteg_tracer::atmos_dyn_tinteg_tracer_setup().

Here is the caller graph for this function:
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
scale_prc
module PROCESS
Definition: scale_prc.F90:11
scale_atmos_dyn_tstep_tracer
module Atmosphere / Dynamical scheme
Definition: scale_atmos_dyn_tstep_tracer.F90:12
scale_comm_cartesc
module COMMUNICATION
Definition: scale_comm_cartesC.F90:11
scale_atmos_dyn_tstep_tracer::atmos_dyn_tstep_tracer
procedure(step), pointer, public atmos_dyn_tstep_tracer
Definition: scale_atmos_dyn_tstep_tracer.F90:72