|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_DiffStruct.H>

Public Member Functions | |
| void | init_params (std::string pp_prefix) |
| Read diffusion options from the input parameter database. More... | |
| void | display () |
| Print the configured diffusion options. More... | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | host_transports (int n) const noexcept |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | implicit_q (int n) const noexcept |
Public Attributes | |
| MolecDiffType | molec_diff_type = MolecDiffType::Constant |
| Selected molecular transport model. More... | |
| amrex::Real | alpha_T = zero |
| Kinematic temperature diffusivity [m2/s]. More... | |
| amrex::Real | alpha_C = zero |
| Kinematic scalar diffusivity [m2/s]. More... | |
| amrex::Real | rho0_trans = one |
| Reference density used to compute dynamic diffusion coefficients [kg/m3]. More... | |
| amrex::Real | rhoAlpha_T = zero |
| Dynamic temperature diffusion coefficient [kg/(m-s)]. More... | |
| amrex::Real | rhoAlpha_C = zero |
| Dynamic scalar diffusion coefficient [kg/(m-s)]. More... | |
| amrex::Real | dynamic_viscosity = zero |
| Dynamic viscosity for momentum diffusion [kg/(m-s)]. More... | |
| bool | eb_diff_constraint_x = false |
| Whether to constrain EB diffusion in the x direction. More... | |
| bool | eb_diff_constraint_y = false |
| Whether to constrain EB diffusion in the y direction. More... | |
| bool | eb_diff_constraint_z = false |
| Whether to constrain EB diffusion in the z direction. More... | |
| int | n_qstate_moist = NMOIST_max |
| Number of water-related conserved components starting at RhoQ1_comp, retaining their water-species molecular-diffusion coefficients. More... | |
| int | n_qstate_nonmoist = 0 |
| amrex::GpuArray< bool, NVAR_max - RhoQ1_comp > | qstate_is_diagnostic {} |
Container holding diffusion-related choices
|
inline |
Print the configured diffusion options.
Referenced by SolverChoice::display().

|
inlinenoexcept |
Referenced by erf_slow_rhs_post(), if(), and implicit_q().

|
inlinenoexcept |
Referenced by ResolveNativeScalarDiffusionPolicy().


|
inline |
Read diffusion options from the input parameter database.
| pp_prefix | ParmParse prefix for the ERF input namespace. |
Referenced by SolverChoice::init_params().


| DiffChoice::alpha_C = zero |
Kinematic scalar diffusivity [m2/s].
Referenced by ERF::ComputeDiffusiveRates(), display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), ResolveNativeScalarDiffusionPolicy(), and VerticalMolecularAlphaByPrim().
| DiffChoice::alpha_T = zero |
Kinematic temperature diffusivity [m2/s].
Referenced by ERF::ComputeDiffusiveRates(), display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), ResolveNativeScalarDiffusionPolicy(), and VerticalMolecularAlphaByPrim().
| DiffChoice::dynamic_viscosity = zero |
Dynamic viscosity for momentum diffusion [kg/(m-s)].
Referenced by ERF::ComputeDiffusiveRates(), DiffusionSrcForMom_EB(), display(), erf_make_tau_terms(), ImplicitDiffForMomLU_N(), ImplicitDiffForMomLU_S(), ImplicitDiffForMomLU_T(), init_params(), and ERF::InitData_post().
| DiffChoice::eb_diff_constraint_x = false |
Whether to constrain EB diffusion in the x direction.
Referenced by DiffusionSrcForMom_EB(), and init_params().
| DiffChoice::eb_diff_constraint_y = false |
Whether to constrain EB diffusion in the y direction.
Referenced by DiffusionSrcForMom_EB(), and init_params().
| DiffChoice::eb_diff_constraint_z = false |
Whether to constrain EB diffusion in the z direction.
Referenced by DiffusionSrcForMom_EB(), and init_params().
| DiffChoice::molec_diff_type = MolecDiffType::Constant |
Selected molecular transport model.
Referenced by ERF::advance_dycore(), SolverChoice::check_params(), ERF::ComputeDiffusiveRates(), DiffusionSrcForMom_EB(), display(), erf_make_tau_terms(), erf_slow_rhs_post(), erf_slow_rhs_pre(), ImplicitDiffForMomLU_N(), ImplicitDiffForMomLU_S(), ImplicitDiffForMomLU_T(), init_params(), ERF::InitData_post(), ResolveNativeScalarDiffusionPolicy(), and VerticalMolecularAlphaByPrim().
| DiffChoice::n_qstate_moist = NMOIST_max |
Number of water-related conserved components starting at RhoQ1_comp, retaining their water-species molecular-diffusion coefficients.
Referenced by implicit_q(), ResolveNativeScalarDiffusionPolicy(), and VerticalMolecularAlphaByPrim().
| int DiffChoice::n_qstate_nonmoist = 0 |
Referenced by implicit_q().
| amrex::GpuArray<bool, NVAR_max - RhoQ1_comp> DiffChoice::qstate_is_diagnostic {} |
Referenced by host_transports().
| DiffChoice::rho0_trans = one |
Reference density used to compute dynamic diffusion coefficients [kg/m3].
Referenced by ERF::ComputeDiffusiveRates(), DiffusionSrcForMom_EB(), display(), erf_make_tau_terms(), ImplicitDiffForMomLU_N(), ImplicitDiffForMomLU_S(), ImplicitDiffForMomLU_T(), init_params(), and ERF::InitData_post().
| DiffChoice::rhoAlpha_C = zero |
Dynamic scalar diffusion coefficient [kg/(m-s)].
Referenced by ERF::ComputeDiffusiveRates(), init_params(), ResolveNativeScalarDiffusionPolicy(), and VerticalMolecularAlphaByPrim().
| DiffChoice::rhoAlpha_T = zero |
Dynamic temperature diffusion coefficient [kg/(m-s)].
Referenced by ERF::ComputeDiffusiveRates(), init_params(), ResolveNativeScalarDiffusionPolicy(), and VerticalMolecularAlphaByPrim().