disort.h File Reference

Functions for disort interface. More...

#include "agenda_class.h"
#include "matpackIV.h"
#include "mystring.h"
#include "optproperties.h"

Include dependency graph for disort.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void dtauc_ssalbCalc (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)
void phase_functionCalc (MatrixView phase_function, const ArrayOfSingleScatteringData &scat_data_mono, ConstTensor4View pnd_field)
 phase_functionCalc
void pmomCalc (MatrixView pmom, ConstMatrixView phase_function, ConstVectorView scat_angle_grid, const Index n_legendre)
 pmomCalc
Numeric planck2 (const Numeric &f, const Numeric &t)
 planck


Detailed Description

Functions for disort interface.

Author:
Claudia Emde <claudia.emde@dlr.de>
Date:
Tue Feb 7 11:48:17 2006

Definition in file disort.h.


Function Documentation

void dtauc_ssalbCalc ( 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 
)

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)

Parameters:
phase_function normalized phase function
scat_data_mono use arts -d for docu
pnd_field use arts -d for docu
Author:
Claudia Emde
Date:
2006-02-10

Definition at line 189 of file disort.cc.

References ConstMatrixView::ncols(), Array< base >::nelem(), ConstTensor4View::npages(), and PI.

Numeric planck2 ( const Numeric f,
const Numeric t 
)

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.

Returns:
blackbody radiation
Parameters:
f frequency
t temperature
Author:
Patrick Eriksson
Date:
2000-04-08

Definition at line 361 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 
)

pmomCalc

Calculates Legendre polynomials of phase functions for each layer. The Legendre polynomial are required as input for DISORT.

Parameters:
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
Author:
Claudia Emde
Date:
2006-02-10

Definition at line 255 of file disort.cc.

References abs, gridpos(), interp(), interpweights(), joker, ConstVectorView::nelem(), Array< base >::nelem(), ConstMatrixView::nrows(), out1, and PI.


Generated on Mon Mar 23 14:06:34 2009 for ARTS by  doxygen 1.5.6