25 #ifndef __GyotoSimBridge_H_ 26 #define __GyotoSimBridge_H_ 43 namespace Astrobj {
class SimBridge; }
102 SmartPointer<Spectrum::KappaDistributionSynchrotron> spectrumKappaSynch_;
103 SmartPointer<Spectrum::PowerLawSynchrotron> spectrumPLSynch_;
104 SmartPointer<Spectrum::ThermalSynchrotron> spectrumThermalSynch_;
113 std::string emission_;
162 void
filename(std::string const &d);
183 virtual void
radiativeQ(double Inu[], double Taunu[], double const nu_em[], size_t nbnu,
184 double dsem, state_t const &coord_ph, double const coord_obj[8]=NULL) const ;
186 virtual void
radiativeQ(double *Inu, double *Qnu, double *Unu, double *Vnu,
187 Eigen::Matrix4d *Onu, double const *nuem , size_t nbnu, double dsem,
188 state_t const &coord_ph, double const *coord_obj) const ;
190 virtual void
getVelocity(double const pos[4], double vel[4]);
192 virtual double operator()(double const coord[4]);
195 int getIndex(double const tcur) const;
double * x3_array_
Third spatial dimension array ( in spherical, Z in Cartesian)
Definition: GyotoSimBridge.h:131
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
double floorTemperature() const
get the minimum of temperature (GRMHD case)
Object that read physical quantities from a set of FITS files comming from numerical simulations...
Definition: GyotoSimBridge.h:97
virtual std::string className_l() const
"simbridge"
Class for reading or writing data in FITS file. The data stored should be 1D array(s).
Definition: GyotoFitsRW.h:51
double * time_array_
array containing the time evolution of each FITS files
Definition: GyotoSimBridge.h:128
bool circularMotion() const
Get the flag which select the type of velocity.
double * x1_array_
First spatial dimension array (radius in spherical, X in Cartesian)
Definition: GyotoSimBridge.h:129
double gammaMax() const
Get the maximum gamma factor of the electron distribution function.
std::string directory() const
Get the directory where the FITS files will be searched.
Thermal synchrotron spectrum.
Class to read/write jnu and anu in FITS File.
bool cunninghamvel_
1 if Cunningham prescription below risco, 0 if radial velocity below risco
Definition: GyotoSimBridge.h:111
std::string fname_
FITS files prefix (without the number neither the extension, i.e. '.fits')
Definition: GyotoSimBridge.h:108
virtual void getVelocity(double const pos[4], double vel[4])
Fluid velocity field.
double gammaMin_
minimum value of gamma for power law energy density
Definition: GyotoSimBridge.h:115
std::string filename() const
Get the FITS filename prefix.
virtual SimBridge * clone() const
Cloner.
bool BinFile_
Define if the magnetic field is saved in FITS file or not.
Definition: GyotoSimBridge.h:112
Astronomical objects defined bya a potential/distance.
std::string * boundCond_
Table of string which store the boundary conditions of all dimensions.
Definition: GyotoSimBridge.h:140
double magnetization() const
Get magnetization paramater.
bool circularmotion_
1 if velocity is given in fits data file, 0 if circularmotion is directly given
Definition: GyotoSimBridge.h:110
double floortemperature_
Set minimum of temperature.
Definition: GyotoSimBridge.h:120
Base class for metric description.
virtual std::string className() const
"SimBridge"
double * nu_array_
frequency array if quantities in FITS files are radiative coefficients
Definition: GyotoSimBridge.h:132
double * x2_array_
Second spatial dimension array ( in spherical, Y in Cartesian)
Definition: GyotoSimBridge.h:130
double gammaMax_
maximum value of gamma for power law energy density
Definition: GyotoSimBridge.h:116
SmartPointer< Spectrum::BlackBody > spectrumBB_
Black Body.
Definition: GyotoSimBridge.h:101
double PLindex() const
Get the power law index of the electron distribution function.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:46
double PLindex_
power law index such that density_elec(E) ∝ E-p
Definition: GyotoSimBridge.h:114
bool temperature_
1 if temperature is given in fits data file, 0 if emission coef is directly given ...
Definition: GyotoSimBridge.h:109
double magnetizationParameter_
magnetization parameter if magnetic field not present in FITS files
Definition: GyotoSimBridge.h:118
double gammaMin() const
Get the minimum gamma factor of the electron distribution function.
Pointers performing reference counting.
Definition: GyotoProperty.h:45
int emisInFile_[4]
Flag that specify which emission coefficients are in the FITS files.
Definition: GyotoSimBridge.h:122
int ntime_
length of time_array_
Definition: GyotoSimBridge.h:134
int nx3_
length of x3_array_
Definition: GyotoSimBridge.h:137
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
Powerlaw synchrotron spectrum.
Astronomical objects defined bya a potential/distance.
Definition: GyotoStandardAstrobj.h:84
std::string boundaryConditions() const
Get the boundary condition array.
std::string dirname_
FITS files directory.
Definition: GyotoSimBridge.h:107
Powerlaw synchrotron spectrum.
std::string emissionType() const
Get emission type.
int rotInFile_[3]
Flag that specify which rotation coefficients are in the FITS files.
Definition: GyotoSimBridge.h:124
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.
int nx1_
length of x1_array_
Definition: GyotoSimBridge.h:135
int absInFile_[4]
Flag that specify which absorption coefficients are in the FITS files.
Definition: GyotoSimBridge.h:123
int nnu_
///< length of nu_array_, optional
Definition: GyotoSimBridge.h:138
int nx2_
length of x2_array_
Definition: GyotoSimBridge.h:136
bool cunninghamVel() const
Get the flag which select the velocity prescription below risco.