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)
111 Teuchos::RefCountPtr<Epetra_CrsGraph> OldGraph;
112 Teuchos::RefCountPtr<Epetra_BlockMap> OldRowMap;
Ifpack_OverlapGraph: Constructs a graph for use with Ifpack preconditioners.
int int_params[LAST_INT_PARAM-FIRST_INT_PARAM+1]
Teuchos::RefCountPtr< Epetra_BlockMap > OverlapRowMap_
#define EPETRA_CHK_ERR(a)
Ifpack_OverlapGraph(const Teuchos::RefCountPtr< const Epetra_CrsGraph > &UserMatrixGraph_in, int OverlapLevel_in)
Constructor using Epetra_CrsGraph.
int ConstructOverlapGraph(const Teuchos::RefCountPtr< const Epetra_CrsGraph > &UserMatrixGraph)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RefCountPtr< Epetra_CrsGraph > OverlapGraph_
int SetParameters(const Teuchos::ParameterList ¶meterlist, bool cerr_warning_if_unused=false)
Set parameters using a Teuchos::ParameterList object.
Teuchos::RefCountPtr< Epetra_Import > OverlapImporter_
void set_parameters(const Teuchos::ParameterList ¶meterlist, param_struct ¶ms, bool cerr_warning_if_unused)