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_;
116 std::string emission_;
186 virtual void
radiativeQ(double Inu[], double Taunu[], double const nu_em[], size_t nbnu,
187 double dsem, state_t const &coord_ph, double const coord_obj[8]=NULL) const ;
189 virtual void
radiativeQ(double *Inu, double *Qnu, double *Unu, double *Vnu,
190 Eigen::Matrix4d *Onu, double const *nuem , size_t nbnu, double dsem,
191 state_t const &coord_ph, double const *coord_obj) const ;
193 virtual void
getVelocity(double const pos[4], double vel[4]);
195 virtual double operator()(double const coord[4]);
199 Property const &p) const ;
202 int getIndex(double const tcur) const;
double * x3_array_
Third spatial dimension array ( in spherical, Z in Cartesian)
Definition: GyotoSimBridge.h:134
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
std::string filePrefix() const
Get the FITS filename prefix.
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"
std::string fprefix_
< FITS files prefix
Definition: GyotoSimBridge.h:109
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:131
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:132
double gammaMax() const
Get the maximum gamma factor of the electron distribution function.
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:114
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:118
virtual SimBridge * clone() const
Cloner.
bool BinFile_
Define if the magnetic field is saved in FITS file or not.
Definition: GyotoSimBridge.h:115
Astronomical objects defined bya a potential/distance.
std::string * boundCond_
Table of string which store the boundary conditions of all dimensions.
Definition: GyotoSimBridge.h:145
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:113
double * pitch_array_
pitch angle array if quantities in FITS files are radiative coefficients
Definition: GyotoSimBridge.h:136
double floortemperature_
Set minimum of temperature.
Definition: GyotoSimBridge.h:123
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:135
double * x2_array_
Second spatial dimension array ( in spherical, Y in Cartesian)
Definition: GyotoSimBridge.h:133
double gammaMax_
maximum value of gamma for power law energy density
Definition: GyotoSimBridge.h:119
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: GyotoAnsi.h:245
double PLindex_
power law index such that density_elec(E) ∝ E-p
Definition: GyotoSimBridge.h:117
bool temperature_
1 if temperature is given in fits data file, 0 if emission coef is directly given ...
Definition: GyotoSimBridge.h:112
double magnetizationParameter_
magnetization parameter if magnetic field not present in FITS files
Definition: GyotoSimBridge.h:121
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:125
int ntime_
length of time_array_
Definition: GyotoSimBridge.h:138
int nx3_
length of x3_array_
Definition: GyotoSimBridge.h:141
int npitch_
///< length of pitch_array_, optional
Definition: GyotoSimBridge.h:143
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.
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:127
virtual void fillProperty(Gyoto::FactoryMessenger *fmp, Property const &p) const
Output a single Property to XML.
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:139
int absInFile_[4]
Flag that specify which absorption coefficients are in the FITS files.
Definition: GyotoSimBridge.h:126
int nnu_
///< length of nu_array_, optional
Definition: GyotoSimBridge.h:142
int nx2_
length of x2_array_
Definition: GyotoSimBridge.h:140
virtual void setParameters(Gyoto::FactoryMessenger *fmp)
Main loop in Subcontractor_t function.
bool cunninghamVel() const
Get the flag which select the velocity prescription below risco.