Stokhos Development
Loading...
Searching...
No Matches
Public Member Functions | Protected Types | Protected Attributes | 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]
Collaboration diagram for Stokhos::CGDivisionExpansionStrategy< ordinal_type, value_type, node_type >:
Collaboration 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.
 
virtual ~CGDivisionExpansionStrategy ()
 Destructor.
 
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.
 
virtual ~DivisionExpansionStrategy ()
 Destructor.
 
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)=0
 

Protected Types

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

Protected Attributes

Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > basis
 Basis.
 
Teuchos::RCP< const Cijk_typeCijk
 Triple product.
 
Teuchos::RCP< Teuchos::SerialDenseMatrix< ordinal_type, value_type > > A
 Dense matrices for linear system.
 
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.
 
value_type tol
 
ordinal_type PrecNum
 
ordinal_type max_it
 
ordinal_type linear
 
ordinal_type diag
 
ordinal_type equil
 

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

Member Function Documentation

◆ divide()

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

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