28 #ifndef __GyotoRotStar3_1_H_ 29 #define __GyotoRotStar3_1_H_ 39 namespace Metric {
class RotStar3_1; }
46 #ifdef GYOTO_USE_XERCES 59 Lorene::Star_rot * star_;
71 void fileName(char const *);
72 char const * fileName() const;
74 void file(std::string const &);
75 std::string file() const;
78 int integKind() const ;
79 void genericIntegrator(bool);
80 bool genericIntegrator() const ;
90 int myrk4(const double coord[6], double h, double res[6]) const;
98 int myrk4_adaptive(Gyoto::Worldline* line, state_t const &coord, double lastnorm, double normref, state_t &coordnew, double h0, double& h1, double h1max) const;
105 int myrk4_adaptive(const double coor[6], double lastnorm, double normref, double coornew[6], double cst[2], double& tdot_used, double h0, double& h1, double h1max, double& hused) const;
110 int diff(state_t const &coord, state_t &res) const ;
119 int diff(const double y[6], double res[6], int) const ;
125 void Normalize4v(const double coordin[6], double coordout[6], const double cst[2], double& tdot_used) const;
127 double gmunu(const double * x, int mu, int nu) const ;
129 double christoffel(const double coord[8], const int alpha, const int mu,
130 const int nu) const ;
132 double ScalarProd(const double pos[4],
133 const double u1[4], const double u2[4]) const ;
135 virtual int setParameter(std::string, std::string, std::string);
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
Numerical metric around a rotating star in 3+1 formalism.
Definition: GyotoRotStar3_1.h:54
Base class for metrics.
Definition: GyotoMetric.h:158
Reference-counting pointers.
#define GYOTO_OBJECT_THREAD_SAFETY
Declare virtual bool isThreadSafe() const.
Definition: GyotoObject.h:99
Definition: GyotoNumericalMetricLorene.h:26
Timelike or null geodesics.
Base class for metric description.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:45
virtual int myrk4(Worldline *line, state_t const &coord, double h, state_t &res) const
RK4 integrator.