EpetraExt Development
Loading...
Searching...
No Matches
EpetraExt::CrsGraph_View Class Reference

Generates a sub-block view of a Epetra_CrsGraph. More...

#include <EpetraExt_View_CrsGraph.h>

Inheritance diagram for EpetraExt::CrsGraph_View:

Public Member Functions

 ~CrsGraph_View ()
 Destructor.
 CrsGraph_View (const Epetra_BlockMap *new_row_map, const Epetra_BlockMap *new_col_map=0)
 Constructor.
NewTypeRef operator() (OriginalTypeRef orig)
 Transformation Operator.
Public Member Functions inherited from EpetraExt::ViewTransform< Epetra_CrsGraph >
bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.
virtual ~ViewTransform ()
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_CrsGraph >
virtual ~SameTypeTransform ()
virtual ~Transform ()
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform.
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform.
virtual bool isConstructed ()
 Check for whether transformed object has been constructed.
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object.

Additional Inherited Members

Public Types inherited from EpetraExt::SameTypeTransform< Epetra_CrsGraph >
typedef Epetra_CrsGraph TransformType
typedef Epetra_CrsGraphTransformTypePtr
typedef Epetra_CrsGraphTransformTypeRef
typedef Epetra_CrsGraph OriginalType
typedef Epetra_CrsGraphOriginalTypePtr
typedef Teuchos::RCP< Epetra_CrsGraphOriginalTypeRCP
typedef Epetra_CrsGraphOriginalTypeRef
typedef Epetra_CrsGraph NewType
typedef Epetra_CrsGraphNewTypePtr
typedef Teuchos::RCP< Epetra_CrsGraphNewTypeRCP
typedef Epetra_CrsGraphNewTypeRef
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

Generates a sub-block view of a Epetra_CrsGraph.

Definition at line 59 of file EpetraExt_View_CrsGraph.h.

Constructor & Destructor Documentation

◆ ~CrsGraph_View()

EpetraExt::CrsGraph_View::~CrsGraph_View ( )

Destructor.

Definition at line 51 of file EpetraExt_View_CrsGraph.cpp.

◆ CrsGraph_View()

EpetraExt::CrsGraph_View::CrsGraph_View ( const Epetra_BlockMap * new_row_map,
const Epetra_BlockMap * new_col_map = 0 )
inline

Constructor.

Definition at line 70 of file EpetraExt_View_CrsGraph.h.

Member Function Documentation

◆ operator()()

CrsGraph_View::NewTypeRef EpetraExt::CrsGraph_View::operator() ( OriginalTypeRef orig)

Transformation Operator.

Definition at line 58 of file EpetraExt_View_CrsGraph.cpp.


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