| 1 | |
| 2 | struct point |
| 3 | { |
| 4 | double rho; |
| 5 | double gamma; |
| 6 | double alpha; |
| 7 | double omega; |
| 8 | double drhodr; |
| 9 | double dgammadr; |
| 10 | double dalphadr; |
| 11 | double domegadr; |
| 12 | double drhodtheta; |
| 13 | double dgammadtheta; |
| 14 | double dalphadtheta; |
| 15 | double domegadtheta; |
| 16 | }; |
| 17 | typedef struct point point; |
| 18 | |
| 19 | int max( int i, int j); |
| 20 | |
| 21 | int min( int i, int j); |
| 22 | |
| 23 | double sign( double x ); |
| 24 | |
| 25 | void rk4(double y[], int n, double x, double h, double yout[] |
| 26 | , const Etoile_rot& star |
| 27 | , void (*derivs)(double, double [], double [] , const Etoile_rot&)); |
| 28 | |
| 29 | |
| 30 | point interpol2( double r0, double theta, const Etoile_rot& star ); |
| 31 | |
| 32 | void geodesics( double x, double *y, double *dydx , const Etoile_rot& star ); |