Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Stokhos::GetScalarMeanValsFunc< 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 Scalar::value_type MeanScalar
 
typedef Kokkos::View< Scalar *, P... > ViewType
 
typedef Kokkos::View< MeanScalar *, P... > MeanViewType
 
typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 

Public Member Functions

 GetScalarMeanValsFunc (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::GetScalarMeanValsFunc< Kokkos::View< Sacado::UQ::PCE< Storage > *, P... > >

Get mean values matrix for mean-based preconditioning.

Specialization for Sacado::UQ::PCE

Definition at line 170 of file Stokhos_Tpetra_Utilities.hpp.

Member Typedef Documentation

◆ Scalar

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

Definition at line 173 of file Stokhos_Tpetra_Utilities.hpp.

◆ MeanScalar

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

Definition at line 174 of file Stokhos_Tpetra_Utilities.hpp.

◆ ViewType

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

Definition at line 175 of file Stokhos_Tpetra_Utilities.hpp.

◆ MeanViewType

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

Definition at line 176 of file Stokhos_Tpetra_Utilities.hpp.

◆ execution_space

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

Definition at line 177 of file Stokhos_Tpetra_Utilities.hpp.

◆ size_type

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

Definition at line 178 of file Stokhos_Tpetra_Utilities.hpp.

Constructor & Destructor Documentation

◆ GetScalarMeanValsFunc()

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

Definition at line 180 of file Stokhos_Tpetra_Utilities.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 187 of file Stokhos_Tpetra_Utilities.hpp.

◆ getMeanValues()

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

Definition at line 191 of file Stokhos_Tpetra_Utilities.hpp.

Member Data Documentation

◆ mean_vals

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

Definition at line 194 of file Stokhos_Tpetra_Utilities.hpp.

◆ vals

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

Definition at line 195 of file Stokhos_Tpetra_Utilities.hpp.


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