Class xlifepp::ParametrizedGeodesic#

class ParametrizedGeodesic : public xlifepp::Geodesic#

ParametrizedGeodesic class handling any geodesic got using surface parametrization require a GeomDomain or a Geometry or a Parametrization in any case, it constructs geodesic using a RK4 scheme to solve the geodesic EDO dt(x(t),y(t))=F(x(t),y(t)) x(t)=x0, y(t)=y(0) F function (involving Cristoffel symbols) is based on a Parametrization When the Parametrization is a PiecewiseParametrization, the computation is done using an iterative process to go from one parametrization to the other.

Public Functions

inline ParametrizedGeodesic()#

vector of geodesic tangent vectors in 2D parametrization space

bool checkBound(Point &p, const Parametrization &par, real_t tol = 0) const#

tool to check if p in [0,1]x[0,1], project p along op

bool checkBound(Point &p, const Point &o, const Parametrization &par, real_t tol = 0) const#

function involved when solving geodesic equation x” = F(x,x’)

Geodesic &compute(const Parametrization &par, Point &uv, Point &duv, real_t &l, real_t lmax, number_t &k, number_t n, real_t dt)#

compute geodesic from x, dx (entry)

virtual Geodesic &compute(Point &x, Point &dx, real_t &l, real_t lmax, number_t n, real_t dt = 0)#

tool to check if p in [0,1]x[0,1], project p along axis

Geodesic &computePiecewise(Point &x, Point &dx, real_t &l, real_t lmax, number_t n, real_t dt = 0)#

compute geodesic from x, dx (global parametrization)

Point F(const Point &u, const Point &du, const Parametrization *par = nullptr) const#

clear xs_,dxs_,curAbcs

inline virtual string_t strtype() const#

compute geodesic from x, dx (piecewise parametrization)

Public Members

std::vector<Point> dus_#

vector of geodesic points in 2D parametrization space