Sacado::PCE::Workspace< BasisT > Class Template Reference

Workspace class to store linear system for nonlinear PCE operations. More...

#include <Sacado_PCE_Workspace.hpp>

List of all members.

Public Types

typedef BasisT::value_type value_type
 Typename of values.
typedef int ordinal_type
 Ordinal type.
typedef Teuchos::SerialDenseMatrix<
ordinal_type, value_type
matrix_type
 Typename of matrix.
typedef TripleProduct< BasisT > tp_type
 Typename of TripleProduct tensor.

Public Member Functions

 Workspace (unsigned int sz)
 Constructor.
 ~Workspace ()
 Destructor.
void resize (unsigned int sz)
 Resize workspace.
unsigned int size () const
 Get workspace size.
matrix_typegetMatrix ()
 Get matrix.
matrix_typegetRHS ()
 Get RHS.
const tp_typegetTripleProduct () const
 Get TripleProduct tensor.
ordinal_type solve (ordinal_type s, ordinal_type nrhs)
 Solve linear system.

Protected Attributes

unsigned int sz
 Workspace size.
matrix_type A
 Matrix.
matrix_type b
 RHS.
std::vector< ordinal_typepiv
 Pivot array.
tp_type Cijk
 Triple-product tensor.
Teuchos::LAPACK< ordinal_type,
value_type
lapack
 LAPACK wrappers.


Detailed Description

template<typename BasisT>
class Sacado::PCE::Workspace< BasisT >

Workspace class to store linear system for nonlinear PCE operations.

Definition at line 47 of file Sacado_PCE_Workspace.hpp.


Member Typedef Documentation

template<typename BasisT>
typedef BasisT::value_type Sacado::PCE::Workspace< BasisT >::value_type

Typename of values.

Definition at line 51 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
typedef int Sacado::PCE::Workspace< BasisT >::ordinal_type

Ordinal type.

Definition at line 54 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
typedef Teuchos::SerialDenseMatrix<ordinal_type,value_type> Sacado::PCE::Workspace< BasisT >::matrix_type

Typename of matrix.

Definition at line 57 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
typedef TripleProduct<BasisT> Sacado::PCE::Workspace< BasisT >::tp_type

Typename of TripleProduct tensor.

Definition at line 60 of file Sacado_PCE_Workspace.hpp.


Constructor & Destructor Documentation

template<typename BasisT>
Sacado::PCE::Workspace< BasisT >::Workspace ( unsigned int  sz  ) 

Constructor.

Definition at line 34 of file Sacado_PCE_WorkspaceImp.hpp.

template<typename BasisT>
Sacado::PCE::Workspace< BasisT >::~Workspace (  )  [inline]

Destructor.

Definition at line 66 of file Sacado_PCE_Workspace.hpp.


Member Function Documentation

template<typename BasisT>
void Sacado::PCE::Workspace< BasisT >::resize ( unsigned int  sz  ) 

Resize workspace.

Definition at line 47 of file Sacado_PCE_WorkspaceImp.hpp.

template<typename BasisT>
unsigned int Sacado::PCE::Workspace< BasisT >::size (  )  const [inline]

Get workspace size.

Definition at line 72 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
matrix_type& Sacado::PCE::Workspace< BasisT >::getMatrix (  )  [inline]

Get matrix.

Definition at line 75 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
matrix_type& Sacado::PCE::Workspace< BasisT >::getRHS (  )  [inline]

Get RHS.

Definition at line 78 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
const tp_type& Sacado::PCE::Workspace< BasisT >::getTripleProduct (  )  const [inline]

Get TripleProduct tensor.

Definition at line 81 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
ordinal_type Sacado::PCE::Workspace< BasisT >::solve ( ordinal_type  s,
ordinal_type  nrhs 
)

Solve linear system.


Member Data Documentation

template<typename BasisT>
unsigned int Sacado::PCE::Workspace< BasisT >::sz [protected]

Workspace size.

Definition at line 89 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
matrix_type Sacado::PCE::Workspace< BasisT >::A [protected]

Matrix.

Definition at line 92 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
matrix_type Sacado::PCE::Workspace< BasisT >::b [protected]

RHS.

Definition at line 95 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
std::vector<ordinal_type> Sacado::PCE::Workspace< BasisT >::piv [protected]

Pivot array.

Definition at line 98 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
tp_type Sacado::PCE::Workspace< BasisT >::Cijk [protected]

Triple-product tensor.

Definition at line 101 of file Sacado_PCE_Workspace.hpp.

template<typename BasisT>
Teuchos::LAPACK<ordinal_type,value_type> Sacado::PCE::Workspace< BasisT >::lapack [protected]

LAPACK wrappers.

Definition at line 104 of file Sacado_PCE_Workspace.hpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:59:12 2010 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.4.7