peclet.voro 1.0.0
Device-native moving-particle Voronoi dynamics
Loading...
Searching...
No Matches
Classes | Functions
peclet::voro::detail Namespace Reference

Classes

struct  Dual
 

Functions

template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, K > dnum (Real c)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Kdseed (Real c, int s)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Koperator+ (const Dual< Real, K > &a, const Dual< Real, K > &b)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Koperator- (const Dual< Real, K > &a, const Dual< Real, K > &b)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Koperator* (const Dual< Real, K > &a, const Dual< Real, K > &b)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Koperator/ (const Dual< Real, K > &a, const Dual< Real, K > &b)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Kdsqrt (const Dual< Real, K > &a)
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Kddot (const Dual< Real, K > a[3], const Dual< Real, K > b[3])
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION void dcross (const Dual< Real, K > a[3], const Dual< Real, K > b[3], Dual< Real, K > o[3])
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, Kddet3 (const Dual< Real, K > a[3], const Dual< Real, K > b[3], const Dual< Real, K > c[3])
 
template<class Real , int K>
KOKKOS_INLINE_FUNCTION void dedgeFoot (const Dual< Real, K > v[3], const Dual< Real, K > c[3], Dual< Real, K > f[3])
 
template<class Real >
std::vector< RealtoHostVec (const Kokkos::View< Real *, peclet::core::MemSpace > &v)
 
template<class T >
std::vector< TtoHostVecT (const Kokkos::View< T *, peclet::core::MemSpace > &v)
 
template<class T >
Kokkos::View< T *, peclet::core::MemSpace > viewFrom (const std::vector< T > &h, const std::string &label)
 

Function Documentation

◆ dcross()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION void peclet::voro::detail::dcross ( const Dual< Real, K a[3],
const Dual< Real, K b[3],
Dual< Real, K o[3] 
)

◆ ddet3()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, K > peclet::voro::detail::ddet3 ( const Dual< Real, K a[3],
const Dual< Real, K b[3],
const Dual< Real, K c[3] 
)

◆ ddot()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, K > peclet::voro::detail::ddot ( const Dual< Real, K a[3],
const Dual< Real, K b[3] 
)

◆ dedgeFoot()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION void peclet::voro::detail::dedgeFoot ( const Dual< Real, K v[3],
const Dual< Real, K c[3],
Dual< Real, K f[3] 
)

◆ dnum()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, K > peclet::voro::detail::dnum ( Real  c)

◆ dseed()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, K > peclet::voro::detail::dseed ( Real  c,
int  s 
)

◆ dsqrt()

template<class Real , int K>
KOKKOS_INLINE_FUNCTION Dual< Real, K > peclet::voro::detail::dsqrt ( const Dual< Real, K > &  a)

◆ operator*()

◆ operator+()

◆ operator-()

◆ operator/()

◆ toHostVec()

template<class Real >
std::vector< Real > peclet::voro::detail::toHostVec ( const Kokkos::View< Real *, peclet::core::MemSpace > &  v)

◆ toHostVecT()

template<class T >
std::vector< T > peclet::voro::detail::toHostVecT ( const Kokkos::View< T *, peclet::core::MemSpace > &  v)

◆ viewFrom()

template<class T >
Kokkos::View< T *, peclet::core::MemSpace > peclet::voro::detail::viewFrom ( const std::vector< T > &  h,
const std::string &  label 
)