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

Strategy interface for computing PCE of a/b using only b[0]. More...

#include <Stokhos_GMRESDivisionExpansionStrategy.hpp>

Inheritance diagram for Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >:
Inheritance graph
[legend]

Public Member Functions

 GMRESDivisionExpansionStrategy (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > &basis_, const Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > &Cijk_, const ordinal_type prec_iter_, const value_type tol_, const ordinal_type PrecNum_, const ordinal_type max_it_, const ordinal_type linear_, const ordinal_type diag_, const ordinal_type equil_)
 Constructor. More...
 
virtual ~GMRESDivisionExpansionStrategy ()
 Destructor. More...
 
virtual void divide (Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &alpha, const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &b, const value_type &beta)
 
- Public Member Functions inherited from Stokhos::DivisionExpansionStrategy< ordinal_type, value_type, node_type >
 DivisionExpansionStrategy ()
 Constructor. More...
 
virtual ~DivisionExpansionStrategy ()
 Destructor. More...
 

Protected Types

typedef Stokhos::Sparse3Tensor
< ordinal_type, value_type > 
Cijk_type
 Short-hand for Cijk. More...
 

Protected Attributes

Teuchos::RCP< const
Stokhos::OrthogPolyBasis
< ordinal_type, value_type > > 
basis
 Basis. More...
 
Teuchos::RCP< const Cijk_typeCijk
 Triple product. More...
 
Teuchos::RCP
< Teuchos::SerialDenseMatrix
< ordinal_type, value_type > > 
A
 Dense matrices for linear system. More...
 
Teuchos::RCP
< Teuchos::SerialDenseMatrix
< ordinal_type, value_type > > 
X
 
Teuchos::RCP
< Teuchos::SerialDenseMatrix
< ordinal_type, value_type > > 
B
 
Teuchos::RCP
< Teuchos::SerialDenseMatrix
< ordinal_type, value_type > > 
M
 
ordinal_type prec_iter
 Tolerance for GMRES. More...
 
value_type tol
 
ordinal_type PrecNum
 
ordinal_type max_it
 
ordinal_type linear
 
ordinal_type diag
 
ordinal_type equil
 

Private Member Functions

 GMRESDivisionExpansionStrategy (const GMRESDivisionExpansionStrategy &)
 
GMRESDivisionExpansionStrategyoperator= (const GMRESDivisionExpansionStrategy &b)
 
ordinal_type GMRES (const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &A, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &X, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &B, ordinal_type max_iter, value_type tolerance, ordinal_type prec_iter, ordinal_type order, ordinal_type dim, ordinal_type PrecNum, const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &M, ordinal_type diag)
 

Detailed Description

template<typename ordinal_type, typename value_type, typename node_type>
class Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >

Strategy interface for computing PCE of a/b using only b[0].

Such a strategy is only useful when the division occurs in a preconditioner

Definition at line 35 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

Member Typedef Documentation

template<typename ordinal_type , typename value_type , typename node_type >
typedef Stokhos::Sparse3Tensor<ordinal_type, value_type> Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::Cijk_type
protected

Short-hand for Cijk.

Definition at line 91 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

Constructor & Destructor Documentation

template<typename ordinal_type , typename value_type , typename node_type >
Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::GMRESDivisionExpansionStrategy ( const Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > &  basis_,
const Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > &  Cijk_,
const ordinal_type  prec_iter_,
const value_type  tol_,
const ordinal_type  PrecNum_,
const ordinal_type  max_it_,
const ordinal_type  linear_,
const ordinal_type  diag_,
const ordinal_type  equil_ 
)

Constructor.

Definition at line 122 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
virtual Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::~GMRESDivisionExpansionStrategy ( )
inlinevirtual

Destructor.

Definition at line 52 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::GMRESDivisionExpansionStrategy ( const GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type > &  )
private

Member Function Documentation

template<typename ordinal_type , typename value_type , typename node_type >
void Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::divide ( Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &  c,
const value_type &  alpha,
const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &  a,
const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &  b,
const value_type &  beta 
)
virtual
template<typename ordinal_type , typename value_type , typename node_type >
GMRESDivisionExpansionStrategy& Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::operator= ( const GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type > &  b)
private
template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::GMRES ( const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &  A,
Teuchos::SerialDenseMatrix< ordinal_type, value_type > &  X,
const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &  B,
ordinal_type  max_iter,
value_type  tolerance,
ordinal_type  prec_iter,
ordinal_type  order,
ordinal_type  dim,
ordinal_type  PrecNum,
const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &  M,
ordinal_type  diag 
)
private

Definition at line 293 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

Member Data Documentation

template<typename ordinal_type , typename value_type , typename node_type >
Teuchos::RCP<const Stokhos::OrthogPolyBasis<ordinal_type, value_type> > Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::basis
protected

Basis.

Definition at line 88 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
Teuchos::RCP<const Cijk_type> Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::Cijk
protected

Triple product.

Definition at line 94 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
Teuchos::RCP< Teuchos::SerialDenseMatrix<ordinal_type,value_type> > Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::A
protected

Dense matrices for linear system.

Definition at line 97 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
Teuchos::RCP< Teuchos::SerialDenseMatrix<ordinal_type,value_type> > Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::X
protected

Definition at line 97 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
Teuchos::RCP< Teuchos::SerialDenseMatrix<ordinal_type,value_type> > Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::B
protected

Definition at line 97 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
Teuchos::RCP< Teuchos::SerialDenseMatrix<ordinal_type,value_type> > Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::M
protected

Definition at line 97 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::prec_iter
protected

Tolerance for GMRES.

Definition at line 101 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
value_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::tol
protected

Definition at line 103 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::PrecNum
protected

Definition at line 105 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::max_it
protected

Definition at line 107 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::linear
protected

Definition at line 109 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::diag
protected

Definition at line 111 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.

template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::GMRESDivisionExpansionStrategy< ordinal_type, value_type, node_type >::equil
protected

Definition at line 113 of file Stokhos_GMRESDivisionExpansionStrategy.hpp.


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