42 #ifndef EPETRAEXT_RESTRICTEDMULTIVECTORWRAPPER_H
43 #define EPETRAEXT_RESTRICTEDMULTIVECTORWRAPPER_H
45 #if defined(EpetraExt_SHOW_DEPRECATED_WARNINGS)
47 #warning "The EpetraExt package is deprecated"
51 #include <Teuchos_RCP.hpp>
61 class RestrictedMultiVectorWrapper{
64 RestrictedMultiVectorWrapper();
66 ~RestrictedMultiVectorWrapper();
79 int SetMPISubComm(MPI_Comm MPI_SubComm);
82 MPI_Comm GetMPISubComm(){
return MPI_SubComm_;}
88 bool RestrictedProcIsActive(){
return proc_is_active;}
91 Teuchos::RCP<Epetra_MultiVector> InputMultiVector(){
return input_mv_;}
94 Teuchos::RCP<Epetra_MultiVector> RestrictedMultiVector(){
return restricted_mv_;}
111 int restrict_comm(Teuchos::RCP<Epetra_MultiVector> input_mv);
119 MPI_Comm MPI_SubComm_;
123 Teuchos::RCP<Epetra_MultiVector> input_mv_;
124 Teuchos::RCP<Epetra_MultiVector> restricted_mv_;