15 #include "inc_openmp.h" 70 character(len=*) :: tinteg_type
75 if ( tinteg_type /=
'EULER' )
then 76 write(*,*)
'xxx TINTEG_LARGE_TYPE is not EULER. Check!' 86 DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, PROG, &
87 DENS_av, MOMZ_av, MOMX_av, MOMY_av, RHOT_av, QTRC_av, &
89 num_diff, num_diff_q, &
90 DENS_tp, MOMZ_tp, MOMX_tp, MOMY_tp, RHOT_tp, RHOQ_tp, &
92 CDZ, CDX, CDY, FDZ, FDX, FDY, &
93 RCDZ, RCDX, RCDY, RFDZ, RFDX, RFDY, &
95 J13G, J23G, J33G, MAPF, &
97 REF_dens, REF_pott, REF_qv, REF_pres, &
98 BND_W, BND_E, BND_S, BND_N, &
99 ND_COEF, ND_COEF_Q, ND_ORDER, ND_SFC_FACT, ND_USE_RS, &
100 DAMP_DENS, DAMP_VELZ, DAMP_VELX, &
101 DAMP_VELY, DAMP_POTT, DAMP_QTRC, &
102 DAMP_alpha_DENS, DAMP_alpha_VELZ, DAMP_alpha_VELX, &
103 DAMP_alpha_VELY, DAMP_alpha_POTT, DAMP_alpha_QTRC, &
105 FLAG_FCT_MOMENTUM, FLAG_FCT_T, FLAG_FCT_TRACER, &
106 FLAG_FCT_ALONG_STREAM, &
148 real(RP),
intent(inout) :: DENS(
ka,
ia,
ja)
149 real(RP),
intent(inout) :: MOMZ(
ka,
ia,
ja)
150 real(RP),
intent(inout) :: MOMX(
ka,
ia,
ja)
151 real(RP),
intent(inout) :: MOMY(
ka,
ia,
ja)
152 real(RP),
intent(inout) :: RHOT(
ka,
ia,
ja)
153 real(RP),
intent(inout) :: QTRC(
ka,
ia,
ja,
qa)
154 real(RP),
intent(inout) :: PROG(
ka,
ia,
ja,
va)
156 real(RP),
intent(inout) :: DENS_av(
ka,
ia,
ja)
157 real(RP),
intent(inout) :: MOMZ_av(
ka,
ia,
ja)
158 real(RP),
intent(inout) :: MOMX_av(
ka,
ia,
ja)
159 real(RP),
intent(inout) :: MOMY_av(
ka,
ia,
ja)
160 real(RP),
intent(inout) :: RHOT_av(
ka,
ia,
ja)
161 real(RP),
intent(inout) :: QTRC_av(
ka,
ia,
ja,
qa)
163 real(RP),
intent(out) :: mflx_hi(
ka,
ia,
ja,3)
164 real(RP),
intent(out) :: tflx_hi(
ka,
ia,
ja,3)
166 real(RP),
intent(out) :: num_diff (
ka,
ia,
ja,5,3)
167 real(RP),
intent(out) :: num_diff_q(
ka,
ia,
ja,3)
169 real(RP),
intent(in) :: DENS_tp(
ka,
ia,
ja)
170 real(RP),
intent(in) :: MOMZ_tp(
ka,
ia,
ja)
171 real(RP),
intent(in) :: MOMX_tp(
ka,
ia,
ja)
172 real(RP),
intent(in) :: MOMY_tp(
ka,
ia,
ja)
173 real(RP),
intent(in) :: RHOT_tp(
ka,
ia,
ja)
174 real(RP),
intent(in) :: RHOQ_tp(
ka,
ia,
ja,
qa)
176 real(RP),
intent(in) :: CORIOLI(
ia,
ja)
178 real(RP),
intent(in) :: CDZ (
ka)
179 real(RP),
intent(in) :: CDX (
ia)
180 real(RP),
intent(in) :: CDY (
ja)
181 real(RP),
intent(in) :: FDZ (
ka-1)
182 real(RP),
intent(in) :: FDX (
ia-1)
183 real(RP),
intent(in) :: FDY (
ja-1)
184 real(RP),
intent(in) :: RCDZ(
ka)
185 real(RP),
intent(in) :: RCDX(
ia)
186 real(RP),
intent(in) :: RCDY(
ja)
187 real(RP),
intent(in) :: RFDZ(
ka-1)
188 real(RP),
intent(in) :: RFDX(
ia-1)
189 real(RP),
intent(in) :: RFDY(
ja-1)
191 real(RP),
intent(in) :: PHI (
ka,
ia,
ja)
192 real(RP),
intent(in) :: GSQRT(
ka,
ia,
ja,7)
193 real(RP),
intent(in) :: J13G (
ka,
ia,
ja,7)
194 real(RP),
intent(in) :: J23G (
ka,
ia,
ja,7)
195 real(RP),
intent(in) :: J33G
196 real(RP),
intent(in) :: MAPF (
ia,
ja,2,4)
198 real(RP),
intent(in) :: AQ_CV(
qqa)
200 real(RP),
intent(in) :: REF_dens(
ka,
ia,
ja)
201 real(RP),
intent(in) :: REF_pott(
ka,
ia,
ja)
202 real(RP),
intent(in) :: REF_qv (
ka,
ia,
ja)
203 real(RP),
intent(in) :: REF_pres(
ka,
ia,
ja)
205 logical,
intent(in) :: BND_W
206 logical,
intent(in) :: BND_E
207 logical,
intent(in) :: BND_S
208 logical,
intent(in) :: BND_N
210 real(RP),
intent(in) :: ND_COEF
211 real(RP),
intent(in) :: ND_COEF_Q
212 integer,
intent(in) :: ND_ORDER
213 real(RP),
intent(in) :: ND_SFC_FACT
214 logical,
intent(in) :: ND_USE_RS
216 real(RP),
intent(in) :: DAMP_DENS(
ka,
ia,
ja)
217 real(RP),
intent(in) :: DAMP_VELZ(
ka,
ia,
ja)
218 real(RP),
intent(in) :: DAMP_VELX(
ka,
ia,
ja)
219 real(RP),
intent(in) :: DAMP_VELY(
ka,
ia,
ja)
220 real(RP),
intent(in) :: DAMP_POTT(
ka,
ia,
ja)
223 real(RP),
intent(in) :: DAMP_alpha_DENS(
ka,
ia,
ja)
224 real(RP),
intent(in) :: DAMP_alpha_VELZ(
ka,
ia,
ja)
225 real(RP),
intent(in) :: DAMP_alpha_VELX(
ka,
ia,
ja)
226 real(RP),
intent(in) :: DAMP_alpha_VELY(
ka,
ia,
ja)
227 real(RP),
intent(in) :: DAMP_alpha_POTT(
ka,
ia,
ja)
228 real(RP),
intent(in) :: DAMP_alpha_QTRC(
ka,
ia,
ja,
bnd_qa)
230 real(RP),
intent(in) :: divdmp_coef
232 logical,
intent(in) :: FLAG_FCT_MOMENTUM
233 logical,
intent(in) :: FLAG_FCT_T
234 logical,
intent(in) :: FLAG_FCT_TRACER
235 logical,
intent(in) :: FLAG_FCT_ALONG_STREAM
237 logical,
intent(in) :: USE_AVERAGE
239 real(DP),
intent(in) :: DTL
240 real(DP),
intent(in) :: DTS
243 dens, momz, momx, momy, rhot, qtrc, prog, &
244 dens_av, momz_av, momx_av, momy_av, rhot_av, qtrc_av, &
246 num_diff, num_diff_q, &
248 dens_tp, momz_tp, momx_tp, momy_tp, rhot_tp, rhoq_tp, &
250 cdz, cdx, cdy, fdz, fdx, fdy, &
251 rcdz, rcdx, rcdy, rfdz, rfdx, rfdy, &
253 j13g, j23g, j33g, mapf, &
255 ref_dens, ref_pott, ref_qv, ref_pres, &
256 bnd_w, bnd_e, bnd_s, bnd_n, &
257 nd_coef, nd_coef_q, nd_order, nd_sfc_fact, nd_use_rs, &
258 damp_dens, damp_velz, damp_velx, &
259 damp_vely, damp_pott, damp_qtrc, &
260 damp_alpha_dens, damp_alpha_velz, damp_alpha_velx, &
261 damp_alpha_vely, damp_alpha_pott, damp_alpha_qtrc, &
263 flag_fct_momentum, flag_fct_t, flag_fct_tracer, &
264 flag_fct_along_stream, &
real(rp), public const_cvdry
specific heat (dry air,constant volume) [J/kg/K]
subroutine, public prc_mpistop
Abort MPI.
subroutine, public atmos_dyn_numfilter_coef_q(num_diff_q, DENS, QTRC, CDZ, CDX, CDY, dt, REF_qv, iq, ND_COEF, ND_ORDER, ND_SFC_FACT, ND_USE_RS)
Calc coefficient of numerical filter.
subroutine, public atmos_dyn_numfilter_coef(num_diff, DENS, MOMZ, MOMX, MOMY, RHOT, CDZ, CDX, CDY, FDZ, FDX, FDY, DT, REF_dens, REF_pott, ND_COEF, ND_ORDER, ND_SFC_FACT, ND_USE_RS)
Calc coefficient of numerical filter.
subroutine, public atmos_dyn_fvm_fluxy_xyz_ud1(flux, mflx, val, GSQRT, CDZ, IIS, IIE, JJS, JJE)
calculation Y-flux at XYZ
procedure(flux_phi), pointer, public atmos_dyn_fvm_fluxx_xyz
module Atmosphere / Dynamical scheme
subroutine, public check(current_line, v)
Undefined value checker.
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
real(rp), public const_undef
integer, public ia
of x whole cells (local, with HALO)
module Atmosphere / Dyn Tinteg
integer, public ka
of z whole cells (local, with HALO)
subroutine, public atmos_dyn_fvm_fluxz_xyz_ud1(flux, mflx, val, GSQRT, CDZ, IIS, IIE, JJS, JJE)
calculation z-flux at XYZ
integer, parameter, public const_undef2
undefined value (INT2)
module Atmosphere / Dynamics common
subroutine, public atmos_dyn_tinteg_large_euler_setup(tinteg_type)
Setup.
real(rp), parameter, public const_rvap
specific gas constant (water vapor) [J/kg/K]
module scale_atmos_dyn_fvm_flux
subroutine, public atmos_dyn_fct(qflx_anti, phi_in, DENS0, DENS, qflx_hi, qflx_lo, mflx_hi, rdz, rdx, rdy, GSQRT, MAPF, dt, flag_vect)
Flux Correction Transport Limiter.
module ATMOSPHERE / Boundary treatment
subroutine, public atmos_dyn_fvm_fluxx_xyz_ud1(flux, mflx, val, GSQRT, CDZ, IIS, IIE, JJS, JJE)
calculation X-flux at XYZ
procedure(flux_phi), pointer, public atmos_dyn_fvm_fluxz_xyz
subroutine, public atmos_dyn_tinteg_large_euler(DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, PROG, DENS_av, MOMZ_av, MOMX_av, MOMY_av, RHOT_av, QTRC_av, mflx_hi, tflx_hi, num_diff, num_diff_q, DENS_tp, MOMZ_tp, MOMX_tp, MOMY_tp, RHOT_tp, RHOQ_tp, CORIOLI, CDZ, CDX, CDY, FDZ, FDX, FDY, RCDZ, RCDX, RCDY, RFDZ, RFDX, RFDY, PHI, GSQRT, J13G, J23G, J33G, MAPF, AQ_CV, REF_dens, REF_pott, REF_qv, REF_pres, BND_W, BND_E, BND_S, BND_N, ND_COEF, ND_COEF_Q, ND_ORDER, ND_SFC_FACT, ND_USE_RS, DAMP_DENS, DAMP_VELZ, DAMP_VELX, DAMP_VELY, DAMP_POTT, DAMP_QTRC, DAMP_alpha_DENS, DAMP_alpha_VELZ, DAMP_alpha_VELX, DAMP_alpha_VELY, DAMP_alpha_POTT, DAMP_alpha_QTRC, divdmp_coef, FLAG_FCT_MOMENTUM, FLAG_FCT_T, FLAG_FCT_TRACER, FLAG_FCT_ALONG_STREAM, USE_AVERAGE, DTL, DTS)
RK3.
procedure(flux_phi), pointer, public atmos_dyn_fvm_fluxy_xyz
procedure(large), pointer, public atmos_dyn_tstep_large
module scale_atmos_dyn_fvm_flux_ud1
real(rp), public atmos_boundary_smoother_fact
integer, public ja
of y whole cells (local, with HALO)