Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
mrmd::data::ArrayT< ScalarType, N > Struct Template Reference

#include <data/Array.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION ArrayT ()
KOKKOS_INLINE_FUNCTION ArrayT (const ArrayT &rhs)
KOKKOS_INLINE_FUNCTION void init ()
KOKKOS_INLINE_FUNCTION ArrayT & operator+= (const ArrayT &src)
KOKKOS_INLINE_FUNCTION void operator+= (const ArrayT &src)
KOKKOS_INLINE_FUNCTION ScalarType operator[] (idx_t idx) const

Public Attributes

ScalarType data_ [N]

Constructor & Destructor Documentation

◆ ArrayT() [1/2]

template<class ScalarType, int N>
KOKKOS_INLINE_FUNCTION mrmd::data::ArrayT< ScalarType, N >::ArrayT ( )
inline

◆ ArrayT() [2/2]

template<class ScalarType, int N>
KOKKOS_INLINE_FUNCTION mrmd::data::ArrayT< ScalarType, N >::ArrayT ( const ArrayT< ScalarType, N > & rhs)
inline

Member Function Documentation

◆ init()

template<class ScalarType, int N>
KOKKOS_INLINE_FUNCTION void mrmd::data::ArrayT< ScalarType, N >::init ( )
inline

◆ operator+=() [1/2]

template<class ScalarType, int N>
KOKKOS_INLINE_FUNCTION void mrmd::data::ArrayT< ScalarType, N >::operator+= ( const ArrayT< ScalarType, N > & src)
inline

◆ operator+=() [2/2]

template<class ScalarType, int N>
KOKKOS_INLINE_FUNCTION ArrayT & mrmd::data::ArrayT< ScalarType, N >::operator+= ( const ArrayT< ScalarType, N > & src)
inline

◆ operator[]()

template<class ScalarType, int N>
KOKKOS_INLINE_FUNCTION ScalarType mrmd::data::ArrayT< ScalarType, N >::operator[] ( idx_t idx) const
inline

Member Data Documentation

◆ data_

template<class ScalarType, int N>
ScalarType mrmd::data::ArrayT< ScalarType, N >::data_[N]

The documentation for this struct was generated from the following file: