Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
Tpetra::Details::ScalarViewTraits< Sacado::UQ::PCE< S >, D > Struct Template Reference

Partial specialization of ScalarViewTraits for Sacado's PCE UQ type. More...

#include <Stokhos_Tpetra_UQ_PCE.hpp>

Public Types

using value_type = Sacado::UQ::PCE< S >
 
using device_type = D
 

Static Public Member Functions

static Kokkos::View< value_type *, device_typeallocateArray (const value_type &x, const size_t numEnt, const std::string &label="")
 

Detailed Description

template<typename S, typename D>
struct Tpetra::Details::ScalarViewTraits< Sacado::UQ::PCE< S >, D >

Partial specialization of ScalarViewTraits for Sacado's PCE UQ type.

Template Parameters
SThe underlying scalar type in the PCE UQ type.
DThe Kokkos "device" type.

Definition at line 305 of file Stokhos_Tpetra_UQ_PCE.hpp.

Member Typedef Documentation

◆ value_type

template<typename S , typename D >
using Tpetra::Details::ScalarViewTraits< Sacado::UQ::PCE< S >, D >::value_type = Sacado::UQ::PCE<S>

Definition at line 306 of file Stokhos_Tpetra_UQ_PCE.hpp.

◆ device_type

template<typename S , typename D >
using Tpetra::Details::ScalarViewTraits< Sacado::UQ::PCE< S >, D >::device_type = D

Definition at line 307 of file Stokhos_Tpetra_UQ_PCE.hpp.

Member Function Documentation

◆ allocateArray()

template<typename S , typename D >
static Kokkos::View< value_type *, device_type > Tpetra::Details::ScalarViewTraits< Sacado::UQ::PCE< S >, D >::allocateArray ( const value_type x,
const size_t  numEnt,
const std::string &  label = "" 
)
inlinestatic

Definition at line 310 of file Stokhos_Tpetra_UQ_PCE.hpp.


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