27 #ifndef __GyotoPowerLawSpectrum_H_
28 #define __GyotoPowerLawSpectrum_H_
64 PowerLaw(double exponent, double constant=1.);
73 using Gyoto::Spectrum::Generic::operator();
74 virtual double operator()(double nu) const;
76 #ifdef GYOTO_USE_XERCES
81 virtual void
fillElement(FactoryMessenger *fmp) const ;
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:51
double exponent() const
Get exponent_.
double constant() const
Get constant_.
virtual void fillElement(FactoryMessenger *fmp) const
called from Factory
virtual void setParameter(std::string name, std::string content, std::string unit)
Set any parameter by its name.
Spectrum of a simple object (e.g. Star)
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:42
double constant_
I_nu=constant_*nu^exponent_.
Definition: GyotoPowerLawSpectrum.h:55
virtual PowerLaw * clone() const
Cloner.
I_nu=constant_*nu^exponent_.
Definition: GyotoPowerLawSpectrum.h:52
Spectrum emitted by an Astrobj.
Definition: GyotoSpectrum.h:125
double exponent_
I_nu=constant_*nu^exponent_.
Definition: GyotoPowerLawSpectrum.h:56