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::GetScalarMeanValsFunc< 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

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

Private Attributes

MeanViewType mean_vals
 

Detailed Description

template<class ViewType>
class Stokhos::GetScalarMeanValsFunc< 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 117 of file Stokhos_Tpetra_Utilities.hpp.

Member Typedef Documentation

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

Definition at line 119 of file Stokhos_Tpetra_Utilities.hpp.

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

Definition at line 120 of file Stokhos_Tpetra_Utilities.hpp.

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

Definition at line 121 of file Stokhos_Tpetra_Utilities.hpp.

Constructor & Destructor Documentation

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

Definition at line 123 of file Stokhos_Tpetra_Utilities.hpp.

Member Function Documentation

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

Definition at line 128 of file Stokhos_Tpetra_Utilities.hpp.

Member Data Documentation

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

Definition at line 131 of file Stokhos_Tpetra_Utilities.hpp.


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