26#ifndef __GyotoPowerLawSynchrotronSpectrum_H_
27#define __GyotoPowerLawSynchrotronSpectrum_H_
33 class PowerLawSynchrotron;
70 using Gyoto::Spectrum::Generic::operator();
77 virtual double operator()(double nu) const;
86#ifndef GYOTO_SWIGIMPORTED
87 virtual double operator()(double nu,double ,double ds) const;
92 double numberdensityCGS() const;
93 void numberdensityCGS(double rho);
94 double angle_B_pem() const;
95 void angle_B_pem(double rho);
96 double cyclotron_freq() const;
97 void cyclotron_freq(double rho);
98 double PLindex() const;
99 void PLindex(double ind);
100 bool angle_averaged() const;
101 void angle_averaged(bool ang);
102 double gamma_min() const;
103 void gamma_min(double gmin);
104 double gamma_max() const;
105 void gamma_max(double gmax);
186 double const nu_ems[],
193 void
radiativeQ(double jInu[], double jQnu[], double jUnu[], double jVnu[],
194 double aInu[], double aQnu[], double aUnu[], double aVnu[],
195 double rQnu[], double rUnu[], double rVnu[],
196 double const nu_ems[],
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition GyotoObject.h:84
Spectrum of a simple object (e.g. Star)
Pointers performing reference counting.
Definition GyotoSmartPointer.h:135
Spectrum emitted by an Astrobj.
Definition GyotoSpectrum.h:137
Powerlaw synchrotron spectrum.
Definition GyotoPowerLawSynchrotronSpectrum.h:49
SmartPointer< Spectrum::BlackBody > spectrumBB_
blackbody emission
Definition GyotoPowerLawSynchrotronSpectrum.h:52
double jQnuCGS(double nu) const
bool angle_averaged_
Boolean for angle averaging.
Definition GyotoPowerLawSynchrotronSpectrum.h:57
double PLindex_
Power law index: electron spectrum \propto gamma^-PLindex_.
Definition GyotoPowerLawSynchrotronSpectrum.h:56
double alphanuCGS(double nu) const
double alphaUnuCGS(double nu) const
double rVnuCGS(double nu) const
double angle_B_pem_
Angle between Bfield and emission direction (rad)
Definition GyotoPowerLawSynchrotronSpectrum.h:54
double numberdensityCGS_
Number density in CGS UNITS (careful)
Definition GyotoPowerLawSynchrotronSpectrum.h:53
double jnuCGS(double nu) const
double jVnuCGS(double nu) const
double rQnuCGS(double nu) const
virtual PowerLawSynchrotron * clone() const
Cloner.
double alphaQnuCGS(double nu) const
double jUnuCGS(double nu) const
void radiativeQ(double jnu[], double anu[], double const nu_ems[], size_t nbnu)
double cyclotron_freq_
Cyclotron frequency (e*B / 2*pi*me*c)
Definition GyotoPowerLawSynchrotronSpectrum.h:55
double rUnuCGS(double nu) const
double alphaVnuCGS(double nu) const
Namespace for the Gyoto library.
Definition GyotoAstrobj.h:44