31#ifndef __GyotoSphericalAccretion_H_
32#define __GyotoSphericalAccretion_H_
39 namespace Astrobj {
class SphericalAccretion; }
63 SmartPointer<Spectrum::ThermalSynchrotron> spectrumThermalSynch_;
88 void useSelfAbsorption(bool abs) ;
89 bool useSelfAbsorption() const;
90 void sphericalAccretionInnerRadius(double hh);
91 double sphericalAccretionInnerRadius() const;
92 double numberDensityAtInnerRadius() const;
93 double numberDensityAtInnerRadius(std::string const &unit) const;
94 void numberDensityAtInnerRadius(double ne);
95 void numberDensityAtInnerRadius(double dens, std::string const &unit);
96 void densitySlope(double ss);
97 double densitySlope()const;
98 void temperatureAtInnerRadius(double tt);
99 double temperatureAtInnerRadius()const;
100 void temperatureSlope(double ss);
101 double temperatureSlope()const;
102 void magnetizationParameter(double rr);
103 double magnetizationParameter()const;
107 virtual void
metric(SmartPointer<Metric::Generic>);
109 virtual double operator()(double const coord[4]) ;
112 double const nu_em[], size_t nbnu,
113 double dsem, state_t const &coord_ph,
114 double const coord_obj[8]=NULL) const ;
Powerlaw synchrotron spectrum.
#define GYOTO_OBJECT_THREAD_SAFETY
Declare virtual bool isThreadSafe() const.
Definition GyotoObject.h:99
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition GyotoObject.h:84
Astronomical objects defined bya a potential/distance.
Thermal synchrotron spectrum.
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
A spherically-symmetric accretion flow radially falling onto the central object.
Definition GyotoSphericalAccretion.h:60
double temperatureSlope_
electron temperature \propto z^temperatureSlope_
Definition GyotoSphericalAccretion.h:69
virtual SphericalAccretion * clone() const
Cloner.
virtual void radiativeQ(double Inu[], double Taunu[], double const nu_em[], size_t nbnu, double dsem, state_t const &coord_ph, double const coord_obj[8]=NULL) const
emission and transmission together
double magnetizationParameter_
Pmagn/(ne mp c2)
Definition GyotoSphericalAccretion.h:70
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
double numberDensityAtInnerRadius_cgs_
electron nb density at inner radius (cgs)
Definition GyotoSphericalAccretion.h:66
virtual void getVelocity(double const pos[4], double vel[4])
Fluid velocity field.
double densitySlope_
electron density \propto r^{-densitySlope_}
Definition GyotoSphericalAccretion.h:67
bool use_selfabsorption_
True if selfabs is used in radiative transfer.
Definition GyotoSphericalAccretion.h:64
double sphericalAccretionInnerRadius_
Inner radius of flow in M units.
Definition GyotoSphericalAccretion.h:65
double temperatureAtInnerRadius_
electron temperature at inner radius (K)
Definition GyotoSphericalAccretion.h:68
Astronomical objects defined bya a potential/distance.
Definition GyotoStandardAstrobj.h:87
I might listen to a Teller.
Definition GyotoHooks.h:64
Pointers performing reference counting.
Definition GyotoSmartPointer.h:135
Namespace for the Gyoto library.
Definition GyotoAstrobj.h:44