Panzer Version of the Day
Loading...
Searching...
No Matches
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.
 
virtual void clear ()
 
void initializeMatrix (double value)
 Put a particular scalar in the matrix.
 
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 ()
 
virtual void initialize ()=0
 
- 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 ghostToGlobal (int mem)=0
 
virtual void globalToGhost (int mem)=0
 
virtual bool requiresDirichletAdjustment () const =0
 
virtual void initializeData ()=0
 
virtual void print (std::ostream &os) const
 Diagnostic function for determinning what's in this object.
 
- Public Member Functions inherited from panzer::ThyraObjContainer< double >
virtual ~ThyraObjContainer ()
 
virtual void initializeMatrix (double value)=0
 Put a particular scalar in the matrix.
 
virtual void set_x_th (const Teuchos::RCP< Thyra::VectorBase< double > > &in)=0
 
virtual Teuchos::RCP< Thyra::VectorBase< double > > get_x_th () const=0
 
virtual void set_dxdt_th (const Teuchos::RCP< Thyra::VectorBase< double > > &in)=0
 
virtual Teuchos::RCP< Thyra::VectorBase< double > > get_dxdt_th () const=0
 
virtual void set_f_th (const Teuchos::RCP< Thyra::VectorBase< double > > &in)=0
 
virtual Teuchos::RCP< Thyra::VectorBase< double > > get_f_th () const=0
 
virtual void set_A_th (const Teuchos::RCP< Thyra::LinearOpBase< double > > &in)=0
 
virtual Teuchos::RCP< Thyra::LinearOpBase< double > > get_A_th () const=0
 
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

◆ VectorType

Definition at line 67 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ CrsMatrixType

Definition at line 68 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

Member Function Documentation

◆ checkCompatibility()

bool panzer::BlockedEpetraLinearObjContainer::checkCompatibility ( ) const

Make sure row and column spaces match up.

Definition at line 55 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

◆ clear()

void panzer::BlockedEpetraLinearObjContainer::clear ( )
virtual

Definition at line 154 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

◆ initializeMatrix()

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

Put a particular scalar in the matrix.

Implements panzer::ThyraObjContainer< double >.

Definition at line 126 of file Panzer_BlockedEpetraLinearObjContainer.cpp.

◆ setMapsForBlocks()

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

Definition at line 78 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ getMapForBlock()

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

Definition at line 81 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ set_x()

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

Definition at line 84 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ get_x()

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

Definition at line 85 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ set_dxdt()

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

Definition at line 87 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ get_dxdt()

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

Definition at line 88 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ set_f()

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

Definition at line 90 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ get_f()

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

Definition at line 91 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ set_A()

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

Definition at line 93 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ get_A()

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

Definition at line 94 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ initialize()

void panzer::BlockedEpetraLinearObjContainer::initialize ( )
virtual

◆ set_x_th()

void panzer::BlockedEpetraLinearObjContainer::set_x_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual

◆ get_x_th()

Teuchos::RCP< VectorType > panzer::BlockedEpetraLinearObjContainer::get_x_th ( ) const
inlinevirtual

◆ set_dxdt_th()

void panzer::BlockedEpetraLinearObjContainer::set_dxdt_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual

◆ get_dxdt_th()

Teuchos::RCP< VectorType > panzer::BlockedEpetraLinearObjContainer::get_dxdt_th ( ) const
inlinevirtual

◆ set_f_th()

void panzer::BlockedEpetraLinearObjContainer::set_f_th ( const Teuchos::RCP< VectorType > &  in)
inlinevirtual

◆ get_f_th()

Teuchos::RCP< VectorType > panzer::BlockedEpetraLinearObjContainer::get_f_th ( ) const
inlinevirtual

◆ set_A_th()

void panzer::BlockedEpetraLinearObjContainer::set_A_th ( const Teuchos::RCP< CrsMatrixType > &  in)
inlinevirtual

◆ get_A_th()

Teuchos::RCP< CrsMatrixType > panzer::BlockedEpetraLinearObjContainer::get_A_th ( ) const
inlinevirtual

Member Data Documentation

◆ x

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

Definition at line 114 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ dxdt

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

Definition at line 114 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ f

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

Definition at line 114 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ A

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

Definition at line 115 of file Panzer_BlockedEpetraLinearObjContainer.hpp.

◆ blockMaps_

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: