30#ifndef __GyotoInflateStar_H_
31#define __GyotoInflateStar_H_
34 namespace Astrobj {
class InflateStar; }
40#ifdef GYOTO_USE_XERCES
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);
102 state_t const &cp, double const co[8]=NULL) const;
Base class for metric description.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
#define GYOTO_OBJECT_ACCESSORS_UNIT(method)
Declare a quadruplet of accessors to double member that supports unit.
Definition: GyotoObject.h:70
Mass-less, spherical object following a timelike geodesic.
An Astrobj::Star with growing size.
Definition: GyotoInflateStar.h:52
double timeinflatestop_
coordinate time of stopping inflation
Definition: GyotoInflateStar.h:59
double radiusstop_
maximum radius of star
Definition: GyotoInflateStar.h:60
virtual int Impact(Gyoto::Photon *ph, size_t index, Astrobj::Properties *data=NULL)
Does a photon at these coordinates impact the object?
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_.
double timeinflateinit_
coordinate time of starting inflation
Definition: GyotoInflateStar.h:58
virtual InflateStar * clone() const
Cloner.
virtual std::string className() const
"InflateStar"
virtual double radiusAt(double t) const
Radius at a given time.
virtual std::string className_l() const
"inflate_star"
Mass-less, spherical object following a timelike geodesic.
Definition: GyotoStar.h:95
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43