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::BlockedEpetraLinearObjContainer Class Reference

#include <Panzer_BlockedEpetraLinearObjContainer.hpp>

Inheritance diagram for panzer::BlockedEpetraLinearObjContainer:
Inheritance graph
[legend]

Public Types

typedef Thyra::VectorBase< double > VectorType
 
typedef Thyra::LinearOpBase
< double > 
CrsMatrixType
 
- 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 (double value)
 Put a particular scalar in the matrix. More...
 
void setMapsForBlocks (const std::vector< Teuchos::RCP< const Epetra_Map > > &blockMaps)
 
Teuchos::RCP< const Epetra_MapgetMapForBlock (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
 
- 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< double >
virtual ~ThyraObjContainer ()
 
void clear ()
 

Private Attributes

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

Detailed Description

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

Definition at line 64 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Member Typedef Documentation

Definition at line 67 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Definition at line 68 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Member Function Documentation

bool panzer::BlockedEpetraLinearObjContainer::checkCompatibility ( ) const

Make sure row and column spaces match up.

Definition at line 56 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

void panzer::BlockedEpetraLinearObjContainer::clear ( )
virtual

Definition at line 155 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

void panzer::BlockedEpetraLinearObjContainer::initializeMatrix ( double  value)
virtual

Put a particular scalar in the matrix.

Implements panzer::ThyraObjContainer< double >.

Definition at line 127 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

void panzer::BlockedEpetraLinearObjContainer::setMapsForBlocks ( const std::vector< Teuchos::RCP< const Epetra_Map > > &  blockMaps)
inline

Definition at line 78 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<const Epetra_Map> panzer::BlockedEpetraLinearObjContainer::getMapForBlock ( std::size_t  i) const
inline

Definition at line 81 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

void panzer::BlockedEpetraLinearObjContainer::set_x ( const Teuchos::RCP< VectorType > &  in)
inline

Definition at line 84 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::get_x ( ) const
inline

Definition at line 85 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

void panzer::BlockedEpetraLinearObjContainer::set_dxdt ( const Teuchos::RCP< VectorType > &  in)
inline

Definition at line 87 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::get_dxdt ( ) const
inline

Definition at line 88 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

void panzer::BlockedEpetraLinearObjContainer::set_f ( const Teuchos::RCP< VectorType > &  in)
inline

Definition at line 90 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::get_f ( ) const
inline

Definition at line 91 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

void panzer::BlockedEpetraLinearObjContainer::set_A ( const Teuchos::RCP< CrsMatrixType > &  in)
inline

Definition at line 93 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<CrsMatrixType> panzer::BlockedEpetraLinearObjContainer::get_A ( ) const
inline

Definition at line 94 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

void panzer::BlockedEpetraLinearObjContainer::initialize ( )
virtual
void panzer::BlockedEpetraLinearObjContainer::set_x_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual
Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::get_x_th ( ) const
inlinevirtual
void panzer::BlockedEpetraLinearObjContainer::set_dxdt_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual
Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::get_dxdt_th ( ) const
inlinevirtual
void panzer::BlockedEpetraLinearObjContainer::set_f_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual
Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::get_f_th ( ) const
inlinevirtual
void panzer::BlockedEpetraLinearObjContainer::set_A_th ( const Teuchos::RCP< CrsMatrixType > &  in)
inlinevirtual
Teuchos::RCP<CrsMatrixType> panzer::BlockedEpetraLinearObjContainer::get_A_th ( ) const
inlinevirtual

Member Data Documentation

Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::x
private

Definition at line 114 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::dxdt
private

Definition at line 114 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<VectorType> panzer::BlockedEpetraLinearObjContainer::f
private

Definition at line 114 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Teuchos::RCP<CrsMatrixType> panzer::BlockedEpetraLinearObjContainer::A
private

Definition at line 115 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

std::vector<Teuchos::RCP<const Epetra_Map> > panzer::BlockedEpetraLinearObjContainer::blockMaps_
private

Definition at line 117 of file Panzer_BlockedEpetraLinearObjContainer.hpp.


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