Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | Private Attributes | List of all members
Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > > Class Template Reference

Get mean values matrix for mean-based preconditioning. More...

#include <Stokhos_Tpetra_Utilities.hpp>

Public Types

typedef Sacado::UQ::PCE< StorageScalar
 
typedef Kokkos::View< Scalar *, P... > ViewType
 
typedef ViewType MeanViewType
 
typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 

Public Member Functions

 GetMeanValsFunc (const ViewType &vals_)
 
KOKKOS_INLINE_FUNCTION void operator() (const size_type i) const
 
MeanViewType getMeanValues () const
 

Private Attributes

MeanViewType mean_vals
 
ViewType vals
 

Detailed Description

template<class Storage, class ... P>
class Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >

Get mean values matrix for mean-based preconditioning.

Specialization for Sacado::UQ::PCE

Definition at line 77 of file Stokhos_Tpetra_Utilities.hpp.

Member Typedef Documentation

◆ Scalar

template<class Storage , class ... P>
typedef Sacado::UQ::PCE<Storage> Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::Scalar

Definition at line 80 of file Stokhos_Tpetra_Utilities.hpp.

◆ ViewType

template<class Storage , class ... P>
typedef Kokkos::View< Scalar*, P... > Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::ViewType

Definition at line 81 of file Stokhos_Tpetra_Utilities.hpp.

◆ MeanViewType

template<class Storage , class ... P>
typedef ViewType Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::MeanViewType

Definition at line 82 of file Stokhos_Tpetra_Utilities.hpp.

◆ execution_space

template<class Storage , class ... P>
typedef ViewType::execution_space Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::execution_space

Definition at line 83 of file Stokhos_Tpetra_Utilities.hpp.

◆ size_type

template<class Storage , class ... P>
typedef ViewType::size_type Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::size_type

Definition at line 84 of file Stokhos_Tpetra_Utilities.hpp.

Constructor & Destructor Documentation

◆ GetMeanValsFunc()

template<class Storage , class ... P>
Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::GetMeanValsFunc ( const ViewType vals_)
inline

Definition at line 86 of file Stokhos_Tpetra_Utilities.hpp.

Member Function Documentation

◆ operator()()

template<class Storage , class ... P>
KOKKOS_INLINE_FUNCTION void Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::operator() ( const size_type  i) const
inline

Definition at line 95 of file Stokhos_Tpetra_Utilities.hpp.

◆ getMeanValues()

template<class Storage , class ... P>
MeanViewType Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::getMeanValues ( ) const
inline

Definition at line 99 of file Stokhos_Tpetra_Utilities.hpp.

Member Data Documentation

◆ mean_vals

template<class Storage , class ... P>
MeanViewType Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::mean_vals
private

Definition at line 102 of file Stokhos_Tpetra_Utilities.hpp.

◆ vals

template<class Storage , class ... P>
ViewType Stokhos::GetMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >::vals
private

Definition at line 103 of file Stokhos_Tpetra_Utilities.hpp.


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