All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions | Private Types | Private Attributes
Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal > Class Template Reference

#include <Xpetra_EpetraIntVector.hpp>

Inheritance diagram for Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >:
Xpetra::Vector< int, int, EpetraGlobalOrdinal > Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type > Xpetra::DistObject< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type > Describable

List of all members.

Public Member Functions

RCP< Epetra_IntVector > getEpetra_IntVector () const
const RCP< const Comm< int > > getComm () const
Teuchos::RCP< const Map< int,
GlobalOrdinal > > 
getMap () const
 The Map describing the parallel distribution of this object.
void doImport (const DistObject< int, int, GlobalOrdinal > &source, const Import< int, GlobalOrdinal > &importer, CombineMode CM)
void doExport (const DistObject< int, int, GlobalOrdinal > &dest, const Import< int, GlobalOrdinal > &importer, CombineMode CM)
void doImport (const DistObject< int, int, GlobalOrdinal > &source, const Export< int, GlobalOrdinal > &exporter, CombineMode CM)
void doExport (const DistObject< int, int, GlobalOrdinal > &dest, const Export< int, GlobalOrdinal > &exporter, CombineMode CM)
void replaceMap (const RCP< const Map< int, GlobalOrdinal > > &map)

Protected Member Functions

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

Private Types

typedef int Scalar
typedef int LocalOrdinal
typedef EpetraGlobalOrdinal GlobalOrdinal
typedef
KokkosClassic::DefaultNode::DefaultNodeType 
Node

Private Attributes

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

Constructor/Destructor Methods

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

Mathematical methods

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

Post-construction modification routines

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

Data Copy and View get methods

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

Attribute access functions

size_t getNumVectors () const
 Returns the number of vectors in the multi-vector.
size_t getLocalLength () const
 Returns the local vector length on the calling processor of vectors in the multi-vector.
global_size_t getGlobalLength () const
 Returns the global vector length of vectors in the multi-vector.

Overridden from Teuchos::Describable

std::string description () const
 Return a simple one-line description of this object.
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.

Detailed Description

template<class EpetraGlobalOrdinal>
class Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >

Definition at line 63 of file Xpetra_EpetraIntVector.hpp.


Member Typedef Documentation

template<class EpetraGlobalOrdinal >
typedef int Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::Scalar [private]

Definition at line 66 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
typedef int Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::LocalOrdinal [private]

Definition at line 67 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
typedef EpetraGlobalOrdinal Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::GlobalOrdinal [private]

Definition at line 68 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
typedef KokkosClassic::DefaultNode::DefaultNodeType Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::Node [private]

Definition at line 69 of file Xpetra_EpetraIntVector.hpp.


Constructor & Destructor Documentation

template<class EpetraGlobalOrdinal >
Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::EpetraIntVectorT ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  map,
bool  zeroOut = true 
) [inline, explicit]

Sets all vector entries to zero.

Definition at line 77 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::~EpetraIntVectorT ( ) [inline]

Destructor.

Definition at line 84 of file Xpetra_EpetraIntVector.hpp.


Member Function Documentation

template<class EpetraGlobalOrdinal >
int Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::dot ( const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  a) const

TODO missing comment.

Definition at line 65 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::norm1 ( ) const [virtual]

Return 1-norm of this Vector.

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

Definition at line 68 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::norm2 ( ) const [virtual]

Compute 2-norm of this Vector.

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

Definition at line 71 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::normInf ( ) const [virtual]

Compute Inf-norm of this Vector.

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

Definition at line 74 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::normWeighted ( const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  weights) const

Compute Weighted 2-norm (RMS Norm) of this Vector.

Definition at line 77 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
int Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::meanValue ( ) const [virtual]

Compute mean (average) value of this Vector.

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

Definition at line 80 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
int Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::maxValue ( ) const

Compute max value of this Vector.

Definition at line 83 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::replaceGlobalValue ( GlobalOrdinal  globalRow,
const Scalar value 
) [virtual]

Replace current value at the specified location with specified value.

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

Definition at line 53 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::sumIntoGlobalValue ( GlobalOrdinal  globalRow,
const Scalar value 
) [virtual]

Adds specified value to existing value at the specified location.

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

Definition at line 56 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::replaceLocalValue ( LocalOrdinal  myRow,
const Scalar value 
) [virtual]

Replace current value at the specified location with specified values.

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

Definition at line 59 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::sumIntoLocalValue ( LocalOrdinal  myRow,
const Scalar value 
) [virtual]

Adds specified value to existing value at the specified location.

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

Definition at line 62 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::putScalar ( const int &  value) [inline, virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 130 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::randomize ( bool  bUseXpetraImplementation = true) [virtual]
template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::setSeed ( unsigned int  seed) [virtual]

Set seed for Random function.

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 89 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::RCP< const Vector< int, int, EpetraGlobalOrdinal, typename EpetraIntVectorT< EpetraGlobalOrdinal >::Node > > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getVector ( size_t  j) const [virtual]
template<class EpetraGlobalOrdinal >
Teuchos::RCP< Vector< int, int, EpetraGlobalOrdinal, typename EpetraIntVectorT< EpetraGlobalOrdinal >::Node > > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getVectorNonConst ( size_t  j) [virtual]
template<class EpetraGlobalOrdinal >
Teuchos::ArrayRCP< const int > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getData ( size_t  j) const [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 102 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::ArrayRCP< int > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getDataNonConst ( size_t  j) [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 112 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::dot ( const MultiVector< int, int, GlobalOrdinal, Node > &  A,
const Teuchos::ArrayView< int > &  dots 
) const

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

Definition at line 122 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::abs ( const MultiVector< int, int, GlobalOrdinal, Node > &  A)

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

Definition at line 130 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::reciprocal ( const MultiVector< int, int, GlobalOrdinal, Node > &  A)

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

Definition at line 138 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::scale ( const int &  alpha) [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 146 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::scale ( Teuchos::ArrayView< const int >  alpha) [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 152 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::update ( const int &  alpha,
const MultiVector< int, int, GlobalOrdinal, Node > &  A,
const int &  beta 
)

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

Definition at line 158 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::update ( const int &  alpha,
const MultiVector< int, int, GlobalOrdinal, Node > &  A,
const int &  beta,
const MultiVector< int, int, GlobalOrdinal, Node > &  B,
const int &  gamma 
)

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

Definition at line 166 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::norm1 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const

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

Definition at line 175 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::norm2 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const

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

Definition at line 178 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::normInf ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const

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

Definition at line 181 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::normWeighted ( const MultiVector< int, int, GlobalOrdinal, Node > &  weights,
const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms 
) const

Compute Weighted 2-norm (RMS Norm) of each vector in multi-vector.

Definition at line 184 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::meanValue ( const Teuchos::ArrayView< int > &  means) const [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 187 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::maxValue ( const Teuchos::ArrayView< int > &  maxs) const

Compute max value of each vector in multi-vector.

Definition at line 190 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::multiply ( Teuchos::ETransp  transA,
Teuchos::ETransp  transB,
const int &  alpha,
const MultiVector< int, int, GlobalOrdinal, Node > &  A,
const MultiVector< int, int, GlobalOrdinal, Node > &  B,
const int &  beta 
)

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

Definition at line 193 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::elementWiseMultiply ( int  scalarAB,
const Vector< int, int, GlobalOrdinal, Node > &  A,
const MultiVector< int, int, GlobalOrdinal, Node > &  B,
int  scalarThis 
)

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

Definition at line 196 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::replaceGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar value 
) [virtual]
template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::sumIntoGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar value 
) [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 205 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::replaceLocalValue ( LocalOrdinal  myRow,
size_t  vectorIndex,
const Scalar value 
) [virtual]
template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::sumIntoLocalValue ( LocalOrdinal  myRow,
size_t  vectorIndex,
const Scalar value 
) [virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 211 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
size_t Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getNumVectors ( ) const [virtual]
template<class EpetraGlobalOrdinal >
size_t Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getLocalLength ( ) const [inline, virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 233 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
global_size_t Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getGlobalLength ( ) const [inline, virtual]

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

Implements Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 236 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
std::string Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::description ( ) const [virtual]

Return a simple one-line description of this object.

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

Definition at line 217 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::describe ( Teuchos::FancyOStream &  out,
const Teuchos::EVerbosityLevel  verbLevel = Teuchos::Describable::verbLevel_default 
) const [virtual]

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

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

Definition at line 229 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
RCP< Epetra_IntVector > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getEpetra_IntVector ( ) const [inline]

Definition at line 251 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
const RCP<const Comm<int> > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getComm ( ) const [inline]

Definition at line 253 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
Teuchos::RCP<const Map<int, GlobalOrdinal> > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::getMap ( ) const [inline, virtual]

The Map describing the parallel distribution of this object.

Implements Xpetra::DistObject< int, int, EpetraGlobalOrdinal, typename MultiVector< int, int, EpetraGlobalOrdinal >::node_type >.

Definition at line 258 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::doImport ( const DistObject< int, int, GlobalOrdinal > &  source,
const Import< int, GlobalOrdinal > &  importer,
CombineMode  CM 
)

Definition at line 247 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::doExport ( const DistObject< int, int, GlobalOrdinal > &  dest,
const Import< int, GlobalOrdinal > &  importer,
CombineMode  CM 
)

Definition at line 260 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::doImport ( const DistObject< int, int, GlobalOrdinal > &  source,
const Export< int, GlobalOrdinal > &  exporter,
CombineMode  CM 
)

Definition at line 273 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::doExport ( const DistObject< int, int, GlobalOrdinal > &  dest,
const Export< int, GlobalOrdinal > &  exporter,
CombineMode  CM 
)

Definition at line 286 of file Xpetra_EpetraIntVector.cpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::replaceMap ( const RCP< const Map< int, GlobalOrdinal > > &  map) [inline]

Definition at line 279 of file Xpetra_EpetraIntVector.hpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::assign ( const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal > &  rhs) [protected, virtual]

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

Definition at line 300 of file Xpetra_EpetraIntVector.cpp.


Member Data Documentation

template<class EpetraGlobalOrdinal >
RCP< Epetra_IntVector > Xpetra::EpetraIntVectorT< EpetraGlobalOrdinal >::vec_ [private]

The Epetra_IntVector which this class wraps.

Definition at line 291 of file Xpetra_EpetraIntVector.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines