30 #ifndef __GyotoHayward_H_ 31 #define __GyotoHayward_H_ 34 namespace Metric {
class Hayward; }
40 #ifdef GYOTO_USE_XERCES 88 void
spin(const double spin);
90 void
charge(const double charge);
95 virtual double
getPotential(double const pos[4], double l_cst) const;
102 void gmunu(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const ;
103 double gmunu(double const x[4], int mu, int nu) const ;
104 void
gmunu_up(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const ;
105 double
gmunu_up(double const x[4], int mu, int nu) const ;
107 int
christoffel(double dst[4][4][4], const double pos[4]) const ;
111 const double u1[4], const double u2[4]) const ;
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
double a4_
a2_*a2_
Definition: GyotoHayward.h:76
virtual double getSpecificAngularMomentum(double rr) const
double b2_
charge_*charge_
Definition: GyotoHayward.h:77
Base class for metrics.
Definition: GyotoMetric.h:158
void gmunu_up(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const
Metric contravariant coefficients.
virtual double getPotential(double const pos[4], double l_cst) const
virtual double christoffel(const double coord[4], const int alpha, const int mu, const int nu) const
Chistoffel symbol.
double a2_
spin_*spin_
Definition: GyotoHayward.h:74
Timelike or null geodesics.
Base class for metric description.
double ScalarProd(const double pos[4], const double u1[4], const double u2[4]) const
Scalar product.
int christoffel(double dst[4][4][4], const double pos[4]) const
Chistoffel symbol.
double charge_
Magnetic charge parameter.
Definition: GyotoHayward.h:72
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Metric of a regular rotating black hole or naked worm-hole.
Definition: GyotoHayward.h:66
Pointers performing reference counting.
Definition: GyotoProperty.h:45
double charge() const
Returns charge.
virtual void circularVelocity(double const coor[4], double vel[4], double dir) const
Yield circular velocity at a given position.
double a3_
a2_*spin_
Definition: GyotoHayward.h:75
double spin_
Angular momentum parameter.
Definition: GyotoHayward.h:73
virtual Hayward * clone() const
Virtual copy constructor.
double spin() const
Returns spin.