Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::EpetraIntVectorT< int, EpetraNode > Class Template Reference

#include <Xpetra_EpetraIntVector.hpp>

Inheritance diagram for Xpetra::EpetraIntVectorT< int, EpetraNode >:
Xpetra::Vector< int, int, int, EpetraNode > Xpetra::MultiVector< int, int, int, EpetraNode > Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >

Public Member Functions

RCP< Epetra_IntVector > getEpetra_IntVector () const
 
const RCP< const Comm< int > > getComm () const
 
Teuchos::RCP< const Map< int,
GlobalOrdinal, Node > > 
getMap () const
 The Map describing the parallel distribution of this object. More...
 
void doImport (const DistObject< int, int, GlobalOrdinal, Node > &source, const Import< int, GlobalOrdinal, Node > &importer, CombineMode CM)
 
void doExport (const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import< int, GlobalOrdinal, Node > &importer, CombineMode CM)
 
void doImport (const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< int, GlobalOrdinal, Node > &exporter, CombineMode CM)
 
void doExport (const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export< int, GlobalOrdinal, Node > &exporter, CombineMode CM)
 
void replaceMap (const RCP< const Map< int, GlobalOrdinal, Node > > &)
 
- Public Member Functions inherited from Xpetra::Vector< int, int, int, EpetraNode >
virtual ~Vector ()
 Destructor. More...
 
- Public Member Functions inherited from Xpetra::MultiVector< int, int, int, EpetraNode >
virtual ~MultiVector ()
 Destructor. More...
 
MultiVector< int, int, int,
EpetraNode > & 
operator= (const MultiVector< int, int, int, EpetraNode > &rhs)
 Assignment operator: Does a deep copy. More...
 
virtual void norm1 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< int >::magnitudeType > &norms) const =0
 Compute 1-norm of each vector in multi-vector. More...
 
virtual void norm2 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< int >::magnitudeType > &norms) const =0
 
virtual void normInf (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< int >::magnitudeType > &norms) const =0
 Compute Inf-norm of each vector in multi-vector. More...
 
virtual void replaceMap (const RCP< const Map< int, int, EpetraNode >> &map)=0
 
virtual void Xpetra_randomize ()
 Set multi-vector values to random numbers. XPetra implementation. More...
 
- Public Member Functions inherited from Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >
virtual ~DistObject ()
 Destructor. More...
 
virtual void doImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0
 Import data into this object using an Import object ("forward mode"). More...
 
virtual void doExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0
 Export data into this object using an Export object ("forward mode"). More...
 
virtual void doImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0
 Import data into this object using an Export object ("reverse mode"). More...
 
virtual void doExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0
 Export data into this object using an Import object ("reverse mode"). More...
 

Protected Member Functions

virtual void assign (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &rhs)
 Implementation of the assignment operator (operator=); does a deep copy. More...
 

Private Types

typedef int Scalar
 
typedef int LocalOrdinal
 
typedef int GlobalOrdinal
 
typedef EpetraNode Node
 

Private Attributes

RCP< Epetra_IntVector > vec_
 The Epetra_IntVector which this class wraps. More...
 

Constructor/Destructor Methods

 EpetraIntVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, bool zeroOut=true)
 Sets all vector entries to zero. More...
 
 ~EpetraIntVectorT ()
 Destructor. More...
 

Mathematical methods

int dot (const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &) const
 TODO missing comment. More...
 
Teuchos::ScalarTraits< int >
::magnitudeType 
norm1 () const
 Return 1-norm of this Vector. More...
 
Teuchos::ScalarTraits< int >
::magnitudeType 
norm2 () const
 Compute 2-norm of this Vector. More...
 
Teuchos::ScalarTraits< int >
::magnitudeType 
normInf () const
 Compute Inf-norm of this Vector. More...
 
int meanValue () const
 Compute mean (average) value of this Vector. More...
 
int maxValue () const
 Compute max value of this Vector. More...
 
void dot (const MultiVector< int, int, GlobalOrdinal, Node > &, const Teuchos::ArrayView< int > &) const
 Computes dot product of each corresponding pair of vectors, dots[i] = this[i].dot(A[i]) More...
 
void abs (const MultiVector< int, int, GlobalOrdinal, Node > &)
 Puts element-wise absolute values of input Multi-vector in target: A = abs(this) More...
 
void reciprocal (const MultiVector< int, int, GlobalOrdinal, Node > &)
 Puts element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j). More...
 
void scale (const int &)
 Scale the current values of a multi-vector, this = alpha*this. More...
 
void scale (Teuchos::ArrayView< const int >)
 Scale the current values of a multi-vector, this[j] = alpha[j]*this[j]. More...
 
void update (const int &, const MultiVector< int, int, GlobalOrdinal, Node > &, const int &)
 Update multi-vector values with scaled values of A, this = beta*this + alpha*A. More...
 
void update (const int &, const MultiVector< int, int, GlobalOrdinal, Node > &, const int &, const MultiVector< int, int, GlobalOrdinal, Node > &, const int &)
 Update multi-vector with scaled values of A and B, this = gamma*this + alpha*A + beta*B. More...
 
void norm1 (const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &) const
 Compute 1-norm of each vector in multi-vector. More...
 
void norm2 (const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &) const
 Compute 2-norm of each vector in multi-vector. More...
 
void normInf (const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &) const
 Compute Inf-norm of each vector in multi-vector. More...
 
void meanValue (const Teuchos::ArrayView< int > &) const
 Compute mean (average) value of each vector in multi-vector. More...
 
void maxValue (const Teuchos::ArrayView< int > &) const
 Compute max value of each vector in multi-vector. More...
 
void multiply (Teuchos::ETransp, Teuchos::ETransp, const int &, const MultiVector< int, int, GlobalOrdinal, Node > &, const MultiVector< int, int, GlobalOrdinal, Node > &, const int &)
 Matrix-Matrix multiplication, this = beta*this + alpha*op(A)*op(B). More...
 
void elementWiseMultiply (int, const Vector< int, int, GlobalOrdinal, Node > &, const MultiVector< int, int, GlobalOrdinal, Node > &, int)
 Element-wise multiply of a Vector A with a EpetraMultiVector B. More...
 

Post-construction modification routines

void replaceGlobalValue (GlobalOrdinal, const Scalar &)
 Replace current value at the specified location with specified value. More...
 
void sumIntoGlobalValue (GlobalOrdinal, const Scalar &)
 Adds specified value to existing value at the specified location. More...
 
void replaceLocalValue (LocalOrdinal myRow, const Scalar &value)
 Replace current value at the specified location with specified values. More...
 
void sumIntoLocalValue (LocalOrdinal myRow, const Scalar &value)
 Adds specified value to existing value at the specified location. More...
 
void putScalar (const int &value)
 Initialize all values in a multi-vector with specified value. More...
 
void randomize (bool=true)
 Set multi-vector values to random numbers. More...
 
void setSeed (unsigned int)
 Set seed for Random function. More...
 
void replaceGlobalValue (GlobalOrdinal, size_t, const Scalar &)
 Replace value, using global (row) index. More...
 
void sumIntoGlobalValue (GlobalOrdinal, size_t, const Scalar &)
 Add value to existing value, using global (row) index. More...
 
void replaceLocalValue (LocalOrdinal, size_t, const Scalar &)
 Replace value, using local (row) index. More...
 
void sumIntoLocalValue (LocalOrdinal, size_t, const Scalar &)
 Add value to existing value, using local (row) index. More...
 

Data Copy and View get methods

Teuchos::RCP< const Vector
< Scalar, LocalOrdinal,
GlobalOrdinal, Node > > 
getVector (size_t) const
 Return a Vector which is a const view of column j. More...
 
Teuchos::RCP< Vector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getVectorNonConst (size_t)
 Return a Vector which is a nonconst view of column j. More...
 
Teuchos::ArrayRCP< const int > getData (size_t) const
 
Teuchos::ArrayRCP< int > getDataNonConst (size_t)
 

Attribute access functions

size_t getNumVectors () const
 Returns the number of vectors in the multi-vector. More...
 
size_t getLocalLength () const
 Returns the local vector length on the calling processor of vectors in the multi-vector. More...
 
global_size_t getGlobalLength () const
 Returns the global vector length of vectors in the multi-vector. More...
 
bool isSameSize (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &vec) const
 Checks to see if the local length, number of vectors and size of Scalar type match. More...
 

Overridden from Teuchos::Describable

std::string description () const
 Return a simple one-line description of this object. More...
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
 Print the object with some verbosity level to an FancyOStream object. More...
 

Additional Inherited Members

- Public Types inherited from Xpetra::Vector< int, int, int, EpetraNode >
using scalar_type = int
 
using local_ordinal_type = int
 
using global_ordinal_type = int
 
using node_type = EpetraNode
 
- Public Types inherited from Xpetra::MultiVector< int, int, int, EpetraNode >
typedef int scalar_type
 
typedef int local_ordinal_type
 
typedef int global_ordinal_type
 
typedef EpetraNode node_type
 

Detailed Description

template<>
class Xpetra::EpetraIntVectorT< int, EpetraNode >

Definition at line 371 of file Xpetra_EpetraIntVector.hpp.

Member Typedef Documentation

typedef int Xpetra::EpetraIntVectorT< int, EpetraNode >::Scalar
private

Definition at line 374 of file Xpetra_EpetraIntVector.hpp.

typedef int Xpetra::EpetraIntVectorT< int, EpetraNode >::LocalOrdinal
private

Definition at line 375 of file Xpetra_EpetraIntVector.hpp.

typedef int Xpetra::EpetraIntVectorT< int, EpetraNode >::GlobalOrdinal
private

Definition at line 376 of file Xpetra_EpetraIntVector.hpp.

Definition at line 377 of file Xpetra_EpetraIntVector.hpp.

Constructor & Destructor Documentation

Xpetra::EpetraIntVectorT< int, EpetraNode >::EpetraIntVectorT ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  map,
bool  zeroOut = true 
)
inlineexplicit

Sets all vector entries to zero.

Definition at line 385 of file Xpetra_EpetraIntVector.hpp.

Destructor.

Definition at line 391 of file Xpetra_EpetraIntVector.hpp.

Member Function Documentation

int Xpetra::EpetraIntVectorT< int, EpetraNode >::dot ( const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  ) const
inlinevirtual

TODO missing comment.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 399 of file Xpetra_EpetraIntVector.hpp.

Teuchos::ScalarTraits<int>::magnitudeType Xpetra::EpetraIntVectorT< int, EpetraNode >::norm1 ( ) const
inlinevirtual

Return 1-norm of this Vector.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 403 of file Xpetra_EpetraIntVector.hpp.

Teuchos::ScalarTraits<int>::magnitudeType Xpetra::EpetraIntVectorT< int, EpetraNode >::norm2 ( ) const
inlinevirtual

Compute 2-norm of this Vector.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 407 of file Xpetra_EpetraIntVector.hpp.

Teuchos::ScalarTraits<int>::magnitudeType Xpetra::EpetraIntVectorT< int, EpetraNode >::normInf ( ) const
inlinevirtual

Compute Inf-norm of this Vector.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 410 of file Xpetra_EpetraIntVector.hpp.

int Xpetra::EpetraIntVectorT< int, EpetraNode >::meanValue ( ) const
inlinevirtual

Compute mean (average) value of this Vector.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 413 of file Xpetra_EpetraIntVector.hpp.

int Xpetra::EpetraIntVectorT< int, EpetraNode >::maxValue ( ) const
inline

Compute max value of this Vector.

Definition at line 416 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::replaceGlobalValue ( GlobalOrdinal  ,
const Scalar  
)
inlinevirtual

Replace current value at the specified location with specified value.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 425 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::sumIntoGlobalValue ( GlobalOrdinal  ,
const Scalar  
)
inlinevirtual

Adds specified value to existing value at the specified location.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 428 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::replaceLocalValue ( LocalOrdinal  myRow,
const Scalar value 
)
inlinevirtual

Replace current value at the specified location with specified values.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 431 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::sumIntoLocalValue ( LocalOrdinal  myRow,
const Scalar value 
)
inlinevirtual

Adds specified value to existing value at the specified location.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 434 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::putScalar ( const int &  value)
inlinevirtual

Initialize all values in a multi-vector with specified value.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 437 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::randomize ( bool  = true)
inlinevirtual

Set multi-vector values to random numbers.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 440 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::setSeed ( unsigned int  )
inlinevirtual

Set seed for Random function.

Note: this method does not exist in Tpetra interface. Added for MueLu.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 445 of file Xpetra_EpetraIntVector.hpp.

Teuchos::RCP< const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraIntVectorT< int, EpetraNode >::getVector ( size_t  ) const
inlinevirtual

Return a Vector which is a const view of column j.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 454 of file Xpetra_EpetraIntVector.hpp.

Teuchos::RCP< Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraIntVectorT< int, EpetraNode >::getVectorNonConst ( size_t  )
inlinevirtual

Return a Vector which is a nonconst view of column j.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 459 of file Xpetra_EpetraIntVector.hpp.

Teuchos::ArrayRCP<const int> Xpetra::EpetraIntVectorT< int, EpetraNode >::getData ( size_t  ) const
inlinevirtual

Const Local vector access function. View of the local values in a particular vector of this multi-vector.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 465 of file Xpetra_EpetraIntVector.hpp.

Teuchos::ArrayRCP<int> Xpetra::EpetraIntVectorT< int, EpetraNode >::getDataNonConst ( size_t  )
inlinevirtual

Local vector access function. View of the local values in a particular vector of this multi-vector.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 476 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::dot ( const MultiVector< int, int, GlobalOrdinal, Node > &  ,
const Teuchos::ArrayView< int > &   
) const
inlinevirtual

Computes dot product of each corresponding pair of vectors, dots[i] = this[i].dot(A[i])

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 490 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::abs ( const MultiVector< int, int, GlobalOrdinal, Node > &  )
inlinevirtual

Puts element-wise absolute values of input Multi-vector in target: A = abs(this)

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 498 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::reciprocal ( const MultiVector< int, int, GlobalOrdinal, Node > &  )
inlinevirtual

Puts element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j).

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 506 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::scale ( const int &  )
inlinevirtual

Scale the current values of a multi-vector, this = alpha*this.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 514 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::scale ( Teuchos::ArrayView< const int >  )
inlinevirtual

Scale the current values of a multi-vector, this[j] = alpha[j]*this[j].

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 520 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::update ( const int &  ,
const MultiVector< int, int, GlobalOrdinal, Node > &  ,
const int &   
)
inlinevirtual

Update multi-vector values with scaled values of A, this = beta*this + alpha*A.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 526 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::update ( const int &  ,
const MultiVector< int, int, GlobalOrdinal, Node > &  ,
const int &  ,
const MultiVector< int, int, GlobalOrdinal, Node > &  ,
const int &   
)
inlinevirtual

Update multi-vector with scaled values of A and B, this = gamma*this + alpha*A + beta*B.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 534 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::norm1 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  ) const
inline

Compute 1-norm of each vector in multi-vector.

Definition at line 543 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::norm2 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  ) const
inline

Compute 2-norm of each vector in multi-vector.

Definition at line 546 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::normInf ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  ) const
inline

Compute Inf-norm of each vector in multi-vector.

Definition at line 549 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::meanValue ( const Teuchos::ArrayView< int > &  ) const
inlinevirtual

Compute mean (average) value of each vector in multi-vector.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 552 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::maxValue ( const Teuchos::ArrayView< int > &  ) const
inline

Compute max value of each vector in multi-vector.

Definition at line 555 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::multiply ( Teuchos::ETransp  ,
Teuchos::ETransp  ,
const int &  ,
const MultiVector< int, int, GlobalOrdinal, Node > &  ,
const MultiVector< int, int, GlobalOrdinal, Node > &  ,
const int &   
)
inlinevirtual

Matrix-Matrix multiplication, this = beta*this + alpha*op(A)*op(B).

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 558 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::elementWiseMultiply ( int  ,
const Vector< int, int, GlobalOrdinal, Node > &  ,
const MultiVector< int, int, GlobalOrdinal, Node > &  ,
int   
)
inlinevirtual

Element-wise multiply of a Vector A with a EpetraMultiVector B.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 561 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::replaceGlobalValue ( GlobalOrdinal  ,
size_t  ,
const Scalar  
)
inlinevirtual

Replace value, using global (row) index.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 572 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::sumIntoGlobalValue ( GlobalOrdinal  ,
size_t  ,
const Scalar  
)
inlinevirtual

Add value to existing value, using global (row) index.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 575 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::replaceLocalValue ( LocalOrdinal  ,
size_t  ,
const Scalar  
)
inlinevirtual

Replace value, using local (row) index.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 578 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::sumIntoLocalValue ( LocalOrdinal  ,
size_t  ,
const Scalar  
)
inlinevirtual

Add value to existing value, using local (row) index.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 581 of file Xpetra_EpetraIntVector.hpp.

size_t Xpetra::EpetraIntVectorT< int, EpetraNode >::getNumVectors ( ) const
inlinevirtual

Returns the number of vectors in the multi-vector.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 589 of file Xpetra_EpetraIntVector.hpp.

size_t Xpetra::EpetraIntVectorT< int, EpetraNode >::getLocalLength ( ) const
inlinevirtual

Returns the local vector length on the calling processor of vectors in the multi-vector.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 593 of file Xpetra_EpetraIntVector.hpp.

global_size_t Xpetra::EpetraIntVectorT< int, EpetraNode >::getGlobalLength ( ) const
inlinevirtual

Returns the global vector length of vectors in the multi-vector.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 596 of file Xpetra_EpetraIntVector.hpp.

bool Xpetra::EpetraIntVectorT< int, EpetraNode >::isSameSize ( const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  vec) const
inlinevirtual

Checks to see if the local length, number of vectors and size of Scalar type match.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 599 of file Xpetra_EpetraIntVector.hpp.

std::string Xpetra::EpetraIntVectorT< int, EpetraNode >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 613 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::describe ( Teuchos::FancyOStream &  out,
const Teuchos::EVerbosityLevel  verbLevel = Teuchos::Describable::verbLevel_default 
) const
inlinevirtual

Print the object with some verbosity level to an FancyOStream object.

Implements Xpetra::Vector< int, int, int, EpetraNode >.

Definition at line 625 of file Xpetra_EpetraIntVector.hpp.

RCP< Epetra_IntVector > Xpetra::EpetraIntVectorT< int, EpetraNode >::getEpetra_IntVector ( ) const
inline

Definition at line 644 of file Xpetra_EpetraIntVector.hpp.

const RCP<const Comm<int> > Xpetra::EpetraIntVectorT< int, EpetraNode >::getComm ( ) const
inline

Definition at line 646 of file Xpetra_EpetraIntVector.hpp.

Teuchos::RCP<const Map<int, GlobalOrdinal, Node> > Xpetra::EpetraIntVectorT< int, EpetraNode >::getMap ( ) const
inlinevirtual

The Map describing the parallel distribution of this object.

Implements Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 651 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::doImport ( const DistObject< int, int, GlobalOrdinal, Node > &  source,
const Import< int, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inline

Definition at line 656 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::doExport ( const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Import< int, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inline

Definition at line 668 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::doImport ( const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Export< int, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inline

Definition at line 680 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::doExport ( const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Export< int, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inline

Definition at line 692 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVectorT< int, EpetraNode >::replaceMap ( const RCP< const Map< int, GlobalOrdinal, Node > > &  )
inline

Definition at line 704 of file Xpetra_EpetraIntVector.hpp.

virtual void Xpetra::EpetraIntVectorT< int, EpetraNode >::assign ( const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  rhs)
inlineprotectedvirtual

Implementation of the assignment operator (operator=); does a deep copy.

Implements Xpetra::MultiVector< int, int, int, EpetraNode >.

Definition at line 768 of file Xpetra_EpetraIntVector.hpp.

Member Data Documentation

RCP< Epetra_IntVector > Xpetra::EpetraIntVectorT< int, EpetraNode >::vec_
private

The Epetra_IntVector which this class wraps.

Definition at line 803 of file Xpetra_EpetraIntVector.hpp.


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