Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > Class Template Reference

#include <Panzer_TpetraLinearObjContainer.hpp>

Inheritance diagram for panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >:
Inheritance graph
[legend]

Public Types

typedef LinearObjContainer::Members Members
 
typedef Tpetra::Vector
< ScalarT, LocalOrdinalT,
GlobalOrdinalT, NodeT > 
VectorType
 
typedef Tpetra::CrsMatrix
< ScalarT, LocalOrdinalT,
GlobalOrdinalT, NodeT > 
CrsMatrixType
 
typedef Tpetra::CrsGraph
< LocalOrdinalT,
GlobalOrdinalT, NodeT > 
CrsGraphType
 
typedef Tpetra::Map
< LocalOrdinalT,
GlobalOrdinalT, NodeT > 
MapType
 
typedef Tpetra::Import
< LocalOrdinalT,
GlobalOrdinalT, NodeT > 
ImportType
 
typedef Tpetra::Export
< LocalOrdinalT,
GlobalOrdinalT, NodeT > 
ExportType
 
- Public Types inherited from panzer::LinearObjContainer
enum  Members { X =0x1, DxDt =0x2, F =0x4, Mat =0x8 }
 

Public Member Functions

 TpetraLinearObjContainer (const Teuchos::RCP< const Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > &domain, const Teuchos::RCP< const Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > &range)
 
virtual void initialize ()
 
void clear ()
 Wipe out stored data. More...
 
void set_x (const Teuchos::RCP< VectorType > &in)
 
const Teuchos::RCP< VectorTypeget_x () const
 
void set_dxdt (const Teuchos::RCP< VectorType > &in)
 
const Teuchos::RCP< VectorTypeget_dxdt () const
 
void set_f (const Teuchos::RCP< VectorType > &in)
 
const Teuchos::RCP< VectorTypeget_f () const
 
void set_A (const Teuchos::RCP< CrsMatrixType > &in)
 
const Teuchos::RCP< CrsMatrixTypeget_A () const
 
void initializeMatrix (ScalarT value)
 Put a particular scalar in the matrix. More...
 
virtual void set_x_th (const Teuchos::RCP< Thyra::VectorBase< ScalarT > > &in)
 
virtual Teuchos::RCP
< Thyra::VectorBase< ScalarT > > 
get_x_th () const
 
virtual void set_dxdt_th (const Teuchos::RCP< Thyra::VectorBase< ScalarT > > &in)
 
virtual Teuchos::RCP
< Thyra::VectorBase< ScalarT > > 
get_dxdt_th () const
 
virtual void set_f_th (const Teuchos::RCP< Thyra::VectorBase< ScalarT > > &in)
 
virtual Teuchos::RCP
< Thyra::VectorBase< ScalarT > > 
get_f_th () const
 
virtual void set_A_th (const Teuchos::RCP< Thyra::LinearOpBase< ScalarT > > &in)
 
virtual Teuchos::RCP
< Thyra::LinearOpBase< ScalarT > > 
get_A_th () const
 
- Public Member Functions inherited from panzer::LinearObjContainer
virtual ~LinearObjContainer ()
 
- Public Member Functions inherited from panzer::GlobalEvaluationData_Default
 GlobalEvaluationData_Default ()
 
 GlobalEvaluationData_Default (const GlobalEvaluationData_Default &s)
 
virtual void ghostToGlobal (int)
 
virtual void globalToGhost (int)
 
virtual void initializeData ()
 
void setRequiresDirichletAdjustment (bool b)
 
bool requiresDirichletAdjustment () const
 
- Public Member Functions inherited from panzer::GlobalEvaluationData
virtual ~GlobalEvaluationData ()=0
 
virtual void print (std::ostream &os) const
 Diagnostic function for determinning what's in this object. More...
 
- Public Member Functions inherited from panzer::ThyraObjContainer< ScalarT >
virtual ~ThyraObjContainer ()
 
void clear ()
 

Private Types

typedef
Thyra::TpetraOperatorVectorExtraction
< ScalarT, LocalOrdinalT,
GlobalOrdinalT, NodeT > 
TOE
 

Private Member Functions

 TpetraLinearObjContainer ()
 

Private Attributes

Teuchos::RCP< const
Thyra::VectorSpaceBase
< ScalarT > > 
domainSpace
 
Teuchos::RCP< const
Thyra::VectorSpaceBase
< ScalarT > > 
rangeSpace
 
Teuchos::RCP< Tpetra::Vector
< ScalarT, LocalOrdinalT,
GlobalOrdinalT, NodeT > > 
x
 
Teuchos::RCP< Tpetra::Vector
< ScalarT, LocalOrdinalT,
GlobalOrdinalT, NodeT > > 
dxdt
 
Teuchos::RCP< Tpetra::Vector
< ScalarT, LocalOrdinalT,
GlobalOrdinalT, NodeT > > 
f
 
Teuchos::RCP
< Tpetra::CrsMatrix< ScalarT,
LocalOrdinalT, GlobalOrdinalT,
NodeT > > 
A
 

Detailed Description

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
class panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >

Definition at line 65 of file Panzer_TpetraLinearObjContainer.hpp.

Member Typedef Documentation

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef LinearObjContainer::Members panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::Members

Definition at line 70 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Tpetra::Vector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::VectorType

Definition at line 72 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Tpetra::CrsMatrix<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::CrsMatrixType

Definition at line 73 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Tpetra::CrsGraph<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::CrsGraphType

Definition at line 74 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Tpetra::Map<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::MapType

Definition at line 75 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Tpetra::Import<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::ImportType

Definition at line 76 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Tpetra::Export<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::ExportType

Definition at line 77 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
typedef Thyra::TpetraOperatorVectorExtraction<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::TOE
private

Definition at line 160 of file Panzer_TpetraLinearObjContainer.hpp.

Constructor & Destructor Documentation

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::TpetraLinearObjContainer ( )
private
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::TpetraLinearObjContainer ( const Teuchos::RCP< const Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > &  domain,
const Teuchos::RCP< const Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > &  range 
)
inline

Definition at line 79 of file Panzer_TpetraLinearObjContainer.hpp.

Member Function Documentation

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::initialize ( )
inlinevirtual

Implements panzer::LinearObjContainer.

Definition at line 86 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::clear ( )
inline

Wipe out stored data.

Definition at line 100 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_x ( const Teuchos::RCP< VectorType > &  in)
inline

Definition at line 108 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
const Teuchos::RCP<VectorType> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_x ( ) const
inline

Definition at line 109 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_dxdt ( const Teuchos::RCP< VectorType > &  in)
inline

Definition at line 111 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
const Teuchos::RCP<VectorType> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_dxdt ( ) const
inline

Definition at line 112 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_f ( const Teuchos::RCP< VectorType > &  in)
inline

Definition at line 114 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
const Teuchos::RCP<VectorType> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_f ( ) const
inline

Definition at line 115 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_A ( const Teuchos::RCP< CrsMatrixType > &  in)
inline

Definition at line 117 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
const Teuchos::RCP<CrsMatrixType> panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_A ( ) const
inline

Definition at line 118 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::initializeMatrix ( ScalarT  value)
inlinevirtual

Put a particular scalar in the matrix.

Implements panzer::ThyraObjContainer< ScalarT >.

Definition at line 120 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_x_th ( const Teuchos::RCP< Thyra::VectorBase< ScalarT > > &  in)
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual Teuchos::RCP<Thyra::VectorBase<ScalarT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_x_th ( ) const
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_dxdt_th ( const Teuchos::RCP< Thyra::VectorBase< ScalarT > > &  in)
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual Teuchos::RCP<Thyra::VectorBase<ScalarT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_dxdt_th ( ) const
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_f_th ( const Teuchos::RCP< Thyra::VectorBase< ScalarT > > &  in)
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual Teuchos::RCP<Thyra::VectorBase<ScalarT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_f_th ( ) const
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual void panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_A_th ( const Teuchos::RCP< Thyra::LinearOpBase< ScalarT > > &  in)
inlinevirtual
template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
virtual Teuchos::RCP<Thyra::LinearOpBase<ScalarT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_A_th ( ) const
inlinevirtual

Member Data Documentation

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
Teuchos::RCP<const Thyra::VectorSpaceBase<ScalarT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::domainSpace
private

Definition at line 162 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
Teuchos::RCP<const Thyra::VectorSpaceBase<ScalarT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::rangeSpace
private

Definition at line 163 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
Teuchos::RCP<Tpetra::Vector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::x
private

Definition at line 165 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
Teuchos::RCP<Tpetra::Vector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::dxdt
private

Definition at line 165 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
Teuchos::RCP<Tpetra::Vector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::f
private

Definition at line 165 of file Panzer_TpetraLinearObjContainer.hpp.

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT = panzer::TpetraNodeType>
Teuchos::RCP<Tpetra::CrsMatrix<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> > panzer::TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::A
private

Definition at line 166 of file Panzer_TpetraLinearObjContainer.hpp.


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