26 #ifndef __GyotoFlaredDiskSynchrotron_H_ 27 #define __GyotoFlaredDiskSynchrotron_H_ 34 namespace Astrobj {
class FlaredDiskSynchrotron; }
53 SmartPointer<Spectrum::KappaDistributionSynchrotron> spectrumKappaSynch_;
95 void file(std::string const &f) ;
96 std::string file() const;
97 void hoverR(double const hor) ;
98 double hoverR() const;
109 void timeTranslation_inMunit(double const dt) ;
110 double timeTranslation_inMunit() const ;
111 void magnetizationParameter(double rr);
112 double magnetizationParameter() const;
113 void kappaIndex(double index);
114 double kappaIndex()const;
115 double numberDensityMax() const;
116 double numberDensityMax(std::string const &unit) const;
117 void numberDensityMax(double dens) ;
118 void numberDensityMax(double dens, std::string const &unit);
119 void temperatureMax(double tt);
120 double temperatureMax() const;
121 void polytropicIndex(double gamma);
122 double polytropicIndex() const;
123 void betaAtMax(double beta);
124 double betaAtMax() const;
125 void copyDensity(double const *const density,
126 size_t const naxes[3]);
127 double const * getDensity() const;
128 void copyVelocity(double const *const velocity,
129 size_t const naxes[3]);
130 double const * getVelocity() const;
131 void copyBvector(double const *const Bvector,
132 size_t const naxes[3]);
133 double const * getBvector() const;
134 void copyTimeArray(double const *const time_array, size_t const ntimes);
135 double const * getTimeArray() const;
138 std::vector<size_t> fitsRead(std::string filename) ;
139 virtual double operator()(double const coord[4]) ;
142 double const nu_ems[], size_t nbnu,
144 state_t const &coord_ph,
145 double const coord_obj[8]) const;
146 virtual void getVelocity(double const pos[4], double vel[4]) ;
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
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
bool flag_
polytropic index - 1
Definition: GyotoFlaredDiskSynchrotron.h:77
double deltat_
time translation
Definition: GyotoFlaredDiskSynchrotron.h:75
double * velocity_
velocity(r, φ)
Definition: GyotoFlaredDiskSynchrotron.h:71
#define GYOTO_OBJECT_THREAD_SAFETY
Declare virtual bool isThreadSafe() const.
Definition: GyotoObject.h:99
double temperatureMax_
Maximum temperature in K.
Definition: GyotoFlaredDiskSynchrotron.h:57
double magnetizationParameter_
1D Vector containing the times values of each time steps (dt not constant)
Definition: GyotoFlaredDiskSynchrotron.h:74
Class for reading data stored in a 2D grid.
Definition: GyotoGridData2D.h:51
double BMax_cgs_
Maximun strenght of the 3 veceor magnetic field, defined by numberDensityMax_cgs_, temperatureMax_ and beta_.
Definition: GyotoFlaredDiskSynchrotron.h:58
Definition: GyotoFlaredDiskSynchrotron.h:46
Astronomical objects defined bya a potential/distance.
double * density_
Surface density (ν, r, φ)
Definition: GyotoFlaredDiskSynchrotron.h:65
std::string filename_
Optional FITS file name containing the arrays.
Definition: GyotoFlaredDiskSynchrotron.h:54
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
double numberDensityMax_cgs_
Maximum cgs value of number density.
Definition: GyotoFlaredDiskSynchrotron.h:56
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:45
Base class for reading 2D gridded data.
virtual FlaredDiskSynchrotron * clone() const
Cloner.
I might listen to a Teller.
Definition: GyotoHooks.h:64
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
Astronomical objects defined bya a potential/distance.
Definition: GyotoStandardAstrobj.h:84
double * Bvector_
4vector of the magnetic field
Definition: GyotoFlaredDiskSynchrotron.h:72
Powerlaw synchrotron spectrum.