Last change
on this file since 601 was 601, checked in by ansari, 26 years ago |
Creation module SkyT (provisoire) - Outils pour simulation du ciel
Reza 19/11/99
|
File size:
1.2 KB
|
Rev | Line | |
---|
[601] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 | //--------------------------------------------------------------------------
|
---|
| 3 | // File and Version Information:
|
---|
| 4 | //
|
---|
| 5 | // Description:
|
---|
| 6 | //
|
---|
| 7 | // History (add to end):
|
---|
| 8 | // Sophie Oct, 1999 - creation
|
---|
| 9 | //
|
---|
| 10 | //------------------------------------------------------------------------
|
---|
| 11 |
|
---|
| 12 | #ifndef RADSPECTRAVEC_H_SEEN
|
---|
| 13 | #define RADSPECTRAVEC_H_SEEN
|
---|
| 14 | #include "machdefs.h"
|
---|
| 15 | #include <iostream.h>
|
---|
| 16 |
|
---|
| 17 | #include "radspec.h"
|
---|
| 18 | #include "tvector.h"
|
---|
| 19 |
|
---|
| 20 | // ---------------------
|
---|
| 21 | // -- Class Interface --
|
---|
| 22 | // ---------------------
|
---|
| 23 |
|
---|
| 24 | // ***IMPORTANT*** All frequencies are expressed in GHz (10^9 Hz)
|
---|
| 25 | // and flux in Watt/m^2/sr
|
---|
| 26 |
|
---|
| 27 | class RadSpectraVec : public RadSpectra
|
---|
| 28 | {
|
---|
| 29 |
|
---|
| 30 | public:
|
---|
| 31 | //Constructor
|
---|
| 32 | RadSpectraVec (Vector const & nu, Vector const & fdenu, double numin=0., double numax=9.e49);
|
---|
| 33 |
|
---|
| 34 | // destructor
|
---|
| 35 | virtual ~RadSpectraVec();
|
---|
| 36 |
|
---|
| 37 | //
|
---|
| 38 | // Member Functions
|
---|
| 39 | //
|
---|
| 40 |
|
---|
| 41 | // The flux() function is virtual:
|
---|
| 42 | // It computes the flux per units of W/m^2/Hz/st
|
---|
| 43 | // implemented in the subclasses
|
---|
| 44 | virtual double flux(double nu) const;
|
---|
| 45 |
|
---|
| 46 | virtual void Print(ostream& os) const;
|
---|
| 47 |
|
---|
| 48 | protected:
|
---|
| 49 | Vector _vecOfNu;
|
---|
| 50 | Vector _vecOfFDeNu;
|
---|
| 51 |
|
---|
| 52 | };
|
---|
| 53 |
|
---|
| 54 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.