source:
Sophya/trunk/Cosmo/SimLSS/schechter.h@
3282
Last change on this file since 3282 was 3196, checked in by , 18 years ago | |
---|---|
File size: 741 bytes |
Rev | Line | |
---|---|---|
[3115] | 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); | |
[3193] | 18 | virtual void Print(void); |
[3115] | 19 | protected: |
20 | double nstar_,mstar_,alpha_; | |
21 | unsigned short outvalue_; | |
22 | }; | |
23 | ||
24 | } // Fin du namespace | |
25 | ||
26 | //----------------------------------------------------------------------------------- | |
[3196] | 27 | double Msol2FluxHI(double m,double d); |
28 | double FluxHI2Msol(double f,double d); | |
[3115] | 29 | |
30 | #endif |
Note:
See TracBrowser
for help on using the repository browser.