All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Types | List of all members
Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node > Class Template Reference

#include <Xpetra_EpetraIntMultiVector.hpp>

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

Public Member Functions

RCP< Epetra_IntMultiVectorgetEpetra_IntMultiVector () 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 > > &map)
 
- Public Member Functions inherited from Xpetra::MultiVector< int, int, EpetraGlobalOrdinal, Node >
virtual ~MultiVector ()
 Destructor. More...
 
MultiVector< int, int,
EpetraGlobalOrdinal, Node > & 
operator= (const MultiVector< int, int, EpetraGlobalOrdinal, Node > &rhs)
 Assignment operator: Does a deep copy. More...
 
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)
 

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 EpetraGlobalOrdinal GlobalOrdinal
 

Constructor/Destructor Methods

 EpetraIntMultiVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t NumVectors, bool zeroOut=true)
 Sets all vector entries to zero. More...
 
 EpetraIntMultiVectorT (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source)
 MultiVector copy constructor. More...
 
 EpetraIntMultiVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &ArrayOfPtrs, size_t NumVectors)
 Set multi-vector values from array of pointers using Teuchos memory management classes. (copy). More...
 
 ~EpetraIntMultiVectorT ()
 Destructor. More...
 

Post-construction modification routines

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)
 

Mathematical methods

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]) More...
 
void abs (const MultiVector< int, int, GlobalOrdinal, Node > &A)
 Puts element-wise absolute values of input Multi-vector in target: A = abs(this) More...
 
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). More...
 
void scale (const int &alpha)
 Scale the current values of a multi-vector, this = alpha*this. More...
 
void scale (Teuchos::ArrayView< const int > alpha)
 Scale the current values of a multi-vector, this[j] = alpha[j]*this[j]. More...
 
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. More...
 
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. 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 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, GlobalOrdinal, Node > &A, const MultiVector< int, int, GlobalOrdinal, Node > &B, const int &beta)
 Matrix-Matrix multiplication, this = beta*this + alpha*op(A)*op(B). More...
 
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. More...
 

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::MultiVector< int, int, EpetraGlobalOrdinal, Node >
typedef int scalar_type
 
typedef int local_ordinal_type
 
typedef EpetraGlobalOrdinal global_ordinal_type
 
typedef Node node_type
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

template<class EpetraGlobalOrdinal, class Node>
class Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >

Definition at line 71 of file Xpetra_EpetraIntMultiVector.hpp.

Member Typedef Documentation

template<class EpetraGlobalOrdinal , class Node >
typedef int Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::Scalar
private

Definition at line 74 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
typedef int Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::LocalOrdinal
private

Definition at line 75 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
typedef EpetraGlobalOrdinal Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::GlobalOrdinal
private

Definition at line 76 of file Xpetra_EpetraIntMultiVector.hpp.

Constructor & Destructor Documentation

template<class EpetraGlobalOrdinal , class Node >
Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::EpetraIntMultiVectorT ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  map,
size_t  NumVectors,
bool  zeroOut = true 
)
inline

Sets all vector entries to zero.

Definition at line 84 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::EpetraIntMultiVectorT ( const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  source)
inline

MultiVector copy constructor.

Definition at line 90 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::EpetraIntMultiVectorT ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  map,
const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &  ArrayOfPtrs,
size_t  NumVectors 
)
inline

Set multi-vector values from array of pointers using Teuchos memory management classes. (copy).

Definition at line 96 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::~EpetraIntMultiVectorT ( )
inline

Destructor.

Definition at line 102 of file Xpetra_EpetraIntMultiVector.hpp.

Member Function Documentation

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::putScalar ( const int &  value)
inlinevirtual

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

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

Definition at line 110 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::randomize ( bool  bUseXpetraImplementation = true)
inlinevirtual

Set multi-vector values to random numbers.

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

Definition at line 113 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::setSeed ( unsigned int  seed)
inlinevirtual

Set seed for Random function.

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

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

Definition at line 118 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::RCP< const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getVector ( size_t  j) const
inlinevirtual

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

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

Definition at line 129 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::RCP< Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getVectorNonConst ( size_t  j)
inlinevirtual

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

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

Definition at line 134 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::ArrayRCP<const int> Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getData ( size_t  j) 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, EpetraGlobalOrdinal, Node >.

Definition at line 140 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::ArrayRCP<int> Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getDataNonConst ( size_t  j)
inlinevirtual

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

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

Definition at line 146 of file Xpetra_EpetraIntMultiVector.hpp.

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

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

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

Definition at line 155 of file Xpetra_EpetraIntMultiVector.hpp.

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

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

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

Definition at line 162 of file Xpetra_EpetraIntMultiVector.hpp.

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

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

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

Definition at line 165 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::scale ( const int &  alpha)
inlinevirtual

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

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

Definition at line 171 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::scale ( Teuchos::ArrayView< const int >  alpha)
inlinevirtual

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

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

Definition at line 174 of file Xpetra_EpetraIntMultiVector.hpp.

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

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

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

Definition at line 181 of file Xpetra_EpetraIntMultiVector.hpp.

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

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

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

Definition at line 188 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::norm1 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const
inlinevirtual

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

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

Definition at line 195 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::norm2 ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const
inlinevirtual

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

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

Definition at line 202 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::normInf ( const Teuchos::ArrayView< Teuchos::ScalarTraits< int >::magnitudeType > &  norms) const
inlinevirtual

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

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

Definition at line 208 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::meanValue ( const Teuchos::ArrayView< int > &  means) const
inlinevirtual

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

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

Definition at line 214 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::maxValue ( const Teuchos::ArrayView< int > &  maxs) const
inline

Compute max value of each vector in multi-vector.

Definition at line 221 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::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 
)
inlinevirtual

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

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

Definition at line 228 of file Xpetra_EpetraIntMultiVector.hpp.

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

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

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

Definition at line 235 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::replaceGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar value 
)
inlinevirtual

Replace value, using global (row) index.

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

Definition at line 247 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::sumIntoGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar value 
)
inlinevirtual

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

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

Definition at line 253 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::replaceLocalValue ( LocalOrdinal  myRow,
size_t  vectorIndex,
const Scalar value 
)
inlinevirtual

Replace value, using local (row) index.

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

Definition at line 259 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::sumIntoLocalValue ( LocalOrdinal  myRow,
size_t  vectorIndex,
const Scalar value 
)
inlinevirtual

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

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

Definition at line 265 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
size_t Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getNumVectors ( ) const
inlinevirtual

Returns the number of vectors in the multi-vector.

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

Definition at line 276 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
size_t Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getLocalLength ( ) const
inlinevirtual

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

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

Definition at line 280 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
global_size_t Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getGlobalLength ( ) const
inlinevirtual

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

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

Definition at line 283 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
bool Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::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, EpetraGlobalOrdinal, Node >.

Definition at line 286 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
std::string Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

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

Definition at line 294 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::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::MultiVector< int, int, EpetraGlobalOrdinal, Node >.

Definition at line 299 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
RCP< Epetra_IntMultiVector > Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getEpetra_IntMultiVector ( ) const
inline

Definition at line 303 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
const RCP<const Comm<int> > Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getComm ( ) const
inline

Definition at line 305 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::RCP<const Map<int, GlobalOrdinal, Node> > Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::getMap ( ) const
inlinevirtual

The Map describing the parallel distribution of this object.

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

Definition at line 310 of file Xpetra_EpetraIntMultiVector.hpp.

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

Definition at line 314 of file Xpetra_EpetraIntMultiVector.hpp.

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

Definition at line 317 of file Xpetra_EpetraIntMultiVector.hpp.

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

Definition at line 320 of file Xpetra_EpetraIntMultiVector.hpp.

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

Definition at line 323 of file Xpetra_EpetraIntMultiVector.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::replaceMap ( const RCP< const Map< int, GlobalOrdinal, Node > > &  map)
inlinevirtual
template<class EpetraGlobalOrdinal , class Node >
virtual void Xpetra::EpetraIntMultiVectorT< EpetraGlobalOrdinal, Node >::assign ( const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  rhs)
inlineprotectedvirtual

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

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

Definition at line 370 of file Xpetra_EpetraIntMultiVector.hpp.


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