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::CGDivisionExpansionStrategy< ordinal_type, value_type, node_type > Class Template Reference

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

#include <Stokhos_CGDivisionExpansionStrategy.hpp>

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

Public Member Functions

 CGDivisionExpansionStrategy (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 ~CGDivisionExpansionStrategy ()
 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 CG. More...
 
value_type tol
 
ordinal_type PrecNum
 
ordinal_type max_it
 
ordinal_type linear
 
ordinal_type diag
 
ordinal_type equil
 

Private Member Functions

 CGDivisionExpansionStrategy (const CGDivisionExpansionStrategy &)
 
CGDivisionExpansionStrategyoperator= (const CGDivisionExpansionStrategy &b)
 
ordinal_type CG (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::CGDivisionExpansionStrategy< 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 72 of file Stokhos_CGDivisionExpansionStrategy.hpp.

Member Typedef Documentation

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

Short-hand for Cijk.

Definition at line 128 of file Stokhos_CGDivisionExpansionStrategy.hpp.

Constructor & Destructor Documentation

template<typename ordinal_type , typename value_type , typename node_type >
Stokhos::CGDivisionExpansionStrategy< ordinal_type, value_type, node_type >::CGDivisionExpansionStrategy ( 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 157 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Destructor.

Definition at line 89 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Member Function Documentation

template<typename ordinal_type , typename value_type , typename node_type >
void Stokhos::CGDivisionExpansionStrategy< 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 >
CGDivisionExpansionStrategy& Stokhos::CGDivisionExpansionStrategy< ordinal_type, value_type, node_type >::operator= ( const CGDivisionExpansionStrategy< ordinal_type, value_type, node_type > &  b)
private
template<typename ordinal_type , typename value_type , typename node_type >
ordinal_type Stokhos::CGDivisionExpansionStrategy< ordinal_type, value_type, node_type >::CG ( 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 336 of file Stokhos_CGDivisionExpansionStrategy.hpp.

Member Data Documentation

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

Basis.

Definition at line 125 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Triple product.

Definition at line 131 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Dense matrices for linear system.

Definition at line 134 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 134 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 134 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 134 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Tolerance for CG.

Definition at line 137 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 139 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 141 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 143 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 145 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 147 of file Stokhos_CGDivisionExpansionStrategy.hpp.

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

Definition at line 149 of file Stokhos_CGDivisionExpansionStrategy.hpp.


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