Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.mrao.cam.ac.uk/~bn204/devman/dust/classDust_1_1EBins.html
Дата изменения: Fri Jul 11 10:32:09 2008
Дата индексирования: Tue Oct 2 12:19:07 2012
Кодировка:

Поисковые слова: cygnus loop
DUST: Dust::EBins Class Reference

Dust::EBins Class Reference

#include <energybins.hxx>

Inheritance diagram for Dust::EBins:

Inheritance graph
[legend]
Collaboration diagram for Dust::EBins:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EBins (void)
 EBins (unsigned n)
 EBins (const EBins &eb)
 ~EBins (void)
void DeletePointers (void)
void AllocatePointers (unsigned nelem)
void operator= (EBins &eb)
double E (unsigned i)
double T (unsigned i)
double DE (unsigned i)
double W1 (unsigned l, unsigned u)
double W2 (unsigned l, unsigned u)
double W3 (unsigned l, unsigned u)
double W4 (unsigned l, unsigned u)
double Wc (unsigned l)
double G (unsigned l, unsigned u, double E)


Detailed Description

This is the C++ wrap of the dust_EBins structs

Constructor & Destructor Documentation

Dust::EBins::EBins ( void   ) 

The default constructor makes a zero-bin object so not particularly functional.

References dust_EBins::Emax, dust_EBins::Emin, dust_EBins::n, and dust_EBins::Teqi.

Dust::EBins::EBins ( unsigned  n  ) 

n is the number of bins to make

References AllocatePointers(), and dust_EBins::n.

Here is the call graph for this function:

Dust::EBins::EBins ( const EBins eb  ) 

Copy constructor: acutally copy the data over

References AllocatePointers(), dust_EBins::Emax, dust_EBins::Emin, dust_EBins::n, and dust_EBins::Teqi.

Here is the call graph for this function:

Dust::EBins::~EBins ( void   ) 

Pretty plain destructor

References DeletePointers().

Here is the call graph for this function:


Member Function Documentation

void Dust::EBins::DeletePointers ( void   ) 

Delete all of the pointers in the structure if they are not null

References dust_EBins::Emax, dust_EBins::Emin, and dust_EBins::Teqi.

Referenced by operator=(), and ~EBins().

void Dust::EBins::AllocatePointers ( unsigned  nelem  ) 

Allocate sufficient storage for all pointers

References dust_EBins::Emax, dust_EBins::Emin, and dust_EBins::Teqi.

Referenced by EBins().

void Dust::EBins::operator= ( EBins eb  ) 

Assignement : note that we take ownership of the pointers and destroy the asigner

References DeletePointers(), dust_EBins::Emax, dust_EBins::Emin, dust_EBins::n, and dust_EBins::Teqi.

Here is the call graph for this function:

double Dust::EBins::E ( unsigned  i  ) 

Mean energy of bin i

References dust_EBins::Emax, and dust_EBins::Emin.

double Dust::EBins::T ( unsigned  i  ) 

Returns the energy of bin i

References dust_EBins::Teqi.

double Dust::EBins::DE ( unsigned  i  ) 

Width of bin i

References dust_EBins::Emax, and dust_EBins::Emin.

Referenced by G().

double Dust::EBins::G ( unsigned  l,
unsigned  u,
double  E 
)

This is the bin width correction factor, see eq 17ff of Draine & Li 2001

References DE().

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Fri Jul 11 07:32:09 2008 for DUST by  doxygen 1.5.5