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]) ;
Base class for 3+1 numerical metrics computed by LORENE.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
Astronomical objects defined bya a potential/distance.
Neutron star defined by its surface ; no emission.
Definition: GyotoNeutronStar.h:45
virtual NeutronStar * clone() const
Cloner.
virtual Gyoto::SmartPointer< Metric::Generic > metric() const
Get gg_.
virtual void getVelocity(double const pos[4], double vel[4])
Fluid velocity field.
SmartPointer< Metric::NumericalMetricLorene > gg_
Underlying metric.
Definition: GyotoNeutronStar.h:49
Astronomical objects defined bya a potential/distance.
Definition: GyotoStandardAstrobj.h:87
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43