Go to the documentation of this file.
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]) ;
135 virtual void
metric(SmartPointer<Metric::Generic>);
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) ;
virtual SmartPointer< Metric::Generic > metric() const
Get the Metric gg_.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
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)
double deltaMax() const
Get delta_max_.
virtual int setParameter(std::string name, std::string content, std::string unit)
Set parameter by name.
virtual double getMass() const
Return 1.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
virtual void fillProperty(Gyoto::FactoryMessenger *fmp, Property const &p) const
Output a single Property to XML.
virtual std::string className_l() const
"star"
Timelike or null geodesics.
Definition: GyotoWorldline.h:228
Base class for metric description.
#define GYOTO_WORLDLINE
Declare the Worldline interface wrappers.
Definition: GyotoWorldline.h:156
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 std::string className() const
"Star"
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
virtual void setParameters(FactoryMessenger *fmp)
Main loop in Subcontractor_t function.
Mass-less, spherical object following a timelike geodesic.
Definition: GyotoStar.h:95
virtual void getVelocity(double const pos[4], double vel[4])
Yield velocity of the center of the sphere.
virtual double rMax()
Get maximal distance from center of coordinate system.
Timelike or null geodesics.
Spectrum of a simple object (e.g. Star)
virtual Star * clone() const
Cloner.