44 #include "Epetra_CrsGraph.h"
45 #include "Epetra_RowMatrix.h"
46 #include "Epetra_BlockMap.h"
47 #include "Epetra_Map.h"
49 #include <Teuchos_ParameterList.hpp>
54 : UserMatrixGraph_(UserMatrixGraph_in),
55 OverlapLevel_(OverlapLevel_in)
58 IsOverlapped_ = (OverlapLevel_in>0 && UserMatrixGraph_in->DomainMap().DistributedGlobal());
65 : UserMatrix_(UserMatrix_in),
66 OverlapLevel_(OverlapLevel_in)
69 IsOverlapped_ = (OverlapLevel_in>0 && UserMatrix_in->OperatorDomainMap().DistributedGlobal());
71 throw ReportError(
"This constructor is not implemented yet. Need to add Epetra_SrcObject support to Epetra_Import/Export", -1);
75 : OverlapGraph_(Source.OverlapGraph_),
76 UserMatrixGraph_(Source.UserMatrixGraph_),
77 UserMatrix_(Source.UserMatrix_),
78 OverlapRowMap_(Source.OverlapRowMap_),
79 OverlapLevel_(Source.OverlapLevel_),
80 IsOverlapped_(Source.IsOverlapped_)
91 bool cerr_warning_if_unused)
106 OverlapGraph_ = Teuchos::rcp_const_cast<Epetra_CrsGraph>( UserMatrixGraph );
111 Teuchos::RefCountPtr<Epetra_CrsGraph> OldGraph;
112 Teuchos::RefCountPtr<Epetra_BlockMap> OldRowMap;