26#ifndef __GyotoFlaredDiskSynchrotron_H_
27#define __GyotoFlaredDiskSynchrotron_H_
34 namespace Astrobj {
class FlaredDiskSynchrotron; }
53 SmartPointer<Spectrum::KappaDistributionSynchrotron> spectrumKappaSynch_;
88 void file(std::string const &f) ;
89 std::string file() const;
90 void hoverR(double const hor) ;
91 double hoverR() const;
102 void timeTranslation_inMunit(double const dt) ;
103 void magnetizationParameter(double rr);
104 double magnetizationParameter() const;
105 void kappaIndex(double index);
106 double kappaIndex()const;
107 double numberDensityMax() const;
108 double numberDensityMax(std::string const &unit) const;
109 void numberDensityMax(double dens) ;
110 void numberDensityMax(double dens, std::string const &unit);
111 void temperatureMax(double tt);
112 double temperatureMax() const;
113 void copyDensity(double const *const density,
114 size_t const naxes[3]);
115 double const * getDensity() const;
116 void copyVelocity(double const *const velocity,
117 size_t const naxes[3]);
118 double const * getVelocity() const;
121 std::vector<size_t> fitsRead(std::string filename) ;
122 virtual double operator()(double const coord[4]) ;
125 double const nu_ems[], size_t nbnu,
127 state_t const &coord_ph,
128 double const coord_obj[8]) const;
129 virtual void getVelocity(double const pos[4], double vel[4]) ;
Base class for reading 2D gridded data.
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.
Definition: GyotoFlaredDiskSynchrotron.h:50
virtual void radiativeQ(double Inu[], double Taunu[], double const nu_ems[], size_t nbnu, double dsem, state_t const &coord_ph, double const coord_obj[8]) const
emission and transmission together
double * density_
Surface density (ν, r, φ)
Definition: GyotoFlaredDiskSynchrotron.h:63
std::string filename_
Optional FITS file name containing the arrays.
Definition: GyotoFlaredDiskSynchrotron.h:54
double magnetizationParameter_
(B2/(4 pi)) / (ne mp c2)
Definition: GyotoFlaredDiskSynchrotron.h:72
virtual FlaredDiskSynchrotron * clone() const
Cloner.
double temperatureMax_
Maximum temperature in K.
Definition: GyotoFlaredDiskSynchrotron.h:57
double numberDensityMax_cgs_
Maximum cgs value of number density.
Definition: GyotoFlaredDiskSynchrotron.h:56
double * velocity_
velocity(r, φ)
Definition: GyotoFlaredDiskSynchrotron.h:69
double hoverR_
Value of aspect ratio H/R of flared disk, where R is the radius projected in the equatorial plane and...
Definition: GyotoFlaredDiskSynchrotron.h:55
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
Astronomical objects defined bya a potential/distance.
Definition: GyotoStandardAstrobj.h:87
Class for reading data stored in a 2D grid.
Definition: GyotoGridData2D.h:52
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:43