Epetra_OskiMultiVector Class Reference

Epetra_OskiMultiVector: A class for constructing and using dense Oski multi-vectors on a single processor or a single core of a multi-processor. More...

#include <Epetra_OskiMultiVector.h>

Inheritance diagram for Epetra_OskiMultiVector:

Inheritance graph
[legend]
List of all members.

Constructors/Destructor

 Epetra_OskiMultiVector (const Epetra_OskiMultiVector &Source)
 Copy constructor.
 Epetra_OskiMultiVector (const Epetra_MultiVector &Source)
 Constructor creates and Epetra_OskiMultiVector from an Epetra_MultiVector.
virtual ~Epetra_OskiMultiVector ()
 Destructor.

Extraction Methods

bool Copy_Created () const
 Returns true if a deep copy of the multi-vector was created by the constructor.
oski_vecview_t Oski_View () const
 Returns the Oski portion of the Multi-Vector.
const Epetra_MultiVectorEpetra_View () const
 Returns the Epetra portion of the Multi-Vector.

Operators

Epetra_OskiMultiVectoroperator= (const Epetra_OskiMultiVector &Source)
 Sets this equal to Source.

Private Attributes

const Epetra_MultiVectorEpetra_View_
oski_vecview_t Oski_View_
bool Copy_Created_

Detailed Description

Epetra_OskiMultiVector: A class for constructing and using dense Oski multi-vectors on a single processor or a single core of a multi-processor.

The Epetra_OskiMultiVector class enables the construction and use of real-valued, double-precision dense vectors and multi-vectors, in a serial environment. The dimensions of the dense multi-vectors comes from the inherited Epetra_MultiVector object. All values and data layouts are kept the same and the multi-vector is wrapped for use with OSKI.

Definition at line 54 of file Epetra_OskiMultiVector.h.


Constructor & Destructor Documentation

Epetra_OskiMultiVector::Epetra_OskiMultiVector ( const Epetra_OskiMultiVector Source  ) 

Copy constructor.

Epetra_OskiMultiVector::Epetra_OskiMultiVector ( const Epetra_MultiVector Source  ) 

Constructor creates and Epetra_OskiMultiVector from an Epetra_MultiVector.

Parameters:
Source (In) An Epetra_MultiVector that is wrapped as an Epetra_OskiMultiVector.
Returns:
Pointer to an Epetra_OskiMultiVector.
Note:
If the Epetra_MultiVector is not stored contigously according to the BLAS standard then a deep copy is made.

virtual Epetra_OskiMultiVector::~Epetra_OskiMultiVector (  )  [virtual]

Destructor.


Member Function Documentation

bool Epetra_OskiMultiVector::Copy_Created (  )  const

Returns true if a deep copy of the multi-vector was created by the constructor.

oski_vecview_t Epetra_OskiMultiVector::Oski_View (  )  const

Returns the Oski portion of the Multi-Vector.

const Epetra_MultiVector* Epetra_OskiMultiVector::Epetra_View (  )  const

Returns the Epetra portion of the Multi-Vector.

Reimplemented in Epetra_OskiVector.

Epetra_OskiMultiVector& Epetra_OskiMultiVector::operator= ( const Epetra_OskiMultiVector Source  ) 

Sets this equal to Source.


Member Data Documentation

const Epetra_MultiVector* Epetra_OskiMultiVector::Epetra_View_ [private]

Reimplemented in Epetra_OskiVector.

Definition at line 96 of file Epetra_OskiMultiVector.h.

oski_vecview_t Epetra_OskiMultiVector::Oski_View_ [private]

Definition at line 97 of file Epetra_OskiMultiVector.h.

bool Epetra_OskiMultiVector::Copy_Created_ [private]

Definition at line 98 of file Epetra_OskiMultiVector.h.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:41:09 2010 for Epetra Package Browser (Single Doxygen Collection) by  doxygen 1.4.7