Class xlifepp::AnalyticGeodesic#
-
class AnalyticGeodesic : public xlifepp::Geodesic#
-
AnalyticGeodesic class handling any geodesic described by a 1D->3D parametrization par_g : Parametrization of the analytic geodesic init_p: function pointer to init function, must be called before using parametrization smin_, smax_ : bounds of parametrization regarding starting point the set() function set the starting point and starting derivative the init_p() function computes parameter bounds and additional data useful for computation the useful data must are transmitted to the parametrization function using its Parameters object.
Public Functions
-
virtual Geodesic &compute(Point &x, Point &dx, real_t &l, real_t lmax, number_t n, real_t dt = 0)#
-
initialize par_p pointer
compute Geodesics
-
inline virtual string_t strtype() const#
-
compute geodesic with curvilinear length lmax
Public Members
-
real_t smax_#
-
bounds of parametrization
-
virtual Geodesic &compute(Point &x, Point &dx, real_t &l, real_t lmax, number_t n, real_t dt = 0)#