Xpetra: missing access routine getData for Xpetra::Vector
Created by: mayrmt
It might be desired to have a specialized access routine
getData() for the
Xpetra::Vector that does not call the base class routine in
To access the data in a
Xpetra::Vector, one has to call the base class routine with argument
getData(0) to access the data of the very first column in the multivector, although it is clear that the
Xpetra::Vector only has one column.
Motivation and Context
This would emphasize the fact that the
Xpetra::Vector just has one column and make it more convenient to access its data.
Definition of Done
- add documentation
- add test
Xpetra::Vector::getData() could just call
Please let me know if this idea is total nonsense or if there are reasons to not do that.