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 virtual double
gmunu(double const x[4], int alpha, int beta) const ;
88 virtual void
gmunu(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const ;
95 virtual void
gmunu_up(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const;
102 virtual void
jacobian(double ARGOUT_ARRAY3[4][4][4], const double x[4]) const ;
104 virtual void
gmunu_up_and_jacobian(double ARGOUT_ARRAY2[4][4], double ARGOUT_ARRAY3[4][4][4], const double IN_ARRAY1[4]) const;
107 double dir=1.) const ;
109 virtual int isStopCondition(double const * const coord) const;
virtual double gmunu(double const x[4], int alpha, int beta) const
Metric coefficients.
double rsink_
numerical horizon
Definition: GyotoKerrKS.h:63
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
virtual int setParameter(std::string name, std::string content, std::string unit)
Set parameter by name.
double spin() const
Returns spin.
Metric around a Kerr black-hole in Kerr-Schild coordinates Warning: this metric is seldom used and ma...
Definition: GyotoKerrKS.h:52
Base class for metrics.
Definition: GyotoMetric.h:158
virtual void gmunu_up_and_jacobian(double ARGOUT_ARRAY2[4][4], double ARGOUT_ARRAY3[4][4][4], const double IN_ARRAY1[4]) const
gmunu_up() and jacobian() in one go
double drhor_
horizon security
Definition: GyotoKerrKS.h:64
virtual double gmunu_up(double const x[4], int mu, int nu) const
Metric contravariant coefficients.
double spin_
Angular momentum parameter.
Definition: GyotoKerrKS.h:61
Timelike or null geodesics.
Base class for metric description.
virtual void gmunu_up(double ARGOUT_ARRAY2[4][4], const double IN_ARRAY1[4]) const
The inverse matrix of gmunu.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
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: GyotoProperty.h:45
virtual KerrKS * clone() const
Copy constructor.
double a2_
spin_*spin_
Definition: GyotoKerrKS.h:62
virtual void jacobian(double ARGOUT_ARRAY3[4][4][4], const double x[4]) const
The derivatives of gmunu.