Aristos  Development
 All Classes Functions Pages
Public Member Functions | List of all members
Aristos::SledgeVector Class Reference

The Aristos::Vector / USEME::umDVec (Sledge) adapter class. More...

#include <Aristos_SledgeVector.hpp>

Inheritance diagram for Aristos::SledgeVector:
Inheritance graph
[legend]
Collaboration diagram for Aristos::SledgeVector:
Collaboration graph
[legend]

Public Member Functions

 SledgeVector (const Teuchos::RefCountPtr< USEME::umDVec > &sledge_vec)
 
Teuchos::RefCountPtr< const
USEME::umDVec > 
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< VectorcreateVector () const
 

Detailed Description

The Aristos::Vector / USEME::umDVec (Sledge) adapter class.

Holds a pointer to an USEME::umDVec and implements the member functions of the Aristos::Vector class.

Member Function Documentation

Teuchos::RefCountPtr< Vector > Aristos::SledgeVector::createVector ( ) const
virtual

Clone to make a new (uninitialized) vector.

Implements Aristos::Vector.

Teuchos::RefCountPtr< const USEME::umDVec > Aristos::SledgeVector::getVector ( ) const

Returns a reference counted pointer to the private data container.


The documentation for this class was generated from the following files: