ARTS  2.0.49
m_disort.cc File Reference

This file contains functions to use the multiple scattering program DISORT. More...

#include <stdexcept>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include "arts.h"
#include "array.h"
#include "auto_md.h"
#include "messages.h"
#include "xml_io.h"
#include "m_general.h"
#include "wsv_aux.h"
#include "disort.h"
#include "disort_DISORT.h"

Go to the source code of this file.

Functions

void cloudboxSetDisort (Index &cloudbox_on, ArrayOfIndex &cloudbox_limits, const Vector &p_grid, const Verbosity &)
 WORKSPACE METHOD: cloudboxSetDisort. More...
 
void ScatteringDisort (Workspace &, Tensor7 &, Tensor7 &, Tensor7 &, Index &, ArrayOfSingleScatteringData &, Tensor4 &, const ArrayOfIndex &, const Index &, const Agenda &, const Agenda &, const Agenda &, const Tensor4 &, const Tensor3 &, const Tensor3 &, const Vector &, const Tensor4 &, const ArrayOfSingleScatteringData &, const Vector &, const Vector &, const Matrix &, const Verbosity &)
 WORKSPACE METHOD: ScatteringDisort. More...
 

Variables

const Numeric PI
 
const Numeric RAD2DEG
 
const Numeric SPEED_OF_LIGHT
 
const Numeric COSMIC_BG_TEMP
 

Detailed Description

This file contains functions to use the multiple scattering program DISORT.

Author
Claudia Emde claud.nosp@m.ia.e.nosp@m.mde@d.nosp@m.lr.d.nosp@m.e
Date
2006-02-06

These functions are listed in the doxygen documentation as entries of the file auto_md.h

Definition in file m_disort.cc.

Function Documentation

◆ cloudboxSetDisort()

void cloudboxSetDisort ( Index cloudbox_on,
ArrayOfIndex cloudbox_limits,
const Vector p_grid,
const Verbosity verbosity 
)

WORKSPACE METHOD: cloudboxSetDisort.

For Disort calculation the cloudbox must be extended to cover the full atmosphere. This method sets cloudbox_limits accordingly.

Author
Claudia Emde
Parameters
[out]cloudbox_onWS Output
[out]cloudbox_limitsWS Output
[in]p_gridWS Input

Definition at line 60 of file m_disort.cc.

References ConstVectorView::nelem().

Referenced by cloudboxSetDisort_g().

◆ ScatteringDisort()

void ScatteringDisort ( Workspace ws,
Tensor7 scat_i_p,
Tensor7 scat_i_lat,
Tensor7 scat_i_lon,
Index f_index,
ArrayOfSingleScatteringData scat_data_mono,
Tensor4 doit_i_field1D_spectrum,
const ArrayOfIndex cloudbox_limits,
const Index stokes_dim,
const Agenda opt_prop_part_agenda,
const Agenda abs_scalar_gas_agenda,
const Agenda spt_calc_agenda,
const Tensor4 pnd_field,
const Tensor3 t_field,
const Tensor3 z_field,
const Vector p_grid,
const Tensor4 vmr_field,
const ArrayOfSingleScatteringData scat_data_raw,
const Vector f_grid,
const Vector scat_za_grid,
const Matrix surface_emissivity_DISORT,
const Verbosity verbosity 
)

WORKSPACE METHOD: ScatteringDisort.

Calls DISORT RT solver from ARTS.

Author
Claudia Emde
Parameters
[in,out]wsWorkspace
[out]scat_i_pWS Output
[out]scat_i_latWS Output
[out]scat_i_lonWS Output
[out]f_indexWS Output
[out]scat_data_monoWS Output
[out]doit_i_field1D_spectrumWS Output
[in]cloudbox_limitsWS Input
[in]stokes_dimWS Input
[in]opt_prop_part_agendaWS Input
[in]abs_scalar_gas_agendaWS Input
[in]spt_calc_agendaWS Input
[in]pnd_fieldWS Input
[in]t_fieldWS Input
[in]z_fieldWS Input
[in]p_gridWS Input
[in]vmr_fieldWS Input
[in]scat_data_rawWS Input
[in]f_gridWS Input
[in]scat_za_gridWS Input
[in]surface_emissivity_DISORTWS Input

Definition at line 332 of file m_disort.cc.

Referenced by ScatteringDisort_g().

Variable Documentation

◆ COSMIC_BG_TEMP

const Numeric COSMIC_BG_TEMP
extern

◆ PI

const Numeric PI
extern

◆ RAD2DEG

const Numeric RAD2DEG
extern

◆ SPEED_OF_LIGHT

const Numeric SPEED_OF_LIGHT
extern