|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Classes | |
| struct | FaceStressResult |
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real | conservative_to_kinematic_stress (amrex::Real conservative_stress, amrex::Real rho) |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | lsm_flux_is_valid (bool has_flux, bool is_land, amrex::Real flux, amrex::Real undefined) |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE FaceStressResult | combine_lsm_and_most_stress (amrex::Real rho_low, amrex::Real rho_high, amrex::Real kinematic_low, amrex::Real kinematic_high, bool low_valid, bool high_valid, amrex::Real most_face_stress) |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE FaceStressResult surface_layer_stress::combine_lsm_and_most_stress | ( | amrex::Real | rho_low, |
| amrex::Real | rho_high, | ||
| amrex::Real | kinematic_low, | ||
| amrex::Real | kinematic_high, | ||
| bool | low_valid, | ||
| bool | high_valid, | ||
| amrex::Real | most_face_stress | ||
| ) |
Combine cell-centered kinematic LSM stresses with a conservative MOST fallback stress at one face. The returned cache values are always kinematic, while face_stress is always conservative.
Referenced by SurfaceLayer::compute_SurfaceLayer_bcs().


| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real surface_layer_stress::conservative_to_kinematic_stress | ( | amrex::Real | conservative_stress, |
| amrex::Real | rho | ||
| ) |
LSM cache value from a conservative face stress.
Referenced by combine_lsm_and_most_stress(), and SurfaceLayer::compute_SurfaceLayer_bcs().

| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool surface_layer_stress::lsm_flux_is_valid | ( | bool | has_flux, |
| bool | is_land, | ||
| amrex::Real | flux, | ||
| amrex::Real | undefined | ||
| ) |
Test one LSM side without coupling validity to another component's handle.
Referenced by surface_diagnostics::classify_scalar_source(), and SurfaceLayer::compute_SurfaceLayer_bcs().
