Compadre  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
Compadre::Extract Struct Reference

Detailed Description

Definition at line 88 of file Compadre_Utilities.hpp.

#include <Compadre_Utilities.hpp>

Static Public Member Functions

template<typename output_memory_space , typename view_type_input_data , typename view_type_index_data , enable_if_t< std::is_same< typename view_type_input_data::data_type, double ** >::value||std::is_same< typename view_type_input_data::data_type, int ** >::value, int > = 0>
static Kokkos::View< typename
view_type_input_data::data_type,
typename
view_type_input_data::array_layout,
output_memory_space > 
extractViewByIndex (view_type_input_data input_data_host_or_device, view_type_index_data index_data_host_or_device)
 
template<typename output_memory_space , typename view_type_input_data , typename view_type_index_data , enable_if_t< std::is_same< typename view_type_input_data::data_type, double * >::value||std::is_same< typename view_type_input_data::data_type, int * >::value, int > = 0>
static Kokkos::View< double
*, typename
view_type_input_data::array_layout,
output_memory_space > 
extractViewByIndex (view_type_input_data input_data_host_or_device, view_type_index_data index_data_host_or_device)
 

Member Function Documentation

template<typename output_memory_space , typename view_type_input_data , typename view_type_index_data , enable_if_t< std::is_same< typename view_type_input_data::data_type, double ** >::value||std::is_same< typename view_type_input_data::data_type, int ** >::value, int > = 0>
static Kokkos::View<typename view_type_input_data::data_type, typename view_type_input_data::array_layout, output_memory_space> Compadre::Extract::extractViewByIndex ( view_type_input_data  input_data_host_or_device,
view_type_index_data  index_data_host_or_device 
)
inlinestatic

Definition at line 94 of file Compadre_Utilities.hpp.

template<typename output_memory_space , typename view_type_input_data , typename view_type_index_data , enable_if_t< std::is_same< typename view_type_input_data::data_type, double * >::value||std::is_same< typename view_type_input_data::data_type, int * >::value, int > = 0>
static Kokkos::View<double*, typename view_type_input_data::array_layout, output_memory_space> Compadre::Extract::extractViewByIndex ( view_type_input_data  input_data_host_or_device,
view_type_index_data  index_data_host_or_device 
)
inlinestatic

Definition at line 133 of file Compadre_Utilities.hpp.


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