![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Phase H3 body — shortwave/longwave radiation. More...
#include "RadiativeExchange.hpp"#include "HeatOverrides.hpp"#include <algorithm>#include <cmath>#include "SolarRadiation.hpp"#include "SurfaceExchange.hpp"#include "../../../core/SimulationContext.hpp"Namespaces | |
| namespace | openswmm |
| namespace | openswmm::transport |
| namespace | openswmm::transport::heat |
Functions | |
| double | openswmm::transport::heat::netShortwave (double incoming_wm2, double albedo, double shade_factor) noexcept |
| Compute absorbed incident shortwave after albedo and shade. | |
| double | openswmm::transport::heat::backLongwave (double t_water_c, double emiss_water) noexcept |
| Compute emitted water longwave flux from the Stefan-Boltzmann law. | |
| double | openswmm::transport::heat::atmosphericEmissivity (double e_a_kpa, double atm_emiss_coeff, double cloud_factor) noexcept |
| Compute Brunt atmospheric emissivity with optional held cloud enhancement. | |
| double | openswmm::transport::heat::atmosphericLongwave (double t_air_c, double humidity_pct, double atm_emiss_coeff, double lw_reflection, double sky_view, double cloud_factor) noexcept |
| Compute absorbed visible-sky atmospheric longwave into water. | |
| double | openswmm::transport::heat::landCoverLongwave (double t_air_c, double emiss_landcover, double sky_view) noexcept |
| Compute visible land-cover longwave contribution into water. | |
| double | openswmm::transport::heat::netRadiativeFluxOut (double t_water_c, double t_air_c, double humidity_pct, const RadiativeConfig &cfg, double jin_wm2, double cloud_factor, double incoming_longwave) noexcept |
| Combine water emission with absorbed shortwave, sky longwave and land-cover longwave. | |
| double | openswmm::transport::heat::radiativeFluxOut (const SimulationContext &ctx, const HeatElement &elem, double t_w) noexcept |
| Evaluate element radiative flux using the configured global family enable. | |
| double | openswmm::transport::heat::radiativeFluxOut (const SimulationContext &ctx, const HeatElement &elem, double t_w, bool enabled) noexcept |
| Evaluate held element radiation with an explicit domain enable and no global toggle mutation. | |
Phase H3 body — shortwave/longwave radiation.
D-H5e moved the node and link BINDING out of this file into HeatFluxes.cpp. This file had its own hand-inlined explicit conversion and its own copy of the element traversal, which is how it came to carry H2's divergence through a different spelling and then to relax separately from it.
Line-for-line provenance is RHEComponent/src/element.cpp: computeNetSWSolarRadiation (:106), computeBackLWRadiation (:113), computeAtmosphericLWRadiation (:119), computeLandCoverLWRadiation (:131).