Outputs
solve() returns an RTOutput structure. Every array is indexed by
interface number, from the top of the atmosphere (index 0) to the
surface (index num_layers). With index_from_bottom = true the ordering
is reversed on output as well.
Always populated
Field |
Meaning |
|---|---|
|
Upward diffuse hemispheric flux (same units as the source \(B\)). |
|
Downward diffuse hemispheric flux. |
|
Actinic mean intensity \(J = \frac{1}{4\pi}\int I\,\dd\Omega\), including the direct stellar beam (DisORT convention). |
|
Net flux divergence \(\dd F/\dd\tau = 4\pi(1-\omega)(J - B)\) at each level; each interface uses the layer immediately above it. |
|
Attenuated direct solar-beam flux. |
The total net flux is flux_up - flux_down - flux_direct.
Mean-intensity convention
mean_intensity is the full actinic mean intensity and includes the
collimated direct beam contribution \(F_\text{direct}/(4\pi\mu_0)\).
To obtain the diffuse-only mean intensity, subtract it back out:
J_diffuse = mean_intensity - flux_direct / (4 * pi * solar_mu)
Optional: net-flux components
When compute_flux_components is set (C++), the net upward flux is split
into additive thermal and stellar parts:
Field |
Meaning |
|---|---|
|
|
|
|
The split is exact: at frozen opacity the diffuse field is linear in the
sources, and the two arrays sum to the total net flux
flux_up - flux_down - flux_direct. These arrays are empty unless
requested.
Optional: temperature Jacobians
When compute_temperature_jacobian is set (thermal problems, C++), four
additional arrays are filled, each indexed [interface][dof]:
flux_up_temperature_jacflux_down_temperature_jacmean_intensity_temperature_jacflux_divergence_temperature_jac
The dof axis has num_layers + 2 entries: 0 .. num_layers are the
derivatives with respect to the level temperatures, and num_layers + 1 is
the derivative with respect to the surface skin temperature. When the solve is
driven by planck_levels rather than temperatures, these hold
\(\partial/\partial B\) instead. See Temperature Jacobians and
Analytic temperature Jacobians. These arrays are empty unless requested.