Last change
on this file since 663 was 607, checked in by ansari, 26 years ago |
Modifs preparatoire pour Garching MAP , Reza 20/11/99
|
File size:
1.3 KB
|
Line | |
---|
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 | // Acces to Nu and F(nu) vectors
|
---|
47 | inline Vector& getNuVec() { return _vecOfNu; }
|
---|
48 | inline Vector& getFNuVec() { return _vecOfFDeNu; }
|
---|
49 |
|
---|
50 | virtual void Print(ostream& os) const;
|
---|
51 |
|
---|
52 | protected:
|
---|
53 | Vector _vecOfNu;
|
---|
54 | Vector _vecOfFDeNu;
|
---|
55 |
|
---|
56 | };
|
---|
57 |
|
---|
58 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.