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

Last change on this file since 3154 was 3115, checked in by ansari, 19 years ago

Creation initiale du groupe Cosmo avec le repertoire SimLSS de
simulation de distribution de masse 3D des galaxies par CMV+Rz
18/12/2006

File size: 669 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);
18protected:
19 double nstar_,mstar_,alpha_;
20 unsigned short outvalue_;
21};
22
23} // Fin du namespace
24
25//-----------------------------------------------------------------------------------
26double FluxHI(double m,double d);
27
28#endif
Note: See TracBrowser for help on using the repository browser.