Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
Stokhos::GetMeanValsFunc< ViewType > Class Template Reference

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

#include <Stokhos_Tpetra_Utilities.hpp>

Public Types

typedef ViewType MeanViewType
 
typedef ViewType::execution_space execution_space
 
typedef ViewType::size_type size_type
 

Public Member Functions

 GetMeanValsFunc (const ViewType &vals)
 
MeanViewType getMeanValues () const
 

Private Attributes

MeanViewType mean_vals
 

Detailed Description

template<class ViewType>
class Stokhos::GetMeanValsFunc< ViewType >

Get mean values matrix for mean-based preconditioning.

Default implementation for all scalar types where "mean" is the same as the scalar type.

Definition at line 56 of file Stokhos_Tpetra_Utilities.hpp.

Member Typedef Documentation

template<class ViewType >
typedef ViewType Stokhos::GetMeanValsFunc< ViewType >::MeanViewType

Definition at line 58 of file Stokhos_Tpetra_Utilities.hpp.

template<class ViewType >
typedef ViewType::execution_space Stokhos::GetMeanValsFunc< ViewType >::execution_space

Definition at line 59 of file Stokhos_Tpetra_Utilities.hpp.

template<class ViewType >
typedef ViewType::size_type Stokhos::GetMeanValsFunc< ViewType >::size_type

Definition at line 60 of file Stokhos_Tpetra_Utilities.hpp.

Constructor & Destructor Documentation

template<class ViewType >
Stokhos::GetMeanValsFunc< ViewType >::GetMeanValsFunc ( const ViewType &  vals)
inline

Definition at line 62 of file Stokhos_Tpetra_Utilities.hpp.

Member Function Documentation

template<class ViewType >
MeanViewType Stokhos::GetMeanValsFunc< ViewType >::getMeanValues ( ) const
inline

Definition at line 67 of file Stokhos_Tpetra_Utilities.hpp.

Member Data Documentation

template<class ViewType >
MeanViewType Stokhos::GetMeanValsFunc< ViewType >::mean_vals
private

Definition at line 70 of file Stokhos_Tpetra_Utilities.hpp.


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