source: Sophya/trunk/Cosmo/SimLSS/schechter.h@ 3317

Last change on this file since 3317 was 3196, checked in by cmv, 18 years ago

les AGN selon C.Jackson, une premiere approche simplifiee, recodage from Jim Rich. cmv 03/04/2007

File size: 741 bytes
Line 
1#ifndef SCHECHTER_SEEN
2#define SCHECHTER_SEEN
3
4#include "machdefs.h"
5#include "genericfunc.h"
6
7
8namespace SOPHYA {
9
10//-----------------------------------------------------------------------------------
11class Schechter : public GenericFunc {
12public:
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);
19protected:
20 double nstar_,mstar_,alpha_;
21 unsigned short outvalue_;
22};
23
24} // Fin du namespace
25
26//-----------------------------------------------------------------------------------
27double Msol2FluxHI(double m,double d);
28double FluxHI2Msol(double f,double d);
29
30#endif
Note: See TracBrowser for help on using the repository browser.