All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Attributes | List of all members
Xpetra::EpetraIntVector Class Reference

#include <Xpetra_EpetraIntVector.hpp>

Inheritance diagram for Xpetra::EpetraIntVector:
Xpetra::Vector< int, int, int > Xpetra::MultiVector< int, int, int, Node > Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > Teuchos::Describable Teuchos::LabeledObject

Public Member Functions

RCP< Epetra_IntVector > getEpetra_IntVector () const
 
const RCP< const Comm< int > > getComm () const
 
const Teuchos::RCP< const Map
< int, int > > 
getMap () const
 The Map describing the parallel distribution of this object. More...
 
void doImport (const DistObject< int, int, int > &source, const Import< int, int > &importer, CombineMode CM)
 
void doExport (const DistObject< int, int, int > &dest, const Import< int, int > &importer, CombineMode CM)
 
void doImport (const DistObject< int, int, int > &source, const Export< int, int > &exporter, CombineMode CM)
 
void doExport (const DistObject< int, int, int > &dest, const Export< int, int > &exporter, CombineMode CM)
 
void replaceMap (const RCP< const Map< int, int > > &map)
 
- Public Member Functions inherited from Xpetra::Vector< int, int, int >
virtual ~Vector ()
 Destructor. More...
 
virtual int dot (const Vector< int, int, int, Node > &a) const =0
 Computes dot product of this Vector against input Vector x. More...
 
virtual Teuchos::ScalarTraits
< int >::magnitudeType 
normWeighted (const Vector< int, int, int, Node > &weights) const =0
 Compute Weighted 2-norm (RMS Norm) of this Vector. More...
 
- Public Member Functions inherited from Xpetra::MultiVector< int, int, int, Node >
virtual ~MultiVector ()
 Destructor. More...
 
virtual void dot (const MultiVector< int, int, int, Node > &A, const Teuchos::ArrayView< int > &dots) const =0
 Compute dot product of each corresponding pair of vectors, dots[i] = this[i].dot(A[i]). More...
 
virtual void abs (const MultiVector< int, int, int, Node > &A)=0
 Put element-wise absolute values of input Multi-vector in target: A = abs(this). More...
 
virtual void reciprocal (const MultiVector< int, int, int, Node > &A)=0
 Put element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j). More...
 
virtual void update (const int &alpha, const MultiVector< int, int, int, Node > &A, const int &beta)=0
 Update multi-vector values with scaled values of A, this = beta*this + alpha*A. More...
 
virtual void update (const int &alpha, const MultiVector< int, int, int, Node > &A, const int &beta, const MultiVector< int, int, int, Node > &B, const int &gamma)=0
 Update multi-vector with scaled values of A and B, this = gamma*this + alpha*A + beta*B. More...
 
virtual void normWeighted (const MultiVector< int, int, int, Node > &weights, const Teuchos::ArrayView< typename Teuchos::ScalarTraits< int >::magnitudeType > &norms) const =0
 
virtual void multiply (Teuchos::ETransp transA, Teuchos::ETransp transB, const int &alpha, const MultiVector< int, int, int, Node > &A, const MultiVector< int, int, int, Node > &B, const int &beta)=0
 Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B). More...
 
virtual void elementWiseMultiply (intscalarAB, const Vector< int, int, int, Node > &A, const MultiVector< int, int, int, Node > &B, intscalarThis)=0
 Element-wise multiply of a Vector A with a MultiVector B. More...
 
virtual void replaceMap (const RCP< const Map< int, int, Node > > &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...
 
- Public Member Functions inherited from Teuchos::Describable
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 

Private Types

typedef int Scalar
 
typedef int LocalOrdinal
 
typedef int GlobalOrdinal
 
typedef
Kokkos::DefaultNode::DefaultNodeType 
Node
 

Private Attributes

RCP< Epetra_IntVector > vec_
 

Constructor/Destructor Methods

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

Mathematical methods

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

Post-construction modification routines

void replaceGlobalValue (GlobalOrdinal globalRow, const Scalar &value)
 Replace current value at the specified location with specified value. More...
 
void sumIntoGlobalValue (GlobalOrdinal globalRow, const Scalar &value)
 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 bUseXpetraImplementation=true)
 Set multi-vector values to random numbers. More...
 
void setSeed (unsigned int seed)
 Set seed for Random function. More...
 
void replaceGlobalValue (GlobalOrdinal globalRow, size_t vectorIndex, const Scalar &value)
 Replace value, using global (row) index. More...
 
void sumIntoGlobalValue (GlobalOrdinal globalRow, size_t vectorIndex, const Scalar &value)
 Add value to existing value, using global (row) index. More...
 
void replaceLocalValue (LocalOrdinal myRow, size_t vectorIndex, const Scalar &value)
 Replace value, using local (row) index. More...
 
void sumIntoLocalValue (LocalOrdinal myRow, size_t vectorIndex, const Scalar &value)
 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 j) const
 Return a Vector which is a const view of column j. More...
 
Teuchos::RCP< Vector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
getVectorNonConst (size_t j)
 Return a Vector which is a nonconst view of column j. More...
 
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. 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...
 

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

- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

Definition at line 62 of file Xpetra_EpetraIntVector.hpp.

Member Typedef Documentation

typedef int Xpetra::EpetraIntVector::Scalar
private

Definition at line 66 of file Xpetra_EpetraIntVector.hpp.

Definition at line 67 of file Xpetra_EpetraIntVector.hpp.

Definition at line 68 of file Xpetra_EpetraIntVector.hpp.

Definition at line 69 of file Xpetra_EpetraIntVector.hpp.

Constructor & Destructor Documentation

Xpetra::EpetraIntVector::EpetraIntVector ( const Teuchos::RCP< const Map< int, int > > &  map,
bool  zeroOut = true 
)
inlineexplicit

Sets all vector entries to zero.

Definition at line 77 of file Xpetra_EpetraIntVector.hpp.

Xpetra::EpetraIntVector::~EpetraIntVector ( )
inline

Destructor.

Definition at line 84 of file Xpetra_EpetraIntVector.hpp.

Member Function Documentation

int Xpetra::EpetraIntVector::dot ( const Vector< int, int, int > &  a) const

TODO missing comment.

Definition at line 60 of file Xpetra_EpetraIntVector.cpp.

Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVector::norm1 ( ) const
virtual

Return 1-norm of this Vector.

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

Definition at line 62 of file Xpetra_EpetraIntVector.cpp.

Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVector::norm2 ( ) const
virtual

Compute 2-norm of this Vector.

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

Definition at line 64 of file Xpetra_EpetraIntVector.cpp.

Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVector::normInf ( ) const
virtual

Compute Inf-norm of this Vector.

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

Definition at line 66 of file Xpetra_EpetraIntVector.cpp.

Teuchos::ScalarTraits< int >::magnitudeType Xpetra::EpetraIntVector::normWeighted ( const Vector< int, int, int > &  weights) const

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

Definition at line 68 of file Xpetra_EpetraIntVector.cpp.

int Xpetra::EpetraIntVector::meanValue ( ) const
virtual

Compute mean (average) value of this Vector.

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

Definition at line 70 of file Xpetra_EpetraIntVector.cpp.

int Xpetra::EpetraIntVector::maxValue ( ) const

Compute max value of this Vector.

Definition at line 72 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::replaceGlobalValue ( GlobalOrdinal  globalRow,
const Scalar &  value 
)
virtual

Replace current value at the specified location with specified value.

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

Definition at line 52 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::sumIntoGlobalValue ( GlobalOrdinal  globalRow,
const Scalar &  value 
)
virtual

Adds specified value to existing value at the specified location.

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

Definition at line 54 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::replaceLocalValue ( LocalOrdinal  myRow,
const Scalar &  value 
)
virtual

Replace current value at the specified location with specified values.

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

Definition at line 56 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::sumIntoLocalValue ( LocalOrdinal  myRow,
const Scalar &  value 
)
virtual

Adds specified value to existing value at the specified location.

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

Definition at line 58 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::putScalar ( const int &  value)
inlinevirtual

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

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

Definition at line 130 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVector::randomize ( bool  bUseXpetraImplementation = true)
virtual

Set multi-vector values to random numbers.

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

Definition at line 74 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::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, int, Node >.

Definition at line 76 of file Xpetra_EpetraIntVector.cpp.

Teuchos::RCP< const Vector< int, int, int > > Xpetra::EpetraIntVector::getVector ( size_t  j) const
virtual

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

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

Definition at line 78 of file Xpetra_EpetraIntVector.cpp.

Teuchos::RCP< Vector< int, int, int > > Xpetra::EpetraIntVector::getVectorNonConst ( size_t  j)
virtual

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

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

Definition at line 82 of file Xpetra_EpetraIntVector.cpp.

Teuchos::ArrayRCP< const int > Xpetra::EpetraIntVector::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, int, Node >.

Definition at line 86 of file Xpetra_EpetraIntVector.cpp.

Teuchos::ArrayRCP< int > Xpetra::EpetraIntVector::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, int, Node >.

Definition at line 95 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::dot ( const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A,
const Teuchos::ArrayView< int > &  dots 
) const

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

void Xpetra::EpetraIntVector::abs ( const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A)

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

Definition at line 111 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::reciprocal ( const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A)

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

Definition at line 118 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::scale ( const int &  alpha)
virtual

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

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

Definition at line 125 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::update ( const int &  alpha,
const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A,
const int &  beta 
)

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

void Xpetra::EpetraIntVector::update ( const int &  alpha,
const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A,
const int &  beta,
const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  B,
const int &  gamma 
)

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

void Xpetra::EpetraIntVector::norm1 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const
virtual

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

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

Definition at line 142 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::norm2 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const
virtual

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

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

Definition at line 144 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::normInf ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const
virtual

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

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

Definition at line 146 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::normWeighted ( const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  weights,
const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms 
) const

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

void Xpetra::EpetraIntVector::meanValue ( const Teuchos::ArrayView< int > &  means) const
virtual

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

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

Definition at line 150 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::maxValue ( const Teuchos::ArrayView< int > &  maxs) const

Compute max value of each vector in multi-vector.

Definition at line 152 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::multiply ( Teuchos::ETransp  transA,
Teuchos::ETransp  transB,
const int &  alpha,
const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A,
const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  B,
const int &  beta 
)

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

Definition at line 154 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::elementWiseMultiply ( int  scalarAB,
const Vector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  A,
const MultiVector< int, int, int, Kokkos::DefaultNode::DefaultNodeType > &  B,
int  scalarThis 
)

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

Definition at line 156 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::replaceGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar &  value 
)
virtual

Replace value, using global (row) index.

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

Definition at line 162 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::sumIntoGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar &  value 
)
virtual

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

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

Definition at line 164 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::replaceLocalValue ( LocalOrdinal  myRow,
size_t  vectorIndex,
const Scalar &  value 
)
virtual

Replace value, using local (row) index.

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

Definition at line 166 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::sumIntoLocalValue ( LocalOrdinal  myRow,
size_t  vectorIndex,
const Scalar &  value 
)
virtual

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

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

Definition at line 168 of file Xpetra_EpetraIntVector.cpp.

size_t Xpetra::EpetraIntVector::getNumVectors ( ) const
virtual

Returns the number of vectors in the multi-vector.

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

Definition at line 170 of file Xpetra_EpetraIntVector.cpp.

size_t Xpetra::EpetraIntVector::getLocalLength ( ) const
inlinevirtual

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

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

Definition at line 229 of file Xpetra_EpetraIntVector.hpp.

global_size_t Xpetra::EpetraIntVector::getGlobalLength ( ) const
inlinevirtual

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

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

Definition at line 232 of file Xpetra_EpetraIntVector.hpp.

std::string Xpetra::EpetraIntVector::description ( ) const
virtual

Return a simple one-line description of this object.

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

Definition at line 172 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::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, int >.

Definition at line 183 of file Xpetra_EpetraIntVector.cpp.

RCP< Epetra_IntVector > Xpetra::EpetraIntVector::getEpetra_IntVector ( ) const
inline

Definition at line 247 of file Xpetra_EpetraIntVector.hpp.

const RCP<const Comm<int> > Xpetra::EpetraIntVector::getComm ( ) const
inline

Definition at line 249 of file Xpetra_EpetraIntVector.hpp.

const Teuchos::RCP<const Map<int,int> > Xpetra::EpetraIntVector::getMap ( ) const
inlinevirtual

The Map describing the parallel distribution of this object.

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

Definition at line 254 of file Xpetra_EpetraIntVector.hpp.

void Xpetra::EpetraIntVector::doImport ( const DistObject< int, int, int > &  source,
const Import< int, int > &  importer,
CombineMode  CM 
)

Definition at line 203 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::doExport ( const DistObject< int, int, int > &  dest,
const Import< int, int > &  importer,
CombineMode  CM 
)

Definition at line 215 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::doImport ( const DistObject< int, int, int > &  source,
const Export< int, int > &  exporter,
CombineMode  CM 
)

Definition at line 227 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::doExport ( const DistObject< int, int, int > &  dest,
const Export< int, int > &  exporter,
CombineMode  CM 
)

Definition at line 239 of file Xpetra_EpetraIntVector.cpp.

void Xpetra::EpetraIntVector::replaceMap ( const RCP< const Map< int, int > > &  map)
inline

Definition at line 267 of file Xpetra_EpetraIntVector.hpp.

Member Data Documentation

RCP< Epetra_IntVector > Xpetra::EpetraIntVector::vec_
private

Definition at line 272 of file Xpetra_EpetraIntVector.hpp.


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