Xpetra Version of the Day
Xpetra::EpetraIntMultiVectorT< int, EpetraNode > Class Reference

#include <Xpetra_EpetraIntMultiVector.hpp>

Inheritance diagram for Xpetra::EpetraIntMultiVectorT< int, EpetraNode >:
Xpetra::MultiVector< int, int, int, EpetraNode > Xpetra::DistObject< int, int, int, EpetraNode > Teuchos::Describable Teuchos::LabeledObject

Private Types

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

Overridden from Teuchos::Describable

RCP< Epetra_IntMultiVectorvec_
 The Epetra_IntMultiVector which this class wraps. More...
 
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...
 
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)
 Import data into this object using an Import object ("forward mode"). More...
 
void doExport (const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import< int, GlobalOrdinal, Node > &importer, CombineMode CM)
 Export data into this object using an Import object ("reverse mode"). More...
 
void doImport (const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< int, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Import data into this object using an Export object ("reverse mode"). More...
 
void doExport (const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export< int, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Export data into this object using an Export object ("forward mode"). More...
 
void replaceMap (const RCP< const Map< int, GlobalOrdinal, Node > > &map)
 
virtual void assign (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &rhs)
 Implementation of the assignment operator (operator=); does a deep copy. More...
 

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, const Teuchos::DataAccess copyOrView=Teuchos::Copy)
 MultiVector copy constructor. More...
 
 EpetraIntMultiVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &, size_t)
 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=true)
 Set multi-vector values to random numbers. More...
 
void setSeed (unsigned int)
 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) 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 j) const
 
Teuchos::ArrayRCP< int > getDataNonConst (size_t j)
 

Mathematical methods

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...
 

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...
 

Additional Inherited Members

- 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
 
- 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 Xpetra_randomize ()
 Set multi-vector values to random numbers. XPetra implementation. More...
 
- Public Member Functions inherited from Xpetra::DistObject< int, int, int, EpetraNode >
virtual ~DistObject ()
 Destructor. More...
 
virtual void beginImport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM)
 Import data into this object using an Import object ("forward mode"). More...
 
virtual void beginImport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM)
 Import data into this object using an Export object ("reverse mode"). More...
 
virtual void endImport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM)
 Import data into this object using an Import object ("forward mode"). More...
 
virtual void endImport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM)
 Import data into this object using an Export object ("reverse mode"). More...
 
virtual void beginExport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM)
 Export data into this object using an Export object ("forward mode"). More...
 
virtual void beginExport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM)
 Export data into this object using an Import object ("reverse mode"). More...
 
virtual void endExport (const DistObject< int, int, int, EpetraNode > &source, const Export< int, int, EpetraNode > &exporter, CombineMode CM)
 Export data into this object using an Export object ("forward mode"). More...
 
virtual void endExport (const DistObject< int, int, int, EpetraNode > &source, const Import< int, int, EpetraNode > &importer, CombineMode CM)
 Export data into this object using an Import object ("reverse mode"). More...
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
virtual std::string description () const
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 
- Protected Member Functions inherited from Xpetra::MultiVector< int, int, int, EpetraNode >

Detailed Description

Definition at line 347 of file Xpetra_EpetraIntMultiVector.hpp.

Member Typedef Documentation

◆ Scalar

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

Definition at line 350 of file Xpetra_EpetraIntMultiVector.hpp.

◆ LocalOrdinal

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

Definition at line 351 of file Xpetra_EpetraIntMultiVector.hpp.

◆ GlobalOrdinal

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

Definition at line 352 of file Xpetra_EpetraIntMultiVector.hpp.

◆ Node

typedef EpetraNode Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::Node
private

Definition at line 353 of file Xpetra_EpetraIntMultiVector.hpp.

Constructor & Destructor Documentation

◆ EpetraIntMultiVectorT() [1/3]

Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::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 361 of file Xpetra_EpetraIntMultiVector.hpp.

◆ EpetraIntMultiVectorT() [2/3]

Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::EpetraIntMultiVectorT ( const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Teuchos::DataAccess  copyOrView = Teuchos::Copy 
)
inline

MultiVector copy constructor.

Definition at line 366 of file Xpetra_EpetraIntMultiVector.hpp.

◆ EpetraIntMultiVectorT() [3/3]

Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::EpetraIntMultiVectorT ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  ,
const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar > > &  ,
size_t   
)
inline

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

Definition at line 380 of file Xpetra_EpetraIntMultiVector.hpp.

◆ ~EpetraIntMultiVectorT()

Destructor.

Definition at line 386 of file Xpetra_EpetraIntMultiVector.hpp.

Member Function Documentation

◆ putScalar()

void Xpetra::EpetraIntMultiVectorT< 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 394 of file Xpetra_EpetraIntMultiVector.hpp.

◆ randomize()

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

Set multi-vector values to random numbers.

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

Definition at line 401 of file Xpetra_EpetraIntMultiVector.hpp.

◆ setSeed()

void Xpetra::EpetraIntMultiVectorT< 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 406 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getVector()

Teuchos::RCP< const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraIntMultiVectorT< 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 415 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getVectorNonConst()

Teuchos::RCP< Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraIntMultiVectorT< 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 420 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getData()

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

Definition at line 426 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getDataNonConst()

Teuchos::ArrayRCP< int > Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::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, int, EpetraNode >.

Definition at line 439 of file Xpetra_EpetraIntMultiVector.hpp.

◆ dot()

void Xpetra::EpetraIntMultiVectorT< 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 455 of file Xpetra_EpetraIntMultiVector.hpp.

◆ abs()

void Xpetra::EpetraIntMultiVectorT< 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 465 of file Xpetra_EpetraIntMultiVector.hpp.

◆ reciprocal()

void Xpetra::EpetraIntMultiVectorT< 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 472 of file Xpetra_EpetraIntMultiVector.hpp.

◆ scale() [1/2]

void Xpetra::EpetraIntMultiVectorT< 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 480 of file Xpetra_EpetraIntMultiVector.hpp.

◆ scale() [2/2]

void Xpetra::EpetraIntMultiVectorT< 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 486 of file Xpetra_EpetraIntMultiVector.hpp.

◆ update() [1/2]

void Xpetra::EpetraIntMultiVectorT< 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 492 of file Xpetra_EpetraIntMultiVector.hpp.

◆ update() [2/2]

void Xpetra::EpetraIntMultiVectorT< 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 500 of file Xpetra_EpetraIntMultiVector.hpp.

◆ norm1()

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

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

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

Definition at line 509 of file Xpetra_EpetraIntMultiVector.hpp.

◆ norm2()

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

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

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

Definition at line 512 of file Xpetra_EpetraIntMultiVector.hpp.

◆ normInf()

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

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

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

Definition at line 515 of file Xpetra_EpetraIntMultiVector.hpp.

◆ meanValue()

void Xpetra::EpetraIntMultiVectorT< 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 518 of file Xpetra_EpetraIntMultiVector.hpp.

◆ maxValue()

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

Compute max value of each vector in multi-vector.

Definition at line 521 of file Xpetra_EpetraIntMultiVector.hpp.

◆ multiply()

void Xpetra::EpetraIntMultiVectorT< 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 524 of file Xpetra_EpetraIntMultiVector.hpp.

◆ elementWiseMultiply()

void Xpetra::EpetraIntMultiVectorT< 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 527 of file Xpetra_EpetraIntMultiVector.hpp.

◆ replaceGlobalValue()

void Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::replaceGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar value 
)
inlinevirtual

Replace value, using global (row) index.

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

Definition at line 538 of file Xpetra_EpetraIntMultiVector.hpp.

◆ sumIntoGlobalValue()

void Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::sumIntoGlobalValue ( GlobalOrdinal  globalRow,
size_t  vectorIndex,
const Scalar value 
)
inlinevirtual

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

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

Definition at line 543 of file Xpetra_EpetraIntMultiVector.hpp.

◆ replaceLocalValue()

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

Replace value, using local (row) index.

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

Definition at line 548 of file Xpetra_EpetraIntMultiVector.hpp.

◆ sumIntoLocalValue()

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

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

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

Definition at line 553 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getNumVectors()

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

Returns the number of vectors in the multi-vector.

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

Definition at line 563 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getLocalLength()

size_t Xpetra::EpetraIntMultiVectorT< 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 569 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getGlobalLength()

global_size_t Xpetra::EpetraIntMultiVectorT< 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 574 of file Xpetra_EpetraIntMultiVector.hpp.

◆ isSameSize()

bool Xpetra::EpetraIntMultiVectorT< 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 577 of file Xpetra_EpetraIntMultiVector.hpp.

◆ description()

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

Return a simple one-line description of this object.

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

Definition at line 590 of file Xpetra_EpetraIntMultiVector.hpp.

◆ describe()

void Xpetra::EpetraIntMultiVectorT< 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::MultiVector< int, int, int, EpetraNode >.

Definition at line 602 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getEpetra_IntMultiVector()

RCP< Epetra_IntMultiVector > Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::getEpetra_IntMultiVector ( ) const
inline

Definition at line 621 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getComm()

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

Definition at line 623 of file Xpetra_EpetraIntMultiVector.hpp.

◆ getMap()

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

The Map describing the parallel distribution of this object.

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

Definition at line 628 of file Xpetra_EpetraIntMultiVector.hpp.

◆ doImport() [1/2]

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

Import data into this object using an Import object ("forward mode").

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

Definition at line 633 of file Xpetra_EpetraIntMultiVector.hpp.

◆ doExport() [1/2]

void Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::doExport ( const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Import< int, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inlinevirtual

Export data into this object using an Import object ("reverse mode").

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

Definition at line 645 of file Xpetra_EpetraIntMultiVector.hpp.

◆ doImport() [2/2]

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

Import data into this object using an Export object ("reverse mode").

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

Definition at line 657 of file Xpetra_EpetraIntMultiVector.hpp.

◆ doExport() [2/2]

void Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::doExport ( const DistObject< int, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Export< int, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inlinevirtual

Export data into this object using an Export object ("forward mode").

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

Definition at line 669 of file Xpetra_EpetraIntMultiVector.hpp.

◆ replaceMap()

void Xpetra::EpetraIntMultiVectorT< int, EpetraNode >::replaceMap ( const RCP< const Map< int, GlobalOrdinal, Node > > &  map)
inlinevirtual

◆ assign()

virtual void Xpetra::EpetraIntMultiVectorT< 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 700 of file Xpetra_EpetraIntMultiVector.hpp.

Member Data Documentation

◆ vec_

The Epetra_IntMultiVector which this class wraps.

Definition at line 735 of file Xpetra_EpetraIntMultiVector.hpp.


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