IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
GridPathSegmenter.h
1#ifndef IPPL_GRIDPATH_SEGMENTER_H
2#define IPPL_GRIDPATH_SEGMENTER_H
3#include <array>
4
5namespace ippl {
6
7template<unsigned Dim, typename T>
8struct Segment {
9 Vector<T,Dim> p0, p1;
10};
11
13
14template<unsigned Dim, typename T, typename Rule = DefaultCellCrossingRule>
16
17 static KOKKOS_INLINE_FUNCTION
18 Kokkos::Array<Segment<Dim,T>, Dim+1>
19 split(const Vector<T, Dim>& A,
20 const Vector<T, Dim>& B,
21 const Vector<T, Dim>& origin,
22 const Vector<T, Dim>& h);
23};
24
25} // namespace ippl
26
27#include "GridPathSegmenter.hpp"
28
29#endif
Definition Vector.h:23
Definition Archive.h:20
Definition GridPathSegmenter.h:12
Definition GridPathSegmenter.h:15
Definition GridPathSegmenter.h:8