OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
coordinatetransform Namespace Reference

Classes

struct  myParams
class  CoordinateTransform

Functions

double getUnitTangentVectorX (double s, void *p)
double getUnitTangentVectorY (double s, void *p)

Detailed Description


CoordinateTransform transforms between the coordinate system centred
at the entrance and the local Frenet-Serret coordinate system. Assuming
CoordinateTransform takes in the fringe field parameters and calculates
the coordinate transformation. First the coordinates are transformed to
a coordinate system centred in the middle of the magnet. From here
the Frenet-Serret coordinates are found using numerical integration.


Class category: AbsBeamline
Author: Martin Duy Tat



Class Documentation

◆ coordinatetransform::myParams

struct coordinatetransform::myParams

Definition at line 52 of file CoordinateTransform.h.

Collaboration diagram for coordinatetransform::myParams:
Class Members
double lambdaleft
double lambdaright
double rho
double s_0

Function Documentation

◆ getUnitTangentVectorX()

double coordinatetransform::getUnitTangentVectorX ( double s,
void * p )

Internal function used for GSL numerical integration

Definition at line 195 of file CoordinateTransform.cpp.

References coordinatetransform::myParams::lambdaleft, coordinatetransform::myParams::lambdaright, coordinatetransform::myParams::rho, and coordinatetransform::myParams::s_0.

Referenced by coordinatetransform::CoordinateTransform::calcReferenceTrajectory().

Here is the caller graph for this function:

◆ getUnitTangentVectorY()

double coordinatetransform::getUnitTangentVectorY ( double s,
void * p )

Internal function used for GSL numerical integration

Definition at line 204 of file CoordinateTransform.cpp.

References coordinatetransform::myParams::lambdaleft, coordinatetransform::myParams::lambdaright, coordinatetransform::myParams::rho, and coordinatetransform::myParams::s_0.

Referenced by coordinatetransform::CoordinateTransform::calcReferenceTrajectory().

Here is the caller graph for this function: