46 #include <Epetra_Map.h>
47 #include <Epetra_MultiVector.h>
64 assert( orig.Map().NumMyElements() == NewRowMap_.
NumMyElements() );
66 std::vector<double*> MyValues(1);
68 int NumVectors = orig.NumVectors();
69 orig.ExtractView( &MyValues[0], &MyLDA );
82 assert( orig.Map().NumMyElements() == NewRowMap_.
NumMyElements() );
84 std::vector<double*> MyValues(1);
86 int NumVectors = orig.NumVectors();
87 orig.ExtractView( &MyValues[0], &MyLDA );
~MultiVector_Reindex()
Destructor.
NewTypeRCP transform(OriginalTypeRef orig)
int NumMyElements() const
NewTypeRef operator()(OriginalTypeRef orig)
Constructs a "reindexed" view of the original using the given NewRowMap.