26#ifndef __GyotoFreeStar_H_
27#define __GyotoFreeStar_H_
30 namespace Astrobj {
class FreeStar; }
39#ifdef GYOTO_USE_XERCES
85 void initPosition(std::vector<double> const &v);
86 std::vector<double> initPosition() const;
87 void initVelocity(std::vector<double> const &v);
88 std::vector<double> initVelocity() const;
89 void initCoord(std::vector<double> const &v);
90 std::vector<double> initCoord() const;
92 void
getCartesian(double const * const dates, size_t const n_dates,
93 double * const x, double * const y,
94 double * const z, double * const xprime=NULL,
95 double * const yprime=NULL,
96 double * const zprime=NULL);
Base class for metric description.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition GyotoObject.h:84
UniformShere following a trajectory specified in getVelocity (non-geodesic) with a constant velocity.
Definition GyotoFreeStar.h:52
virtual std::string className_l() const
"free_star"
virtual FreeStar * clone() const
Cloner.
virtual std::string className() const
"FreeStar"
void getVelocity(double const pos[4], double vel[4])
Yield velocity of the center of the sphere.
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)
Yield the Cartesian coordinates of the center of the sphere.
Pointers performing reference counting.
Definition GyotoSmartPointer.h:135
Namespace for the Gyoto library.
Definition GyotoAstrobj.h:44