ARTS  2.2.66
mc_antenna.h File Reference

Workspace functions for the solution of cloud-box radiative transfer by Monte Carlo methods. All of these functions refer to 3D calculations. More...

#include "arts.h"
#include "rng.h"
#include "matpackI.h"
#include <cmath>
#include <stdexcept>

Go to the source code of this file.

Classes

class  MCAntenna
 An Antenna object used by MCGeneral. More...
 

Enumerations

enum  AntennaType { ANTENNA_TYPE_PENCIL_BEAM = 1, ANTENNA_TYPE_GAUSSIAN = 2, ANTENNA_TYPE_LOOKUP = 3 }
 

Functions

ostream & operator<< (ostream &os, const MCAntenna &mca)
 
Numeric ran_gaussian (Rng &rng, const Numeric sigma)
 ran_gaussian More...
 

Detailed Description

Workspace functions for the solution of cloud-box radiative transfer by Monte Carlo methods. All of these functions refer to 3D calculations.

Author
Cory Davis cdavi.nosp@m.s@st.nosp@m.affma.nosp@m.il.e.nosp@m.d.ac..nosp@m.uk
Date
2005-12-02

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

Definition in file mc_antenna.h.

Enumeration Type Documentation

◆ AntennaType

Enumerator
ANTENNA_TYPE_PENCIL_BEAM 
ANTENNA_TYPE_GAUSSIAN 
ANTENNA_TYPE_LOOKUP 

Definition at line 47 of file mc_antenna.h.

Function Documentation

◆ operator<<()

ostream& operator<< ( ostream &  os,
const MCAntenna mca 
)

Definition at line 198 of file mc_antenna.cc.

◆ ran_gaussian()

Numeric ran_gaussian ( Rng rng,
const Numeric  sigma 
)

ran_gaussian

Draw a random normal (Gaussian) deviate. This has been copied with minor changes from the GSL function gsl_ran_gaussian. Polar (Box-Mueller) method; See Knuth v2, 3rd ed, p122

Parameters
rngRng random number generator instance
sigmastandard deviation parameter for gaussian distribution

Returns the gaussian random deviate.

Author
Cory Davis
Date
2003-12-01

Definition at line 65 of file mc_antenna.cc.

References Rng::draw().

Referenced by MCAntenna::draw_los(), and IWCtopnd_MH97().