The Aristos::Vector / Epetra_Vector adapter class. More...
#include <Aristos_EpetraVector.hpp>


Public Member Functions | |
| EpetraVector (const Teuchos::RefCountPtr< Epetra_Vector > &epetra_vec) | |
| Teuchos::RefCountPtr< const Epetra_Vector > | getVector () const |
Overridden from Vector | |
| double | innerProd (const Vector &x) const |
| Returns inner(*this,x). | |
| void | linComb (const double &alpha, const Vector &x, const double &beta) |
y = alpha*x + beta*y where y == *this. | |
| void | Scale (const double &alpha) |
y = alpha*y where y == *this. | |
| void | Set (const double &alpha) |
y = alpha where y == *this. | |
| void | Set (const double &alpha, const Vector &x) |
y = alpha*x where y == *this. | |
| Teuchos::RefCountPtr< Vector > | createVector () const |
The Aristos::Vector / Epetra_Vector adapter class.
Holds a pointer to an Epetra_Vector and implements the member functions of the Aristos::Vector class.
|
virtual |
Clone to make a new (uninitialized) vector.
Implements Aristos::Vector.
| Teuchos::RefCountPtr< const Epetra_Vector > Aristos::EpetraVector::getVector | ( | ) | const |
Returns a reference counted pointer to the private data container.
1.8.6