Commit 0a1fa078 authored by Daniel Winklehner's avatar Daniel Winklehner
Browse files

Added overloaded space charge for cyclotron function -DW

parent a3c52278
......@@ -277,6 +277,11 @@ public:
void computeSelfFields_cycl(double gamma);
// Overload computeselffields with version that has meanR and the quaternion of the
// rotation of the particle bunch in order to take into account the rotation
// when finding the boundary conditions for the fieldsolver -DW
void computeSelfFields_cycl(double gamma, Vector_t const meanR, Vektor<double, 4> const quaternion);
void computeSelfFields_cycl(int b);
void resetInterpolationCache(bool clearCache = false);
......@@ -512,6 +517,9 @@ private:
double calculateAngle(double x, double y);
double calculateAngle2(double x, double y);
// Rotate three element vector Vector_t counter clockwise with quaternion. -DW
inline void rotateWithQuaternion(Vector_t v, Vektor<double, 4> const quaternion);
/*
Member variables starts here
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment