ARTS
2.0.49
|
Functions for disort interface. More...
Go to the source code of this file.
Functions | |
void | dtauc_ssalbCalc (Workspace &ws, VectorView dtauc, VectorView ssalb, const Agenda &opt_prop_part_agenda, const Agenda &abs_scalar_gas_agenda, const Agenda &spt_calc_agenda, ConstTensor4View pnd_field, ConstTensor3View t_field, ConstTensor3View z_field, ConstVectorView p_grid, ConstTensor4View vmr_field, const Index &f_index) |
dtauc_ssalbCalc More... | |
void | phase_functionCalc (MatrixView phase_function, const ArrayOfSingleScatteringData &scat_data_mono, ConstTensor4View pnd_field) |
phase_functionCalc More... | |
void | pmomCalc (MatrixView pmom, ConstMatrixView phase_function, ConstVectorView scat_angle_grid, const Index n_legendre, const Verbosity &verbosity) |
pmomCalc More... | |
Numeric | planck2 (const Numeric &f, const Numeric &t) |
planck More... | |
void dtauc_ssalbCalc | ( | Workspace & | ws, |
VectorView | dtauc, | ||
VectorView | ssalb, | ||
const Agenda & | opt_prop_part_agenda, | ||
const Agenda & | abs_scalar_gas_agenda, | ||
const Agenda & | spt_calc_agenda, | ||
ConstTensor4View | pnd_field, | ||
ConstTensor3View | t_field, | ||
ConstTensor3View | z_field, | ||
ConstVectorView | p_grid, | ||
ConstTensor4View | vmr_field, | ||
const Index & | f_index | ||
) |
dtauc_ssalbCalc
Calculates layer averaged cloud optical depth (dtauc) and single scattering albedo (ssalb). These variables are required as input for the DISORT subroutine
ws | Current workspace |
dtauc | optical depths for all layers |
ssalb | single scattering albedos for all layers |
opt_prop_part_agenda | use arts -d for docu |
abs_scalar_gas_agenda | use arts -d |
spt_calc_agenda | use arts -d |
pnd_field | use arts -d |
t_field | use arts -d |
z_field | use arts -d |
p_grid | use arts -d |
vmr_field | use arts -d |
f_index | use arts -d |
Definition at line 68 of file disort.cc.
References abs, abs_scalar_gas_agendaExecute(), joker, ConstTensor4View::nbooks(), ConstVectorView::nelem(), ConstTensor4View::npages(), opt_prop_part_agendaExecute(), and spt_calc_agendaExecute().
void phase_functionCalc | ( | MatrixView | phase_function, |
const ArrayOfSingleScatteringData & | scat_data_mono, | ||
ConstTensor4View | pnd_field | ||
) |
phase_functionCalc
Calculates layer averaged normalized phase functions from the phase matrix in SingleScatteringData. The scattering angle grid is taken from the data. It is required that all particle types include the same scattering angle grid (FIXME: Include angle interpolation)
phase_function | normalized phase function |
scat_data_mono | use arts -d for docu |
pnd_field | use arts -d for docu |
Definition at line 190 of file disort.cc.
References ConstMatrixView::ncols(), Array< base >::nelem(), ConstTensor4View::npages(), and PI.
planck
Calculates the Planck function for a single temperature.
Comment by CE: Copied here from physics_funcs.cc, because I cannot include physics.h in m_disort.cc. The problem is that the definition of complex is not compatible with f2c.h
Note that this expression gives the intensity for both polarisations.
f | frequency |
t | temperature |
Definition at line 365 of file disort.cc.
References BOLTZMAN_CONST, PLANCK_CONST, and SPEED_OF_LIGHT.
void pmomCalc | ( | MatrixView | pmom, |
ConstMatrixView | phase_function, | ||
ConstVectorView | scat_angle_grid, | ||
const Index | n_legendre, | ||
const Verbosity & | verbosity | ||
) |
pmomCalc
Calculates Legendre polynomials of phase functions for each layer. The Legendre polynomial are required as input for DISORT.
pmom | Legendre polynomial of phase functions |
phase_function | Normalized phase function |
scat_angle_grid | Scattering angle grid corresponding to phase functions |
n_legendre | Number of Legendre polynomials to be calculated |
Definition at line 256 of file disort.cc.
References abs, CREATE_OUT1, gridpos(), interp(), interpweights(), joker, Array< base >::nelem(), ConstVectorView::nelem(), ConstMatrixView::nrows(), and PI.