Документ взят из кэша поисковой машины. Адрес
оригинального документа
: 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 |
#include <energybins.hxx>
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) |
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.
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.
Dust::EBins::~EBins | ( | void | ) |
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.
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 | ) |
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().