Go to the documentation of this file.
27 #ifndef __GyotoKerrKS_H_
28 #define __GyotoKerrKS_H_
31 namespace Metric {
class KerrKS; }
36 #ifdef GYOTO_USE_XERCES
77 void
spin(const double spin);
83 void horizonSecurity(double drhor);
84 double horizonSecurity() const;
86 double
gmunu(const double x[4],
87 int alpha, int beta) const ;
89 void
gmunu(double g[4][4], const double pos[4]) const;
94 void
gmunu_up(double gup[4][4], const double pos[4]) const;
101 void
jacobian(double dst[4][4][4], const double x[4]) const ;
104 int
christoffel(double dst[4][4][4], const double x[4]) const ;
105 int
christoffel(double dst[4][4][4], const double pos[4], double gup[4][4], double jac[4][4][4]) const ;
108 double dir=1.) const ;
110 virtual int isStopCondition(double const * const coord) const;
double spin_
Angular momentum parameter.
Definition: GyotoKerrKS.h:61
double gmunu(const double x[4], int alpha, int beta) const
Metric coefficients.
int christoffel(double dst[4][4][4], const double x[4]) const
Chistoffel symbol.
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
void gmunu_up(double gup[4][4], const double pos[4]) const
The inverse matrix of gmunu.
double spin() const
Returns spin.
void jacobian(double dst[4][4][4], const double x[4]) const
The derivatives of gmunu.
virtual double christoffel(const double coord[4], const int alpha, const int mu, const int nu) const
Chistoffel symbol.
Metric around a Kerr black-hole in Kerr-Schild coordinates Warning: this metric is seldom used and ma...
Definition: GyotoKerrKS.h:52
virtual void circularVelocity(double const pos[4], double vel[4], double dir=1.) const
Yield circular velocity at a given position.
Base class for metrics.
Definition: GyotoMetric.h:158
virtual int setParameter(std::string name, std::string content, std::string unit)
Set parameter by name.
double drhor_
horizon security
Definition: GyotoKerrKS.h:64
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
double rsink_
numerical horizon
Definition: GyotoKerrKS.h:63
Base class for metric description.
Pointers performing reference counting.
Definition: GyotoProperty.h:45
Timelike or null geodesics.
double a2_
spin_*spin_
Definition: GyotoKerrKS.h:62
virtual KerrKS * clone() const
Copy constructor.