Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Static Public Member Functions | List of all members
Kokkos::Impl::ViewMapping< DstTraits, SrcTraits, typename std::enable_if<(Kokkos::Impl::MemorySpaceAccess< typename DstTraits::memory_space, typename SrcTraits::memory_space >::assignable &&std::is_same< typename DstTraits::specialize, void >::value &&std::is_same< typename SrcTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&unsigned(DstTraits::dimension::rank)==unsigned(SrcTraits::dimension::rank)), typename DstTraits::specialize >::type > Class Template Reference

Assign compatible Sacado::MP::Vector view mappings. More...

#include <KokkosExp_View_MP_Vector_Contiguous.hpp>

Public Types

enum  { is_assignable = true }
 
enum  { is_assignable_data_type = true }
 
typedef
Kokkos::Impl::SharedAllocationTracker 
TrackType
 
typedef ViewMapping< DstTraits,
typename DstTraits::specialize > 
DstType
 
typedef ViewMapping< SrcTraits,
typename SrcTraits::specialize > 
SrcType
 

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION void assign (DstType &dst, const SrcType &src, const TrackType &)
 

Detailed Description

template<class DstTraits, class SrcTraits>
class Kokkos::Impl::ViewMapping< DstTraits, SrcTraits, typename std::enable_if<(Kokkos::Impl::MemorySpaceAccess< typename DstTraits::memory_space, typename SrcTraits::memory_space >::assignable &&std::is_same< typename DstTraits::specialize, void >::value &&std::is_same< typename SrcTraits::specialize, Kokkos::Experimental::Impl::ViewMPVectorContiguous >::value &&unsigned(DstTraits::dimension::rank)==unsigned(SrcTraits::dimension::rank)), typename DstTraits::specialize >::type >

Assign compatible Sacado::MP::Vector view mappings.

View<ordinary> = View<MP::Vector> where View<ordinay>::Rank = View<MP::Vector>::Rank, i.e., assigning to the "flattened" view type


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