30 #ifndef __GyotoStar_H_ 31 #define __GyotoStar_H_ 34 namespace Astrobj {
class Star; }
42 #ifdef GYOTO_USE_XERCES 113 Star(SmartPointer<Metric::Generic> gg, double radius,
114 double const pos[4], double const v[3]) ;
124 Star(const Star& orig);
135 virtual void
metric(SmartPointer<Metric::Generic>);
143 virtual double
getMass() const ;
147 virtual double
rMax() ;
159 #ifdef GYOTO_USE_XERCES 164 virtual void
fillProperty(Gyoto::FactoryMessenger *fmp, Property const &p) const ;
182 virtual void
getCartesian(double const * const dates, size_t const n_dates,
183 double * const x, double * const y,
184 double * const z, double * const xprime=NULL,
185 double * const yprime=NULL, double * const zprime=NULL) ;
186 virtual void
getVelocity(double const pos[4], double vel[4]) ;
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
double deltaMax() const
Get delta_max_.
Timelike or null geodesics.
Definition: GyotoWorldline.h:238
virtual double getMass() const
Return 1.
virtual std::string className_l() const
"star"
virtual double rMax()
Get maximal distance from center of coordinate system.
virtual void getVelocity(double const pos[4], double vel[4])
Yield velocity of the center of the sphere.
virtual std::string className() const
"Star"
virtual double rMax()
Get maximal distance from center of coordinate system.
virtual void setInitialCondition(double const coord[8])
Same as Worldline::setInitialCondition(gg, coord, sys,1)
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
virtual Star * clone() const
Cloner.
Timelike or null geodesics.
Base class for metric description.
virtual void getCartesian(double const *const dates, size_t const n_dates, double *const x, double *const y, double *const z, double *const xprime=NULL, double *const yprime=NULL, double *const zprime=NULL)
Get the 6 Cartesian coordinates for specific dates.
virtual int setParameter(std::string name, std::string content, std::string unit)
Set parameter by name.
#define GYOTO_WORLDLINE
Declare the Worldline interface wrappers.
Definition: GyotoWorldline.h:164
Spectrum of a simple object (e.g. Star)
virtual void setParameters(FactoryMessenger *fmp)
Main loop in Subcontractor_t function.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Mass-less, spherical object following a timelike geodesic.
Definition: GyotoStar.h:93
Pointers performing reference counting.
Definition: GyotoProperty.h:45
virtual void fillProperty(Gyoto::FactoryMessenger *fmp, Property const &p) const
Output a single Property to XML.