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

#include <Panzer_GatherSolution_BlockedTpetra.hpp>

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

Public Types

typedef Thyra::VectorBase
< ScalarT > 
VectorType
 
typedef Thyra::LinearOpBase
< ScalarT > 
CrsMatrixType
 
typedef Tpetra::Map
< LocalOrdinalT,
GlobalOrdinalT, NodeT > 
MapType
 
- Public Types inherited from panzer::LinearObjContainer
enum  Members { X =0x1, DxDt =0x2, F =0x4, Mat =0x8 }
 

Public Member Functions

bool checkCompatibility () const
 Make sure row and column spaces match up. More...
 
virtual void clear ()
 
void initializeMatrix (ScalarT value)
 Put a particular scalar in the matrix. More...
 
void setMapsForBlocks (const std::vector< Teuchos::RCP< const MapType > > &blockMaps)
 
Teuchos::RCP< const MapTypegetMapForBlock (std::size_t i) const
 
void set_x (const Teuchos::RCP< VectorType > &in)
 
Teuchos::RCP< VectorTypeget_x () const
 
void set_dxdt (const Teuchos::RCP< VectorType > &in)
 
Teuchos::RCP< VectorTypeget_dxdt () const
 
void set_f (const Teuchos::RCP< VectorType > &in)
 
Teuchos::RCP< VectorTypeget_f () const
 
void set_A (const Teuchos::RCP< CrsMatrixType > &in)
 
Teuchos::RCP< CrsMatrixTypeget_A () const
 
virtual void initialize ()
 
void set_x_th (const Teuchos::RCP< VectorType > &in)
 
Teuchos::RCP< VectorTypeget_x_th () const
 
void set_dxdt_th (const Teuchos::RCP< VectorType > &in)
 
Teuchos::RCP< VectorTypeget_dxdt_th () const
 
void set_f_th (const Teuchos::RCP< VectorType > &in)
 
Teuchos::RCP< VectorTypeget_f_th () const
 
void set_A_th (const Teuchos::RCP< CrsMatrixType > &in)
 
Teuchos::RCP< CrsMatrixTypeget_A_th () const
 
void beginFill ()
 
void endFill ()
 
- 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 Attributes

Teuchos::RCP< VectorTypex
 
Teuchos::RCP< VectorTypedxdt
 
Teuchos::RCP< VectorTypef
 
Teuchos::RCP< CrsMatrixTypeA
 
std::vector< Teuchos::RCP
< const MapType > > 
blockMaps_
 

Detailed Description

template<typename ScalarT, typename LocalOrdinalT, typename GlobalOrdinalT, typename NodeT>
class panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >

Linear object container for Block operators, this always assumes the matrix is square.

Definition at line 62 of file Panzer_GatherSolution_BlockedTpetra.hpp.

Member Typedef Documentation

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
typedef Thyra::VectorBase<ScalarT> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::VectorType

Definition at line 73 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
typedef Thyra::LinearOpBase<ScalarT> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::CrsMatrixType

Definition at line 74 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
typedef Tpetra::Map<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::MapType

Definition at line 76 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

Member Function Documentation

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
bool panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::checkCompatibility ( ) const

Make sure row and column spaces match up.

Definition at line 57 of file Panzer_BlockedTpetraLinearObjContainer_impl.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::clear ( )
virtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::initializeMatrix ( ScalarT  value)
virtual

Put a particular scalar in the matrix.

Implements panzer::ThyraObjContainer< ScalarT >.

Definition at line 140 of file Panzer_BlockedTpetraLinearObjContainer_impl.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::setMapsForBlocks ( const std::vector< Teuchos::RCP< const MapType > > &  blockMaps)
inline

Definition at line 86 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<const MapType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getMapForBlock ( std::size_t  i) const
inline

Definition at line 89 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 92 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 93 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 95 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 96 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 98 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 99 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 101 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

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

Definition at line 102 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::initialize ( )
virtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_x_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<VectorType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_x_th ( ) const
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_dxdt_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<VectorType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_dxdt_th ( ) const
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_f_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<VectorType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_f_th ( ) const
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::set_A_th ( const Teuchos::RCP< CrsMatrixType > &  in)
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<CrsMatrixType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::get_A_th ( ) const
inlinevirtual
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::beginFill ( )
template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
void panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::endFill ( )

Member Data Documentation

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<VectorType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::x
private

Definition at line 125 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<VectorType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::dxdt
private

Definition at line 125 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<VectorType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::f
private

Definition at line 125 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP<CrsMatrixType> panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::A
private

Definition at line 126 of file Panzer_BlockedTpetraLinearObjContainer.hpp.

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
std::vector<Teuchos::RCP<const MapType> > panzer::BlockedTpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::blockMaps_
private

Definition at line 128 of file Panzer_BlockedTpetraLinearObjContainer.hpp.


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