OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Go to the source code of this file.
Classes | |
class | Vector3D |
A 3-dimension vector. More... | |
Functions | |
Vector3D | operator+ (const Vector3D &a, const Vector3D &b) |
Add. More... | |
Vector3D | operator- (const Vector3D &a, const Vector3D &b) |
Subtract. More... | |
Vector3D | operator* (const Vector3D &a, double factor) |
Multiply. More... | |
Vector3D | operator* (double factor, const Vector3D &a) |
Multiply. More... | |
Vector3D | cross (const Vector3D &a, const Vector3D &b) |
Vector cross product. More... | |
double | dot (const Vector3D &a, const Vector3D &b) |
Vector dot product. More... | |
Vector cross product.
Definition at line 111 of file Vector3D.cpp.
Referenced by TSV_MetaCross< Vektor< T1, 3 >, Vektor< T2, 3 > >::apply(), ScatteringPhysics::applyRandomRotation(), getQuaternion(), ParallelCyclotronTracker::getQuaternionTwoVectors(), Bend2D::getSurfaceMesh(), BoundaryGeometry::intersectLineTriangle(), BorisPusher::kick(), Quaternion::operator*=(), and ParallelCyclotronTracker::rotateWithQuaternion().
Vector dot product.
Definition at line 118 of file Vector3D.cpp.
Referenced by Degrader::apply(), FlexibleCollimator::apply(), TSV_MetaDot< SymTenzor< T1, D >, SymTenzor< T2, D > >::apply(), TSV_MetaDot< SymTenzor< T1, D >, Tenzor< T2, D > >::apply(), TSV_MetaDot< Tenzor< T1, D >, SymTenzor< T2, D > >::apply(), TSV_MetaDot< Tenzor< T1, D >, Tenzor< T2, D > >::apply(), TSV_MetaDot< Vektor< T1, D >, Vektor< T2, D > >::apply(), P3MPoissonSolver::applyConstantFocusing(), Tracker::applyDrift(), ScatteringPhysics::applyRandomRotation(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::computePathLengthUpdate(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ParallelCyclotronTracker::deleteParticle(), Div(), Probe::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), ParticleInteractLayout< T, Dim, Mesh >::find_pairs(), ParallelCyclotronTracker::gapCrossKick_m(), Euclid3DGeometry::getArcLength(), PartBunchBase< T, Dim >::getBoundingSphere(), Util::getGamma(), PartBunchBase< T, Dim >::getLocalBoundingSphere(), Bend2D::getOutline(), CavityAutophaser::getPhaseAtMaxEnergy(), getQuaternion(), ParallelCyclotronTracker::getQuaternionTwoVectors(), Bend2D::getSurfaceMesh(), ParallelCyclotronTracker::globalToLocal(), ParallelCyclotronTracker::initDistInGlobalFrame(), OrbitThreader::integrate(), BoundaryGeometry::intersectLineTriangle(), BorisPusher::kick(), ParallelCyclotronTracker::localToGlobal(), mslang::AffineTransformation::mult(), Quaternion::Norm(), ParallelCyclotronTracker::normalizeQuaternion(), ParallelCyclotronTracker::normalizeVector(), Quaternion::operator*=(), BoundaryGeometry::partInside(), ParallelCyclotronTracker::push(), BorisPusher::push(), LF2< FieldFunction, Arguments >::push_m(), ParallelCyclotronTracker::rotateAroundX(), ParallelCyclotronTracker::rotateAroundZ(), CoordinateSystemTrafo::rotateFrom(), CoordinateSystemTrafo::rotateTo(), ParallelCyclotronTracker::rotateWithQuaternion(), OrbitThreader::setDesignEnergy(), Bend2D::setFieldCalcParam(), AmrBoxLib::tagForMomenta_m(), RFCavity::trackOnAxisParticle(), CoordinateSystemTrafo::transformFrom(), CoordinateSystemTrafo::transformTo(), and mslang::AffineTransformation::transformTo().
Multiply.
Definition at line 83 of file Vector3D.cpp.
Multiply.
Definition at line 88 of file Vector3D.cpp.
Add.
Definition at line 73 of file Vector3D.cpp.
Subtract.
Definition at line 78 of file Vector3D.cpp.