Result Classes
Defined in DisortResult.hpp and FluxResult.hpp.
DisortResult
Contains all computed radiant quantities from DisortSolver::solve().
Defined in DisortResult.hpp.
Flux vectors
All flux vectors have size num_user_tau (or num_layers + 1 when
use_user_tau = false). Index 0 corresponds to the topmost output level.
Member |
Description |
|---|---|
|
Direct-beam flux (without Delta-M scaling). |
|
Diffuse downward flux. |
|
Diffuse upward flux. |
|
Flux divergence \(d(\text{net flux})/d(\tau)\). |
|
Mean intensity including the direct beam contribution. |
|
Mean diffuse downward intensity. |
|
Mean diffuse upward intensity. |
|
Mean intensity of the direct beam only. |
Special boundary condition mode
These fields are populated only when ibcnd = Special.
Member |
Description |
|---|---|
|
Albedo of the medium at each user angle [ |
|
Transmissivity of the medium at each user angle [ |
|
Spherical albedo of the medium. |
|
Spherical transmissivity of the medium. |
Intensity arrays
Populated when comp_only_fluxes = false.
Member |
Description |
|---|---|
|
Polar angle cosines at which intensities are returned
[ |
|
Intensity array [ |
|
Azimuthally-averaged intensity
[ |
|
Fourier expansion coefficients (when
|
Accessor methods
- int num_user_tau() const
Number of output levels.
- int num_user_mu() const
Number of output polar angles.
- int num_phi() const
Number of azimuthal output angles.
- double totalFluxDown(int lu) const
Total downward flux (direct + diffuse) at output level
lu.
- double netFlux(int lu) const
Net flux (downward positive) at output level
lu:flux_direct_beam[lu] + flux_down[lu] - flux_up[lu].
- double intensities(int iu, int lu, int j) const
Access the 3D intensity array at user angle
iu, output levellu, and azimuthal anglej. Indices are 0-based.
- double intensitiesAzimuthAvg(int iu, int lu) const
Access the azimuthally-averaged intensity at user angle
iuand output levellu. Indices are 0-based.
FluxResult
Lightweight flux-only result from DisortFluxSolver::solve().
Defined in FluxResult.hpp.
All vectors have size num_layers + 1. Index 0 = TOA, index
num_layers = BOA.
Members
Member |
Description |
|---|---|
|
Direct-beam flux at each level. |
|
Diffuse downward flux at each level. |
|
Diffuse upward flux at each level. |
|
Flux divergence at each level. |
|
Mean intensity (including direct beam) at each level. |
|
Mean diffuse downward intensity at each level. |
|
Mean diffuse upward intensity at each level. |
|
Mean direct beam intensity at each level. |
Methods
- int num_levels() const
Number of output levels (
num_layers + 1).
- double totalFluxDown(int lev) const
Total downward flux at level
lev:flux_direct_beam[lev] + flux_down[lev].
- double netFlux(int lev) const
Net flux at level
lev:flux_direct_beam[lev] + flux_down[lev] - flux_up[lev].