Line | |
---|
1 | #ifndef SCHECHTER_SEEN
|
---|
2 | #define SCHECHTER_SEEN
|
---|
3 |
|
---|
4 | #include "machdefs.h"
|
---|
5 | #include "genericfunc.h"
|
---|
6 |
|
---|
7 |
|
---|
8 | namespace SOPHYA {
|
---|
9 |
|
---|
10 | //-----------------------------------------------------------------------------------
|
---|
11 | class Schechter : public GenericFunc {
|
---|
12 | public:
|
---|
13 | Schechter(double nstar,double mstar,double alpha);
|
---|
14 | Schechter(Schechter& f);
|
---|
15 | virtual ~Schechter(void);
|
---|
16 | void SetOutValue(unsigned short outvalue=0);
|
---|
17 | virtual double operator() (double m);
|
---|
18 | virtual void Print(void);
|
---|
19 | protected:
|
---|
20 | double nstar_,mstar_,alpha_;
|
---|
21 | unsigned short outvalue_;
|
---|
22 | };
|
---|
23 |
|
---|
24 | } // Fin du namespace
|
---|
25 |
|
---|
26 | //-----------------------------------------------------------------------------------
|
---|
27 | double FluxHI(double m,double d);
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.