Compadre  1.5.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
Compadre_Evaluator.hpp File Reference
#include "Compadre_Typedefs.hpp"
#include "Compadre_GMLS.hpp"
#include "Compadre_NeighborLists.hpp"

Go to the source code of this file.

Classes

struct  Compadre::SubviewND< T, T2, T3 >
 Creates 1D subviews of data from a 2D view, generally constructed with CreateNDSliceOnDeviceView. More...
 
class  Compadre::Evaluator
 Lightweight Evaluator Helper This class is a lightweight wrapper for extracting and applying all relevant data from a GMLS class in order to transform data into a form that can be acted on by the GMLS operator, apply the action of the GMLS operator, and then transform data again (only if on a manifold) More...
 

Namespaces

 Compadre
 

Functions

template<typename T , typename T2 >
struct SubviewND< T, T2,
enable_if_t<(T::rank< 2)> >{T
_data_in;T2
_data_original_view;bool
_scalar_as_vector_if_needed;SubviewND(T
data_in, T2 data_original_view,
bool
scalar_as_vector_if_needed){_data_in=data_in;_data_original_view=data_original_view;_scalar_as_vector_if_needed=scalar_as_vector_if_needed;}auto
get1DView(const int column_num) -> 
Compadre::decltype (Kokkos::subview(_data_in, Kokkos::ALL))
 Creates 1D subviews of data from a 1D view, generally constructed with CreateNDSliceOnDeviceView. More...
 
auto Compadre::get2DView (const int column_num, const int block_size) -> decltype(Kokkos::subview(_data_in, Kokkos::ALL))
 
T2 Compadre::copyToAndReturnOriginalView ()
 
template<typename T >
auto Compadre::CreateNDSliceOnDeviceView (T sampling_input_data_host_or_device, bool scalar_as_vector_if_needed) -> SubviewND< decltype(Kokkos::create_mirror_view(device_memory_space(), sampling_input_data_host_or_device)), T >
 Copies data_in to the device, and then allows for access to 1D columns of data on device. More...