30 #ifndef __GyotoInflateStar_H_ 31 #define __GyotoInflateStar_H_ 34 namespace Astrobj {
class InflateStar; }
40 #ifdef GYOTO_USE_XERCES 84 virtual double
radiusAt(double t) const;
86 const std::string &t_unit) const;
88 const std::string &t_unit,
89 const std::string &r_unit) const;
99 virtual int
Impact(Gyoto::Photon* ph, size_t index,
100 Astrobj::Properties *data=NULL);
101 virtual double
emission(double nu_em, double dsem,
102 state_t const &cp, double const co[8]=NULL) const;
virtual std::string className() const
"InflateStar"
Mass-less, spherical object following a timelike geodesic.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
double radiusstop_
maximum radius of star
Definition: GyotoInflateStar.h:60
An Astrobj::Star with growing size.
Definition: GyotoInflateStar.h:51
double timeinflatestop_
coordinate time of stopping inflation
Definition: GyotoInflateStar.h:59
virtual double emission(double nu_em, double dsem, state_t const &cp, double const co[8]=NULL) const
Emission is determined by spectrum_ and opacity_.
virtual std::string className_l() const
"inflate_star"
Base class for metric description.
virtual double radiusAt(double t) const
Radius at a given time.
virtual InflateStar * clone() const
Cloner.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
double timeinflateinit_
coordinate time of starting inflation
Definition: GyotoInflateStar.h:58
Mass-less, spherical object following a timelike geodesic.
Definition: GyotoStar.h:93
Pointers performing reference counting.
Definition: GyotoProperty.h:45
virtual int Impact(Gyoto::Photon *ph, size_t index, Astrobj::Properties *data=NULL)
Does a photon at these coordinates impact the object?
#define GYOTO_OBJECT_ACCESSORS_UNIT(method)
Declare a quadruplet of accessors to double member that supports unit.
Definition: GyotoObject.h:70