FV3DYCORE  Version1.0.0
test_cases.F90 File Reference

Go to the source code of this file.

Data Types

interface  test_cases_mod::mp_update_dwinds
 

Modules

module  test_cases_mod
 

Functions/Subroutines

subroutine test_cases_mod::init_winds (UBar, u, v, ua, va, uc, vc, defOnGrid, npx, npy, ng, ndims, nregions, nested, gridstruct, domain, tile)
 
subroutine, public test_cases_mod::init_case (u, v, w, pt, delp, q, phis, ps, pe, peln, pk, pkz, uc, vc, ua, va, ak, bk, gridstruct, flagstruct, npx, npy, npz, ng, ncnst, nwat, ndims, nregions, dry_mass, mountain, moist_phys, hydrostatic, hybrid_z, delz, ze0, adiabatic, ks, npx_global, ptop, domain_in, tile_in, bd)
 
subroutine test_cases_mod::get_vorticity (isc, iec, jsc, jec, isd, ied, jsd, jed, npz, u, v, vort, dx, dy, rarea)
 
subroutine, public test_cases_mod::checker_tracers (i0, i1, j0, j1, ifirst, ilast, jfirst, jlast, nq, km, q, lon, lat, nx, ny, rn)
 
subroutine test_cases_mod::terminator_tracers (i0, i1, j0, j1, ifirst, ilast, jfirst, jlast, km, q, delp, ncnst, lon, lat)
 
subroutine test_cases_mod::rankine_vortex (ubar, r0, p1, u, v, grid)
 
real function test_cases_mod::gh_jet (npy, lat_in)
 
real function test_cases_mod::u_jet (lat)
 
subroutine test_cases_mod::get_case9_b (B, agrid)
 
subroutine, public test_cases_mod::case9_forcing1 (phis, time_since_start)
 
subroutine, public test_cases_mod::case9_forcing2 (phis)
 
subroutine, public test_cases_mod::case51_forcing (delp, uc, vc, u, v, ua, va, pe, time, dt, gridstruct, npx, npy, npz, ptop, domain)
 
subroutine, public test_cases_mod::get_stats (dt, dtout, nt, maxnt, ndays, u, v, pt, delp, q, phis, ps, uc, vc, ua, va, npx, npy, npz, ncnst, ndims, nregions, gridstruct, stats_lun, consv_lun, monitorFreq, tile, domain, nested)
 
subroutine test_cases_mod::get_pt_on_great_circle (p1, p2, dist, heading, p3)
 
subroutine test_cases_mod::get_scalar_stats (var, varT, npx, npy, ndims, nregions, vmin, vmax, L1_norm, L2_norm, Linf_norm, gridstruct, tile)
 
subroutine test_cases_mod::get_vector_stats (varU, varUT, varV, varVT, npx, npy, ndims, nregions, vmin, vmax, L1_norm, L2_norm, Linf_norm, gridstruct, tile)
 
subroutine, public test_cases_mod::check_courant_numbers (uc, vc, ndt, n_split, gridstruct, npx, npy, npz, tile, noPrint)
 
subroutine test_cases_mod::pmxn (p, npx, npy, nregions, tile, gridstruct, pmin, pmax, i0, j0, n0)
 
subroutine, public test_cases_mod::init_double_periodic (u, v, w, pt, delp, q, phis, ps, pe, peln, pk, pkz, uc, vc, ua, va, ak, bk, gridstruct, flagstruct, npx, npy, npz, ng, ncnst, nwat, ndims, nregions, dry_mass, mountain, moist_phys, hydrostatic, hybrid_z, delz, ze0, ks, ptop, domain_in, tile_in, bd)
 
subroutine test_cases_mod::superk_sounding (km, pe, p00, ze, pt, qz)
 
subroutine test_cases_mod::balanced_k (km, is, ie, js, je, ng, ps0, ze1, ts1, qs1, uz1, dudz, pe, pk, pt, delz, zvir, ptop, ak, bk, agrid)
 
subroutine test_cases_mod::superk_u (km, zz, um, dudz)
 
subroutine test_cases_mod::dcmip16_bc (delp, pt, u, v, q, w, delz, is, ie, js, je, isd, ied, jsd, jed, npz, nq, ak, bk, ptop, pk, peln, pe, pkz, gz, phis, ps, grid, agrid, hydrostatic, nwat, adiabatic, do_pert, domain)
 
real function dcmip16_bc_temperature (z, lat)
 
real function dcmip16_bc_pressure (z, lat)
 
real function dcmip16_bc_uwind (z, T, lat)
 
real function dcmip16_bc_uwind_pert (z, lat, lon)
 
real function dcmip16_bc_sphum (p, ps, lat, lon)
 
subroutine test_cases_mod::dcmip16_tc (delp, pt, u, v, q, w, delz, is, ie, js, je, isd, ied, jsd, jed, npz, nq, ak, bk, ptop, pk, peln, pe, pkz, gz, phis, ps, grid, agrid, hydrostatic, nwat, adiabatic)
 
real function dcmip16_tc_temperature (z, r)
 
real function dcmip16_tc_pressure (z, r)
 
subroutine dcmip16_tc_uwind_pert (z, r, lon, lat, uu, vv)
 
real function dcmip16_tc_sphum (z)
 
subroutine, public test_cases_mod::init_latlon (u, v, pt, delp, q, phis, ps, pe, peln, pk, pkz, uc, vc, ua, va, ak, bk, gridstruct, npx, npy, npz, ng, ncnst, ndims, nregions, dry_mass, mountain, moist_phys, hybrid_z, delz, ze0, domain_in, tile_in)
 
subroutine test_cases_mod::init_latlon_winds (UBar, u, v, ua, va, uc, vc, defOnGrid, gridstruct)
 
subroutine test_cases_mod::d2a2c (im, jm, km, ifirst, ilast, jfirst, jlast, ng, nested, u, v, ua, va, uc, vc, gridstruct, domain)
 
subroutine test_cases_mod::atob_s (qin, qout, npx, npy, dxa, dya, nested, cubed_sphere, altInterp)
 
subroutine test_cases_mod::atod (uin, vin, uout, vout, dxa, dya, dxc, dyc, npx, npy, ng, nested, domain)
 
subroutine test_cases_mod::dtoa (uin, vin, uout, vout, dx, dy, dxa, dya, dxc, dyc, npx, npy, ng)
 
subroutine test_cases_mod::atoc (uin, vin, uout, vout, dx, dy, dxa, dya, npx, npy, ng, nested, domain, noComm)
 
subroutine test_cases_mod::ctoa (uin, vin, uout, vout, dx, dy, dxc, dyc, dxa, dya, npx, npy, ng)
 
subroutine test_cases_mod::rotate_winds (myU, myV, p1, p2, p3, p4, t1, ndims, dir)
 
subroutine test_cases_mod::mp_update_dwinds_2d (u, v, npx, npy, domain)
 
subroutine test_cases_mod::mp_update_dwinds_3d (u, v, npx, npy, npz, domain)
 
real function test_cases_mod::globalsum (p, npx, npy, ifirst, ilast, jfirst, jlast, isd, ied, jsd, jed, gridstruct, tile)
 
subroutine test_cases_mod::get_unit_vector (p1, p2, p3, uvect)
 
subroutine test_cases_mod::normalize_vect (np, e)
 
subroutine test_cases_mod::mp_ghost_ew (im, jm, km, nq, ifirst, ilast, jfirst, jlast, kfirst, klast, ng_w, ng_e, ng_s, ng_n, q_ghst, q)
 
subroutine test_cases_mod::interp_left_edge_1d (qout, qin, dx, ifirst, ilast, order)
 
subroutine test_cases_mod::vpol5 (u, v, im, jm, coslon, sinlon, cosl5, sinl5, ng_d, ng_s, jfirst, jlast)
 
subroutine test_cases_mod::prt_m1 (qname, q, is, ie, js, je, n_g, km, fac)
 
subroutine test_cases_mod::var_dz (km, ztop, ze)
 
subroutine test_cases_mod::sm1_edge (is, ie, js, je, km, i, j, ze, ntimes)
 

Variables

integer test_cases_mod::sphum
 
integer test_cases_mod::theta_d
 
real(kind=r_grid), parameter test_cases_mod::radius = cnst_radius
 
real(kind=r_grid), parameter test_cases_mod::one = 1.d0
 
integer, public test_cases_mod::test_case
 
logical, public test_cases_mod::bubble_do
 
real, public test_cases_mod::alpha
 
integer, public test_cases_mod::nsolitons
 
real, public test_cases_mod::soliton_size = 750.e3
 
real, public test_cases_mod::soliton_umax = 50.
 
real test_cases_mod::p0_c0 = 3.0
 
real test_cases_mod::rgamma = 5.0
 
real test_cases_mod::lat0 = pi/2.0
 pi/4.8 More...
 
real test_cases_mod::lon0 = 0.0
 pi-0.8 More...
 
real, parameter test_cases_mod::pi_shift = 0.0
 3.0*pi/4. More...
 
integer, parameter test_cases_mod::initwindscase0 =-1
 
integer, parameter test_cases_mod::initwindscase1 = 1
 
integer, parameter test_cases_mod::initwindscase2 = 5
 
integer, parameter test_cases_mod::initwindscase5 = 5
 
integer, parameter test_cases_mod::initwindscase6 =-1
 
integer, parameter test_cases_mod::initwindscase9 =-1
 
real, dimension(:), allocatable, public test_cases_mod::pz0
 
real, dimension(:), allocatable, public test_cases_mod::zz0
 
integer, public test_cases_mod::tracer_test
 
integer, public test_cases_mod::wind_field
 
real test_cases_mod::ubar
 
real test_cases_mod::vbar
 
real test_cases_mod::gh0
 
real, dimension(:,:), allocatable test_cases_mod::case9_b
 
real, dimension(2) test_cases_mod::aoft
 
real, dimension(:,:,:), allocatable test_cases_mod::phi0
 Validating Field. More...
 
real, dimension(:,:,:), allocatable test_cases_mod::ua0
 Validating U-Wind. More...
 
real, dimension(:,:,:), allocatable test_cases_mod::va0
 Validating V-Windfms_io_exit, get_tile_string, &. More...
 
real, dimension(:), allocatable test_cases_mod::gh_table
 
real, dimension(:), allocatable test_cases_mod::lats_table
 
logical test_cases_mod::gh_initialized = .false.
 
real test_cases_mod::tmass_orig
 total mass More...
 
real test_cases_mod::tvort_orig
 enstrophy (integral of total vorticity) More...
 
real test_cases_mod::tener_orig
 energy More...
 
integer, parameter test_cases_mod::interporder = 1
 

Function/Subroutine Documentation

◆ dcmip16_bc_pressure()

real function dcmip16_bc::dcmip16_bc_pressure ( real, intent(in)  z,
real(kind=r_grid), intent(in)  lat 
)
private

Definition at line 7419 of file test_cases.F90.

◆ dcmip16_bc_sphum()

real function dcmip16_bc::dcmip16_bc_sphum ( real, intent(in)  p,
real, intent(in)  ps,
real(kind=r_grid), intent(in)  lat,
real(kind=r_grid), intent(in)  lon 
)
private

Definition at line 7468 of file test_cases.F90.

◆ dcmip16_bc_temperature()

real function dcmip16_bc::dcmip16_bc_temperature ( real, intent(in)  z,
real(kind=r_grid), intent(in)  lat 
)
private

Definition at line 7402 of file test_cases.F90.

◆ dcmip16_bc_uwind()

real function dcmip16_bc::dcmip16_bc_uwind ( real, intent(in)  z,
real, intent(in)  T,
real(kind=r_grid), intent(in)  lat 
)
private

Definition at line 7435 of file test_cases.F90.

◆ dcmip16_bc_uwind_pert()

real function dcmip16_bc::dcmip16_bc_uwind_pert ( real, intent(in)  z,
real(kind=r_grid), intent(in)  lat,
real(kind=r_grid), intent(in)  lon 
)
private

Definition at line 7451 of file test_cases.F90.

◆ dcmip16_tc_pressure()

real function dcmip16_tc::dcmip16_tc_pressure ( real, intent(in)  z,
real, intent(in)  r 
)
private

Definition at line 7779 of file test_cases.F90.

◆ dcmip16_tc_sphum()

real function dcmip16_tc::dcmip16_tc_sphum ( real, intent(in)  z)
private

Definition at line 7823 of file test_cases.F90.

◆ dcmip16_tc_temperature()

real function dcmip16_tc::dcmip16_tc_temperature ( real, intent(in)  z,
real, intent(in)  r 
)
private

Definition at line 7761 of file test_cases.F90.

◆ dcmip16_tc_uwind_pert()

subroutine dcmip16_tc::dcmip16_tc_uwind_pert ( real, intent(in)  z,
real, intent(in)  r,
real(kind=r_grid), intent(in)  lon,
real(kind=r_grid), intent(in)  lat,
real, intent(out)  uu,
real, intent(out)  vv 
)
private

Definition at line 7792 of file test_cases.F90.