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

Detailed Description

Definition at line 96 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 102 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 141 of file Compadre_Utilities.hpp.


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