30#ifndef __GyotoHayward_H_
31#define __GyotoHayward_H_
34 namespace Metric {
class Hayward; }
40#ifdef GYOTO_USE_XERCES
88 void
spin(const double spin);
97 virtual double
getPotential(double const pos[4], double l_cst) const;
100 void gmunu(double g[4][4], const double * pos) const ;
101 double gmunu(const double * const x, int mu, int nu) const ;
102 void gmunu_up(double gup[4][4], const double * pos) const ;
103 double gmunu_up(const double * const x, int mu, int nu) const ;
109 const double u1[4], const double u2[4]) const ;
Base class for metric description.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
Timelike or null geodesics.
Base class for metrics.
Definition: GyotoMetric.h:162
virtual double christoffel(const double coord[4], const int alpha, const int mu, const int nu) const
Chistoffel symbol.
Metric of a regular rotating black hole or naked worm-hole.
Definition: GyotoHayward.h:66
double a4_
a2_*a2_
Definition: GyotoHayward.h:76
virtual Hayward * clone() const
Virtual copy constructor.
double charge() const
Returns charge.
double ScalarProd(const double pos[4], const double u1[4], const double u2[4]) const
Scalar product.
double spin() const
Returns spin.
virtual double getRmb() const
virtual double getRms() const
double a3_
a2_*spin_
Definition: GyotoHayward.h:75
double a2_
spin_*spin_
Definition: GyotoHayward.h:74
virtual double getSpecificAngularMomentum(double rr) const
int christoffel(double dst[4][4][4], const double pos[4]) const
Chistoffel symbol.
double b2_
charge_*charge_
Definition: GyotoHayward.h:77
double charge_
Magnetic charge parameter.
Definition: GyotoHayward.h:72
virtual double getPotential(double const pos[4], double l_cst) const
double spin_
Angular momentum parameter.
Definition: GyotoHayward.h:73
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43