ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_ShocPDF.cpp File Reference
#include "ERF_ShocPDF.H"
#include "ERF_Constants.H"
#include "ERF_MicrophysicsUtils.H"
#include <AMReX_BLProfiler.H>
#include <algorithm>
#include <cmath>
#include <limits>
Include dependency graph for ERF_ShocPDF.cpp:

Namespaces

 erf_detail_ShocPDF
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_thl_tol () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_rt_tol () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_w_tol_sqd () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_w_thresh () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_large_neg () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_base_temp () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_tl_min () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_pdf_tmp () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::shoc_sqrt_pdf_tmp () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool erf_detail_ShocPDF::shoc_do_thetal_skew () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::inv_sqrt_two_pi () noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::eps ()
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::clamp01 (Real x)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::signed_denominator (Real value, Real eps_in=eps())
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::weighted_linear_interp (Real x0, Real x1, Real y0, Real y1, Real x)
 
void erf_detail_ShocPDF::interpolate_iface_to_cc (const ShocColumnData &col, const FArrayBox &iface_in, FArrayBox &cc_out, Real min_thresh)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void erf_detail_ShocPDF::vv_parameters (Real w_first, Real w_sec, Real w3var, Real &skew_w, Real &w1_1, Real &w1_2, Real &w2_1, Real &w2_2, Real &a)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void erf_detail_ShocPDF::thl_parameters (Real wthlsec, Real sqrtw2, Real sqrtthl, Real thlsec, Real thl_first, Real w1_1, Real w1_2, Real skew_w, Real a, Real &thl1_1, Real &thl1_2, Real &thl2_1, Real &thl2_2, Real &sqrtthl2_1, Real &sqrtthl2_2)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void erf_detail_ShocPDF::qw_parameters (Real wqwsec, Real sqrtw2, Real skew_w, Real sqrtqt, Real qwsec, Real w1_2, Real w1_1, Real qw_first, Real a, Real &qw1_1, Real &qw1_2, Real &qw2_1, Real &qw2_2, Real &sqrtqw2_1, Real &sqrtqw2_2)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::inplume_correlation (Real sqrtqw2_1, Real sqrtthl2_1, Real a, Real sqrtqw2_2, Real sqrtthl2_2, Real qwthlsec, Real qw1_1, Real qw_first, Real thl1_1, Real thl_first, Real qw1_2, Real thl1_2)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::compute_temperature (Real thl1, Real pval)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void erf_detail_ShocPDF::compute_qs_beta (Real temp, Real pval, Real &qs, Real &beta)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void erf_detail_ShocPDF::compute_s_terms (Real qw1, Real qs, Real beta, Real pval, Real thl2, Real qw2, Real sqrtthl2, Real sqrtqw2, Real r_qwthl, Real &s, Real &std_s, Real &qn, Real &cfrac)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real erf_detail_ShocPDF::compute_buoyancy_flux (Real wthlsec, Real wqwsec, Real pval, Real wqls)