|
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_mbar_to_pa (const amrex::Real &pres_mbar) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_pa_to_mbar (const amrex::Real &pres_pa) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_theta_from_stored_mbar_converted_to_pa (const amrex::Real &tabs, const amrex::Real &pres_mbar, const amrex::Real rdOcp) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrimitiveCell | sam_cons_to_primitive (const amrex::Real &rho, const amrex::Real &rho_theta, const amrex::Real &rho_qv, const amrex::Real &rho_qcl, const amrex::Real &rho_qci, const amrex::Real &rho_qpr, const amrex::Real &rho_qps, const amrex::Real &rho_qpg) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | sam_primitive_to_cons (const SAMPrimitiveCell &primitive, const amrex::Array4< amrex::Real > &states_arr, const int &i, const int &j, const int &k) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | sam_is_no_ice (const MoistureType &moisture_type) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | sam_is_no_precip (const MoistureType &moisture_type) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_cloud_liquid_fraction (const int &SAM_moisture_type, const amrex::Real &tabs, const amrex::Real an, const amrex::Real bn) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_precip_rain_fraction (const int &SAM_moisture_type, const amrex::Real &tabs) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_graupel_fraction (const int &SAM_moisture_type, const amrex::Real &tabs) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMCloudPhaseChange | sam_partition_cloud_phase (const int &SAM_moisture_type, const amrex::Real &tabs, const amrex::Real &qn, const amrex::Real &qcl, const amrex::Real &qci, const amrex::Real fac_cond, const amrex::Real fac_fus, const amrex::Real an, const amrex::Real bn) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_mixed_qsat (const amrex::Real &omn, const amrex::Real &qsatw, const amrex::Real &qsati) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_mixed_dqsat_dT (const amrex::Real &omn, const amrex::Real &domn, const amrex::Real &qsatw, const amrex::Real &qsati, const amrex::Real &dqsatw, const amrex::Real &dqsati) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_mixed_dqif_dT (const amrex::Real &omn, const amrex::Real &domn, const amrex::Real &qn, const amrex::Real &dqsatm) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_newton_residual (const amrex::Real &tabs_new, const amrex::Real &tabs_old, const amrex::Real fcond, const amrex::Real &qv, const amrex::Real &qsatm, const amrex::Real ffus, const amrex::Real &qi, const amrex::Real &qif) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_newton_residual_derivative (const amrex::Real fcond, const amrex::Real ffus, const amrex::Real &dqsatm, const amrex::Real &dqif) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipSources | sam_autoconversion_rates (const amrex::Real &dtn, const amrex::Real &qcc, const amrex::Real &qii, const amrex::Real &coefice_k) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipSources | sam_accretion_rates (const amrex::Real &dtn, const amrex::Real &qcc, const amrex::Real &qii, const amrex::Real &qpr, const amrex::Real &qps, const amrex::Real &qpg, const amrex::Real &powr1, const amrex::Real &pows1, const amrex::Real &powg1, const amrex::Real &omp, const amrex::Real &omg, const amrex::Real &accrrc_k, const amrex::Real &accrsc_k, const amrex::Real &accrsi_k, const amrex::Real &accrgc_k, const amrex::Real &accrgi_k) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipSources | sam_rescale_cloud_sinks (const amrex::Real &qcl, const amrex::Real &qci, const amrex::Real &eps, SAMPrecipSources result) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipSources | sam_partition_autoconverted_precip (SAMPrecipSources result, const amrex::Real &omp, const amrex::Real &omg) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipSources | sam_precip_evaporation_rates (const amrex::Real &qpr, const amrex::Real &qps, const amrex::Real &qpg, const amrex::Real &powr2, const amrex::Real &pows2, const amrex::Real &powg2, const amrex::Real &evapr1_k, const amrex::Real &evapr2_k, const amrex::Real &evaps1_k, const amrex::Real &evaps2_k, const amrex::Real &evapg1_k, const amrex::Real &evapg2_k) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipSources | sam_apply_precip_evaporation_limiter (const amrex::Real &qpr, const amrex::Real &qps, const amrex::Real &qpg, SAMPrecipSources result) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMCellState | sam_precip_cell_update (SAMCellState state, const SAMCoefficientRow &coeffs, const SAMPrecipConfig &config, SAMPrecipCellDiagnostics *diagnostics=nullptr) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMCoefficientRow | sam_compute_coefficient_row (const amrex::Real &rho, const amrex::Real &tabs, const amrex::Real &gamr1, const amrex::Real &gamr2, const amrex::Real &gams1, const amrex::Real &gams2, const amrex::Real &gamg1, const amrex::Real &gamg2) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_cloud_ice_terminal_velocity (const amrex::Real &qci_avg) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMFaceState | sam_face_average_state (const int &k, const int &k_lo, const int &k_hi, const amrex::Real &rho_km1, const amrex::Real &rho_k, const amrex::Real tabs_km1, const amrex::Real tabs_k, const amrex::Real &qci_km1, const amrex::Real &qci_k, const amrex::Real qp_km1, const amrex::Real qp_k) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | sam_precip_face_donor_k (const int &face_k, const int &k_lo, const int &k_hi) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | sam_substep_count_from_reduced_flux (const amrex::Real &reduced_flux, const amrex::Real &dt, const amrex::Real &dz) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipFaceState | sam_precip_face_state (const int &SAM_moisture_type, const amrex::Array4< const amrex::Real > &rho_array, const amrex::Array4< const amrex::Real > &tabs_array, const amrex::Array4< const amrex::Real > &qp_array, const int &i, const int &j, const int &k, const int &k_lo, const int &k_hi) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipComponentFaceState | sam_precip_component_face_state (const amrex::Array4< const amrex::Real > &rho_array, const amrex::Array4< const amrex::Real > &tabs_array, const amrex::Array4< const amrex::Real > &qpr_array, const amrex::Array4< const amrex::Real > &qps_array, const amrex::Array4< const amrex::Real > &qpg_array, const int &i, const int &j, const int &k, const int &k_lo, const int &k_hi) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_precip_flux_from_face_state (const SAMPrecipFaceState &face_state, const amrex::Real &vrain, const amrex::Real &vsnow, const amrex::Real &vgrau) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipFluxComponents | sam_precip_flux_components_from_face_state (const SAMPrecipFaceState &face_state, const amrex::Real &vrain, const amrex::Real &vsnow, const amrex::Real &vgrau) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipFluxComponents | sam_precip_component_fluxes_from_face_state (const SAMPrecipComponentFaceState &face_state, const amrex::Real &vrain, const amrex::Real &vsnow, const amrex::Real &vgrau) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_precip_flux_density_corrected (const amrex::Real &precip_flux, const amrex::Real &rho_0, const amrex::Real &rho_avg) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMPrecipFluxComponents | sam_precip_flux_components_density_corrected (const SAMPrecipFluxComponents &precip_fluxes, const amrex::Real &rho_0, const amrex::Real &rho_avg) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_limit_precip_component_flux (const amrex::Real &raw_flux, const amrex::Real &rho_donor, const amrex::Real &q_donor, const amrex::Real &detJ_donor, const amrex::Real &coef) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | sam_sedimentation_tendency (const amrex::Real &fz_hi, const amrex::Real &fz_lo, const amrex::Real &rho, const amrex::Real &dJinv, const amrex::Real &coef) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMSurfaceAccumulation | sam_surface_accumulation_from_component_fluxes (const SAMPrecipFluxComponents &component_fluxes, const amrex::Real &dtn) noexcept |
| |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE SAMSurfaceAccumulation | sam_surface_accumulation (const SAMPrecipFaceState &face_state, const amrex::Real &rho_0, const amrex::Real &vrain, const amrex::Real &vsnow, const amrex::Real &vgrau, const amrex::Real &dtn) noexcept |
| |