|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.mrao.cam.ac.uk/~bn204/devman/dust/classDust_1_1ThinShell.html
Дата изменения: Fri Jul 11 10:32:09 2008 Дата индексирования: Tue Oct 2 13:30:39 2012 Кодировка: Поисковые слова: crater |
#include <thinshell.hxx>


Public Member Functions | |
| ThinShell (double *energy, double *lum, double R, size_t n) | |
| ThinShell (std::valarray< double > &energies, std::valarray< double > &speclum, double R) | |
| virtual double | operator() (double E) |
Public Attributes | |
| std::valarray< double > | energies |
| Array of energies at which the luminosity is known. | |
| std::valarray< double > | speclum |
| Array of specific luminosities at each energy. | |
| double | R |
| The radius of the shell. | |
| Dust::ThinShell::ThinShell | ( | double * | energy, | |
| double * | lum, | |||
| double | R, | |||
| size_t | n | |||
| ) |
| Dust::ThinShell::ThinShell | ( | std::valarray< double > & | energies, | |
| std::valarray< double > & | speclum, | |||
| double | R | |||
| ) |
Construct from valarrays
| double Dust::ThinShell::operator() | ( | double | E | ) | [virtual] |
The Specific Energy density. E must be specified in the units of Joules (using SI throughout). More precisely this is energy per unit volume per unit energy interval. At some time I convinced my self that this is equivalent to the (number of photons) m^-3, but not sure any more. Anyway, u_E dE than has the units of J m^-3. Conversion to flux can be done using the speed of light. (inerited from UnaryDD)
Implements Dust::RadField.
References R.
1.5.5