OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
Quaternion.cpp File Reference
#include "Algorithms/Quaternion.hpp"
#include <cmath>
#include <iostream>
#include "Algorithms/BoostMatrix.h"
#include "OPALTypes.h"
#include "Physics/Physics.h"
#include "Utilities/GeneralClassicException.h"
Include dependency graph for Quaternion.cpp:

Go to the source code of this file.

Functions

Quaternion getQuaternion (ippl::Vector< double, 3 > u, ippl::Vector< double, 3 > ref)

Function Documentation

◆ getQuaternion()

Quaternion getQuaternion ( ippl::Vector< double, 3 > u,
ippl::Vector< double, 3 > ref )

Definition at line 35 of file Quaternion.cpp.

References cross(), dot(), and Physics::pi.

Referenced by ParallelTracker::applyFractionalStep(), ParallelTracker::computeSpaceChargeFields(), and ParallelTracker::updateRefToLabCSTrafo().

Here is the call graph for this function:
Here is the caller graph for this function: