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