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;
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 ;
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;
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 around a Kerr black-hole in Kerr-Schild coordinates Warning: this metric is seldom used and ma...
Definition: GyotoKerrKS.h:54
double rsink_
numerical horizon
Definition: GyotoKerrKS.h:63
void gmunu_up(double gup[4][4], const double pos[4]) const
The inverse matrix of gmunu.
double spin_
Angular momentum parameter.
Definition: GyotoKerrKS.h:61
int christoffel(double dst[4][4][4], const double x[4]) const
Chistoffel symbol.
virtual int setParameter(std::string name, std::string content, std::string unit)
Set parameter by name.
double spin() const
Returns spin.
double gmunu(const double x[4], int alpha, int beta) const
Metric coefficients.
double drhor_
horizon security
Definition: GyotoKerrKS.h:64
void jacobian(double dst[4][4][4], const double x[4]) const
The derivatives of gmunu.
double a2_
spin_*spin_
Definition: GyotoKerrKS.h:62
virtual KerrKS * clone() const
Copy constructor.
virtual void circularVelocity(double const pos[4], double vel[4], double dir=1.) const
Yield circular velocity at a given position.
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43