OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
OPALTypes.h File Reference
#include "Ippl.h"
#include <mpi.h>
#include <Kokkos_MathematicalConstants.hpp>
#include <Kokkos_MathematicalFunctions.hpp>
#include <Kokkos_Random.hpp>
#include <csignal>
#include <random>
#include <set>
#include <string>
#include <thread>
#include <vector>
#include <chrono>
#include <iostream>
#include "PartBunch/datatypes.h"
#include "Manager/PicManager.h"
#include "PartBunch/PartBunch.h"
Include dependency graph for OPALTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using PartBunch_t = PartBunch<double, 3>
template<typename T, unsigned Dim>
using Vector_t = ippl::Vector<T, Dim>
typedef std::pair< Vector_t< double, 3 >, Vector_t< double, 3 > > VectorPair_t

Enumerations

enum  UnitState_t { units = 0 , unitless = 1 }

Functions

template<class T, unsigned D>
KOKKOS_INLINE_FUNCTION double euclidean_norm (const Vector_t< T, D > &v)
template<class T, unsigned D>
KOKKOS_INLINE_FUNCTION double dot (const Vector_t< T, D > &v, const Vector_t< T, D > &w)
template<class T, unsigned D>
KOKKOS_INLINE_FUNCTION double dot (const Vector_t< T, D > &v)

Typedef Documentation

◆ PartBunch_t

using PartBunch_t = PartBunch<double, 3>

Definition at line 24 of file OPALTypes.h.

◆ Vector_t

template<typename T, unsigned Dim>
using Vector_t = ippl::Vector<T, Dim>

Definition at line 27 of file OPALTypes.h.

◆ VectorPair_t

typedef std::pair<Vector_t<double, 3>, Vector_t<double, 3> > VectorPair_t

Definition at line 29 of file OPALTypes.h.

Enumeration Type Documentation

◆ UnitState_t

Enumerator
units 
unitless 

Definition at line 31 of file OPALTypes.h.

Function Documentation

◆ dot() [1/2]

template<class T, unsigned D>
KOKKOS_INLINE_FUNCTION double dot ( const Vector_t< T, D > & v)

Definition at line 49 of file OPALTypes.h.

◆ dot() [2/2]

template<class T, unsigned D>
KOKKOS_INLINE_FUNCTION double dot ( const Vector_t< T, D > & v,
const Vector_t< T, D > & w )

Definition at line 41 of file OPALTypes.h.

Referenced by euclidean_norm().

Here is the caller graph for this function:

◆ euclidean_norm()

template<class T, unsigned D>
KOKKOS_INLINE_FUNCTION double euclidean_norm ( const Vector_t< T, D > & v)

Definition at line 35 of file OPALTypes.h.

References dot().

Referenced by OrbitThreader::checkElementLengths(), OpalBeamline::compute3DLattice(), OrbitThreader::computeDriftLengthToBoundingBox(), mslang::euclidean_norm2D(), ParallelTracker::execute(), ParallelTracker::findStartPosition(), BoundingBox::getIntersectionPoint(), Util::getTaitBryantAngles(), OrbitThreader::integrate(), OrbitThreader::registerElement(), and ParallelTracker::updateRefToLabCSTrafo().

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