Go to the documentation of this file.
27 #ifndef __GyotoNeutronStar_H_
28 #define __GyotoNeutronStar_H_
34 namespace Astrobj {
class NeutronStar; }
61 virtual void
metric(SmartPointer<Metric::Generic> met);
63 virtual double operator()(double const coord[4]);
64 virtual void
getVelocity(double const pos[4], double vel[4]) ;
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
virtual NeutronStar * clone() const
Cloner.
Astronomical objects defined bya a potential/distance.
virtual Gyoto::SmartPointer< Metric::Generic > metric() const
Get gg_.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
virtual void getVelocity(double const pos[4], double vel[4])
Fluid velocity field.
SmartPointer< Metric::NumericalMetricLorene > gg_
Underlying metric.
Definition: GyotoNeutronStar.h:49
Pointers performing reference counting.
Definition: GyotoProperty.h:45
Base class for 3+1 numerical metrics computed by LORENE.
Neutron star defined by its surface ; no emission.
Definition: GyotoNeutronStar.h:45
Astronomical objects defined bya a potential/distance.
Definition: GyotoStandardAstrobj.h:87