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

Last change on this file since 3193 was 3193, checked in by cmv, 19 years ago

petis changements cmv 21/03/2007

File size: 697 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 FluxHI(double m,double d);
28
29#endif
Note: See TracBrowser for help on using the repository browser.