ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
shoc::constants Namespace Reference

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real min_tke () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real active_tke_rel_margin () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real active_tke_threshold () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real latent_ice () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real min_temp () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real freezing_temp () noexcept
 

Function Documentation

◆ active_tke_rel_margin()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::constants::active_tke_rel_margin ( )
noexcept
22 {
23 #ifdef AMREX_USE_FLOAT
24  return amrex::Real(1.0e-4);
25 #else
26  return amrex::Real(1.0e-6);
27 #endif
28 }
amrex::Real Real
Definition: ERF_ShocInterface.H:19

Referenced by active_tke_threshold().

Here is the caller graph for this function:

◆ active_tke_threshold()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::constants::active_tke_threshold ( )
noexcept
33 {
34  return min_tke() * (amrex::Real(1.0) + active_tke_rel_margin());
35 }
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real active_tke_rel_margin() noexcept
Definition: ERF_ShocConstants.H:21
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real min_tke() noexcept
Definition: ERF_ShocConstants.H:10

Referenced by shoc::diagnose_active_top().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ freezing_temp()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::constants::freezing_temp ( )
noexcept
44 { return amrex::Real(273.15); }

◆ latent_ice()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::constants::latent_ice ( )
noexcept
38 { return amrex::Real(3.34e5); }

Referenced by shoc::apply_energy_fix_column(), shoc::latent_sublimation(), and shoc::moist_energy().

Here is the caller graph for this function:

◆ min_temp()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::constants::min_temp ( )
noexcept
41 { return amrex::Real(180.0); }

Referenced by shoc::temperature_from_thetal().

Here is the caller graph for this function:

◆ min_tke()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::constants::min_tke ( )
noexcept
10 { return amrex::Real(4.0e-4); }

Referenced by active_tke_threshold().

Here is the caller graph for this function: