44 #include <Epetra_Export.h> 
   45 #include <Epetra_Import.h> 
   46 #include <Epetra_LinearProblem.h> 
   47 #include <Epetra_CrsGraph.h> 
   48 #include <Epetra_CrsMatrix.h> 
   49 #include <Epetra_MultiVector.h> 
   50 #include <Epetra_Vector.h> 
   51 #include <Epetra_IntVector.h> 
   52 #include <Epetra_Map.h> 
   53 #include <Epetra_Comm.h> 
   60   if( MatExporter_ ) 
delete MatExporter_;
 
   61   if( VecExporter_ ) 
delete VecExporter_;
 
   62   if( Importer_ ) 
delete Importer_;
 
   64   if( NewProblem_ ) 
delete NewProblem_;
 
   65   if( NewRHS_ ) 
delete NewRHS_;
 
   66   if( NewLHS_ ) 
delete NewLHS_;
 
   67   if( NewMatrix_ ) 
delete NewMatrix_;
 
   77   OldRHS_ = orig.GetRHS();
 
   78   OldLHS_ = orig.GetLHS();
 
   84   if( !OldMatrix_ ) ierr = -2;
 
   85   if( !OldRHS_ )    ierr = -3;
 
   86   if( !OldLHS_ )    ierr = -4;
 
  109   NewLHS_->Export( *OldLHS_, *VecExporter_, 
Insert );
 
  110   NewRHS_->Export( *OldRHS_, *VecExporter_, 
Insert );
 
  111   NewMatrix_->Export( *OldMatrix_, *MatExporter_, 
Insert );
 
  120   OldLHS_->Import( *NewLHS_, *Importer_, 
Insert );
 
NewTypeRef operator()(OriginalTypeRef orig)
Constructs an Epetra_LinearProblem from the original using the same row transformation given by the E...
bool fwd()
Forward migration of data from original to transformed object. 
const Epetra_Map & RowMap() const 
const Epetra_BlockMap & RowMap() const 
const Epetra_CrsGraph & Graph() const 
bool rvs()
Reverse migration of data from transformed to original object. 
~LinearProblem_GraphTrans()
EpetraExt::LinearProblem_GraphTrans Destructor.