|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
#include <CoordinateSystemTrafo.h>
Public Member Functions | |
| CoordinateSystemTrafo () | |
| CoordinateSystemTrafo (const CoordinateSystemTrafo &right) | |
| CoordinateSystemTrafo (const ippl::Vector< double, 3 > &origin, const Quaternion &orientation) | |
| ippl::Vector< double, 3 > | transformTo (const ippl::Vector< double, 3 > &r) const |
| ippl::Vector< double, 3 > | transformFrom (const ippl::Vector< double, 3 > &r) const |
| ippl::Vector< double, 3 > | rotateTo (const ippl::Vector< double, 3 > &r) const |
| ippl::Vector< double, 3 > | rotateFrom (const ippl::Vector< double, 3 > &r) const |
| void | invert () |
| CoordinateSystemTrafo | inverted () const |
| CoordinateSystemTrafo & | operator= (const CoordinateSystemTrafo &right)=default |
| CoordinateSystemTrafo | operator* (const CoordinateSystemTrafo &right) const |
| void | operator*= (const CoordinateSystemTrafo &right) |
| ippl::Vector< double, 3 > | getOrigin () const |
| Quaternion | getRotation () const |
| matrix_t | getRotationMatrix () const |
| void | print (std::ostream &) const |
Private Attributes | |
| ippl::Vector< double, 3 > | origin_m |
| Quaternion | orientation_m |
| matrix_t | rotationMatrix_m |
Definition at line 6 of file CoordinateSystemTrafo.h.
| CoordinateSystemTrafo::CoordinateSystemTrafo | ( | ) |
Definition at line 3 of file CoordinateSystemTrafo.cpp.
References orientation_m, origin_m, and rotationMatrix_m.
Referenced by CoordinateSystemTrafo(), inverted(), operator*(), operator*=(), and operator=().
| CoordinateSystemTrafo::CoordinateSystemTrafo | ( | const CoordinateSystemTrafo & | right | ) |
Definition at line 16 of file CoordinateSystemTrafo.cpp.
References CoordinateSystemTrafo(), orientation_m, origin_m, and rotationMatrix_m.
| CoordinateSystemTrafo::CoordinateSystemTrafo | ( | const ippl::Vector< double, 3 > & | origin, |
| const Quaternion & | orientation ) |
Definition at line 22 of file CoordinateSystemTrafo.cpp.
References getRotationMatrix(), orientation_m, origin_m, and rotationMatrix_m.
|
inline |
Definition at line 56 of file CoordinateSystemTrafo.h.
References origin_m.
Referenced by ParallelTracker::computeSpaceChargeFields(), OpalBeamline::save3DInput(), and OpalBeamline::save3DLattice().
|
inline |
Definition at line 60 of file CoordinateSystemTrafo.h.
References orientation_m.
Referenced by OpalBeamline::save3DInput().
|
inline |
Definition at line 65 of file CoordinateSystemTrafo.h.
References rotationMatrix_m.
Referenced by ParallelTracker::computeSpaceChargeFields(), and CoordinateSystemTrafo().
| void CoordinateSystemTrafo::invert | ( | ) |
Definition at line 29 of file CoordinateSystemTrafo.cpp.
References orientation_m, origin_m, and rotationMatrix_m.
Referenced by inverted().
|
inline |
Definition at line 69 of file CoordinateSystemTrafo.h.
References CoordinateSystemTrafo(), and invert().
Referenced by MeshGenerator::add(), ParallelTracker::applyFractionalStep(), ParallelTracker::computeExternalFields(), ParallelTracker::computeSpaceChargeFields(), and ParallelTracker::updateRefToLabCSTrafo().
| CoordinateSystemTrafo CoordinateSystemTrafo::operator* | ( | const CoordinateSystemTrafo & | right | ) | const |
Definition at line 35 of file CoordinateSystemTrafo.cpp.
References CoordinateSystemTrafo().
| void CoordinateSystemTrafo::operator*= | ( | const CoordinateSystemTrafo & | right | ) |
Definition at line 42 of file CoordinateSystemTrafo.cpp.
References Quaternion::conjugate(), CoordinateSystemTrafo(), orientation_m, origin_m, Quaternion::rotate(), and rotationMatrix_m.
|
default |
|
inline |
Definition at line 50 of file CoordinateSystemTrafo.h.
References orientation_m, and origin_m.
Referenced by operator<<(), and operator<<().
|
inline |
Definition at line 92 of file CoordinateSystemTrafo.h.
References prod_boost_vector(), and rotationMatrix_m.
Referenced by transformFrom(), and ParallelTracker::updateReferenceParticle().
|
inline |
Definition at line 87 of file CoordinateSystemTrafo.h.
References prod_boost_vector(), and rotationMatrix_m.
Referenced by MeshGenerator::add(), ParallelTracker::execute(), and ParallelTracker::updateReferenceParticle().
|
inline |
Definition at line 82 of file CoordinateSystemTrafo.h.
References origin_m, and rotateFrom().
|
inline |
Definition at line 76 of file CoordinateSystemTrafo.h.
References origin_m, prod_boost_vector(), and rotationMatrix_m.
Referenced by MeshGenerator::add(), ParallelTracker::execute(), TBeamline< FlaggedElmPtr >::getConstChannel(), and ParallelTracker::updateReferenceParticle().
|
private |
Definition at line 36 of file CoordinateSystemTrafo.h.
Referenced by CoordinateSystemTrafo(), CoordinateSystemTrafo(), CoordinateSystemTrafo(), getRotation(), invert(), operator*=(), and print().
|
private |
Definition at line 35 of file CoordinateSystemTrafo.h.
Referenced by CoordinateSystemTrafo(), CoordinateSystemTrafo(), CoordinateSystemTrafo(), getOrigin(), invert(), operator*=(), print(), transformFrom(), and transformTo().
|
private |
Definition at line 37 of file CoordinateSystemTrafo.h.
Referenced by CoordinateSystemTrafo(), CoordinateSystemTrafo(), CoordinateSystemTrafo(), getRotationMatrix(), invert(), operator*=(), rotateFrom(), rotateTo(), and transformTo().