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>

Include dependency graph for mc_antenna.h:

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

Go to the source code of this file.

Classes

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

Enumerations

enum  AType { ATYPE_PENCIL_BEAM = 1, ATYPE_GAUSSIAN = 2, ATYPE_LOOKUP = 3 }

Functions

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


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 <cdavis@staffmail.ed.ac.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

enum AType

Enumerator:
ATYPE_PENCIL_BEAM 
ATYPE_GAUSSIAN 
ATYPE_LOOKUP 

Definition at line 47 of file mc_antenna.h.


Function Documentation

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

Definition at line 198 of file mc_antenna.cc.

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:
rng Rng random number generator instance
sigma standrade deviation paramter 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().


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