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 32 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Member Typedef Documentation

Definition at line 35 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Definition at line 36 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Member Function Documentation

bool panzer::BlockedEpetraLinearObjContainer::checkCompatibility ( ) const

Make sure row and column spaces match up.

Definition at line 24 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

void panzer::BlockedEpetraLinearObjContainer::clear ( )
virtual

Definition at line 123 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 95 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

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

Definition at line 46 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 49 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 52 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 53 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 55 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 56 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 58 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 59 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 61 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 62 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 82 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 82 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 82 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 83 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

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

Definition at line 85 of file Panzer_BlockedEpetraLinearObjContainer.hpp.


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