#include <Xpetra_EpetraMultiVector.hpp>
Public Member Functions | |
| void | randomize (bool bUseXpetraImplementation=false) |
| Set multi-vector values to random numbers. | |
| Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | getMap () const |
| Implements DistObject interface. | |
| void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Import. | |
| void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Export. | |
| void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Import (using an Exporter). | |
| void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Export (using an Importer). | |
| void | replaceMap (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map) |
| Replace the underlying Map in place. | |
Protected Member Functions | |
| virtual void | assign (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &rhs) |
| Implementation of the assignment operator (operator=); does a deep copy. | |
Private Types | |
| typedef double | Scalar |
| typedef int | LocalOrdinal |
| typedef EpetraGlobalOrdinal | GlobalOrdinal |
| typedef MultiVector< double, int, GlobalOrdinal > ::node_type | Node |
Private Attributes | |
| RCP< Epetra_MultiVector > | vec_ |
| The Epetra_MultiVector which this class wraps. | |
Constructor/Destructor Methods | |
| EpetraMultiVectorT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t NumVectors, bool zeroOut=true) | |
| Basic MultiVector constuctor. | |
| EpetraMultiVectorT (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &source) | |
| MultiVector copy constructor. | |
| EpetraMultiVectorT (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). | |
| virtual | ~EpetraMultiVectorT () |
| MultiVector destructor. | |
Post-construction modification routines | |
| 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. | |
| void | putScalar (const Scalar &value) |
| Set all values in the multivector with the given value. | |
Data copy and view methods | |
| Teuchos::RCP< const Vector < double, int, GlobalOrdinal, Node > > | getVector (size_t j) const |
| Return a Vector which is a const view of column j. | |
| Teuchos::RCP< Vector< double, int, GlobalOrdinal, Node > > | getVectorNonConst (size_t j) |
| Return a Vector which is a nonconst view of column j. | |
| Teuchos::ArrayRCP< const Scalar > | getData (size_t j) const |
| Const view of the local values in a particular vector of this multivector. | |
| Teuchos::ArrayRCP< Scalar > | getDataNonConst (size_t j) |
| View of the local values in a particular vector of this multivector. | |
Mathematical methods | |
| void | dot (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Teuchos::ArrayView< Scalar > &dots) const |
| Compute the dot product of each corresponding pair of vectors (columns) in A and B. | |
| void | abs (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A) |
| Put element-wise absolute values of input Multi-vector in target: A = abs(this). | |
| void | reciprocal (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A) |
| Put element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j). | |
| void | scale (const Scalar &alpha) |
| Scale in place: this = alpha*this. | |
| void | scale (Teuchos::ArrayView< const Scalar > alpha) |
| Scale the current values of a multi-vector, this[j] = alpha[j]*this[j]. | |
| void | update (const Scalar &alpha, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Scalar &beta) |
| Update: this = beta*this + alpha*A. | |
| void | update (const Scalar &alpha, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Scalar &beta, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, const Scalar &gamma) |
| Update: this = gamma*this + alpha*A + beta*B. | |
| void | norm1 (const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| Compute 1-norm of each vector in multi-vector. | |
| void | norm2 (const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| void | normInf (const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| Compute Inf-norm of each vector in multi-vector. | |
| void | normWeighted (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &weights, const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| void | meanValue (const Teuchos::ArrayView< Scalar > &means) const |
| Compute mean (average) value of each vector in multi-vector. The outcome of this routine is undefined for non-floating point scalar types (e.g., int). | |
| void | multiply (Teuchos::ETransp transA, Teuchos::ETransp transB, const Scalar &alpha, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, const Scalar &beta) |
| Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B). | |
| void | elementWiseMultiply (Scalar scalarAB, const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &B, Scalar scalarThis) |
| Multiply a Vector A elementwise by a MultiVector B. | |
Attribute access functions | |
| size_t | getNumVectors () const |
| Number of columns in the multivector. | |
| size_t | getLocalLength () const |
| Local number of rows on the calling process. | |
| global_size_t | getGlobalLength () const |
| Global number of rows in the multivector. | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
| 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 the given verbosity level to a FancyOStream. | |
Xpetra specific | |
| EpetraMultiVectorT (const RCP< Epetra_MultiVector > &vec) | |
| EpetraMultiVectorT constructor to wrap a Epetra_MultiVector object. | |
| RCP< Epetra_MultiVector > | getEpetra_MultiVector () const |
| Get the underlying Epetra multivector. | |
| void | setSeed (unsigned int seed) |
| Set seed for Random function. | |
Definition at line 82 of file Xpetra_EpetraMultiVector.hpp.
typedef double Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::Scalar [private] |
Reimplemented in Xpetra::EpetraVectorT< EpetraGlobalOrdinal >.
Definition at line 85 of file Xpetra_EpetraMultiVector.hpp.
typedef int Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::LocalOrdinal [private] |
Reimplemented in Xpetra::EpetraVectorT< EpetraGlobalOrdinal >.
Definition at line 86 of file Xpetra_EpetraMultiVector.hpp.
typedef EpetraGlobalOrdinal Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::GlobalOrdinal [private] |
Reimplemented in Xpetra::EpetraVectorT< EpetraGlobalOrdinal >.
Definition at line 87 of file Xpetra_EpetraMultiVector.hpp.
typedef MultiVector<double, int, GlobalOrdinal>::node_type Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::Node [private] |
Reimplemented in Xpetra::EpetraVectorT< EpetraGlobalOrdinal >.
Definition at line 88 of file Xpetra_EpetraMultiVector.hpp.
| Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::EpetraMultiVectorT | ( | const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & | map, |
| size_t | NumVectors, | ||
| bool | zeroOut = true |
||
| ) | [inline] |
Basic MultiVector constuctor.
Definition at line 96 of file Xpetra_EpetraMultiVector.hpp.
| Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::EpetraMultiVectorT | ( | const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | source | ) | [inline] |
MultiVector copy constructor.
Definition at line 100 of file Xpetra_EpetraMultiVector.hpp.
| Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::EpetraMultiVectorT | ( | 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).
Definition at line 306 of file Xpetra_EpetraMultiVector.hpp.
| virtual Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::~EpetraMultiVectorT | ( | ) | [inline, virtual] |
MultiVector destructor.
Definition at line 107 of file Xpetra_EpetraMultiVector.hpp.
| Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::EpetraMultiVectorT | ( | const RCP< Epetra_MultiVector > & | vec | ) | [inline] |
EpetraMultiVectorT constructor to wrap a Epetra_MultiVector object.
Definition at line 265 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::replaceGlobalValue | ( | GlobalOrdinal | globalRow, |
| size_t | vectorIndex, | ||
| const Scalar & | value | ||
| ) | [inline, virtual] |
Replace value, using global (row) index.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 115 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::sumIntoGlobalValue | ( | GlobalOrdinal | globalRow, |
| size_t | vectorIndex, | ||
| const Scalar & | value | ||
| ) | [inline, virtual] |
Add value to existing value, using global (row) index.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 118 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::replaceLocalValue | ( | LocalOrdinal | myRow, |
| size_t | vectorIndex, | ||
| const Scalar & | value | ||
| ) | [inline, virtual] |
Replace value, using local (row) index.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 121 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::sumIntoLocalValue | ( | LocalOrdinal | myRow, |
| size_t | vectorIndex, | ||
| const Scalar & | value | ||
| ) | [inline, virtual] |
Add value to existing value, using local (row) index.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 124 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::putScalar | ( | const Scalar & | value | ) | [inline, virtual] |
Set all values in the multivector with the given value.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 127 of file Xpetra_EpetraMultiVector.hpp.
| Teuchos::RCP< const Vector< double, int, EpetraGlobalOrdinal, typename EpetraMultiVectorT< EpetraGlobalOrdinal >::Node > > Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getVector | ( | size_t | j | ) | const [virtual] |
Return a Vector which is a const view of column j.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 338 of file Xpetra_EpetraMultiVector.hpp.
| Teuchos::RCP< Vector< double, int, EpetraGlobalOrdinal, typename EpetraMultiVectorT< EpetraGlobalOrdinal >::Node > > Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getVectorNonConst | ( | size_t | j | ) | [virtual] |
Return a Vector which is a nonconst view of column j.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 344 of file Xpetra_EpetraMultiVector.hpp.
| Teuchos::ArrayRCP< const double > Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getData | ( | size_t | j | ) | const [virtual] |
Const view of the local values in a particular vector of this multivector.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 350 of file Xpetra_EpetraMultiVector.hpp.
| Teuchos::ArrayRCP< double > Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getDataNonConst | ( | size_t | j | ) | [virtual] |
View of the local values in a particular vector of this multivector.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 364 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::dot | ( | const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A, |
| const Teuchos::ArrayView< Scalar > & | dots | ||
| ) | const |
Compute the dot product of each corresponding pair of vectors (columns) in A and B.
Definition at line 378 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::abs | ( | const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A | ) | [inline] |
Put element-wise absolute values of input Multi-vector in target: A = abs(this).
Definition at line 155 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::reciprocal | ( | const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A | ) | [inline] |
Put element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j).
Definition at line 158 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::scale | ( | const Scalar & | alpha | ) | [inline, virtual] |
Scale in place: this = alpha*this.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 161 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::scale | ( | Teuchos::ArrayView< const Scalar > | alpha | ) | [inline, virtual] |
Scale the current values of a multi-vector, this[j] = alpha[j]*this[j].
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 164 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::update | ( | const Scalar & | alpha, |
| const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A, | ||
| const Scalar & | beta | ||
| ) | [inline] |
Update: this = beta*this + alpha*A.
Definition at line 175 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::update | ( | const Scalar & | alpha, |
| const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A, | ||
| const Scalar & | beta, | ||
| const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | B, | ||
| const Scalar & | gamma | ||
| ) | [inline] |
Update: this = gamma*this + alpha*A + beta*B.
Definition at line 178 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::norm1 | ( | const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > & | norms | ) | const |
Compute 1-norm of each vector in multi-vector.
Definition at line 386 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::norm2 | ( | const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > & | norms | ) | const |
Definition at line 389 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::normInf | ( | const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > & | norms | ) | const |
Compute Inf-norm of each vector in multi-vector.
Definition at line 392 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::normWeighted | ( | const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | weights, |
| const Teuchos::ArrayView< Teuchos::ScalarTraits< Scalar >::magnitudeType > & | norms | ||
| ) | const |
Definition at line 395 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::meanValue | ( | const Teuchos::ArrayView< Scalar > & | means | ) | const [virtual] |
Compute mean (average) value of each vector in multi-vector. The outcome of this routine is undefined for non-floating point scalar types (e.g., int).
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 403 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::multiply | ( | Teuchos::ETransp | transA, |
| Teuchos::ETransp | transB, | ||
| const Scalar & | alpha, | ||
| const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A, | ||
| const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | B, | ||
| const Scalar & | beta | ||
| ) | [inline] |
Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B).
Definition at line 196 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::elementWiseMultiply | ( | Scalar | scalarAB, |
| const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | A, | ||
| const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | B, | ||
| Scalar | scalarThis | ||
| ) | [inline] |
Multiply a Vector A elementwise by a MultiVector B.
Definition at line 199 of file Xpetra_EpetraMultiVector.hpp.
| size_t Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getNumVectors | ( | ) | const [inline, virtual] |
Number of columns in the multivector.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 207 of file Xpetra_EpetraMultiVector.hpp.
| size_t Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getLocalLength | ( | ) | const [inline, virtual] |
Local number of rows on the calling process.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 210 of file Xpetra_EpetraMultiVector.hpp.
| global_size_t Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getGlobalLength | ( | ) | const [inline, virtual] |
Global number of rows in the multivector.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 213 of file Xpetra_EpetraMultiVector.hpp.
| std::string Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::description | ( | ) | const [virtual] |
A simple one-line description of this object.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Reimplemented in Xpetra::EpetraVectorT< EpetraGlobalOrdinal >.
Definition at line 406 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::describe | ( | Teuchos::FancyOStream & | out, |
| const Teuchos::EVerbosityLevel | verbLevel = Teuchos::Describable::verbLevel_default |
||
| ) | const [virtual] |
Print the object with the given verbosity level to a FancyOStream.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Reimplemented in Xpetra::EpetraVectorT< EpetraGlobalOrdinal >.
Definition at line 413 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::randomize | ( | bool | bUseXpetraImplementation = false | ) | [inline, virtual] |
Set multi-vector values to random numbers.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 229 of file Xpetra_EpetraMultiVector.hpp.
| Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getMap | ( | ) | const [inline, virtual] |
Implements DistObject interface.
Access function for the Tpetra::Map this DistObject was constructed with.
Implements Xpetra::DistObject< double, int, EpetraGlobalOrdinal, typename Map< int, EpetraGlobalOrdinal >::node_type >.
Definition at line 242 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::doImport | ( | const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | source, |
| const Import< LocalOrdinal, GlobalOrdinal, Node > & | importer, | ||
| CombineMode | CM | ||
| ) |
Definition at line 419 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::doExport | ( | const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | dest, |
| const Import< LocalOrdinal, GlobalOrdinal, Node > & | importer, | ||
| CombineMode | CM | ||
| ) |
Definition at line 431 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::doImport | ( | const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | source, |
| const Export< LocalOrdinal, GlobalOrdinal, Node > & | exporter, | ||
| CombineMode | CM | ||
| ) |
Import (using an Exporter).
Definition at line 443 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::doExport | ( | const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | dest, |
| const Export< LocalOrdinal, GlobalOrdinal, Node > & | exporter, | ||
| CombineMode | CM | ||
| ) |
Export (using an Importer).
Definition at line 455 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::replaceMap | ( | const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & | map | ) |
Replace the underlying Map in place.
Definition at line 467 of file Xpetra_EpetraMultiVector.hpp.
| RCP<Epetra_MultiVector> Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::getEpetra_MultiVector | ( | ) | const [inline] |
Get the underlying Epetra multivector.
Definition at line 268 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::setSeed | ( | unsigned int | seed | ) | [inline, virtual] |
Set seed for Random function.
Implements Xpetra::MultiVector< double, int, EpetraGlobalOrdinal >.
Definition at line 271 of file Xpetra_EpetraMultiVector.hpp.
| void Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::assign | ( | const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | rhs | ) | [protected, virtual] |
Implementation of the assignment operator (operator=); does a deep copy.
Definition at line 483 of file Xpetra_EpetraMultiVector.hpp.
RCP< Epetra_MultiVector > Xpetra::EpetraMultiVectorT< EpetraGlobalOrdinal >::vec_ [private] |
The Epetra_MultiVector which this class wraps.
Definition at line 288 of file Xpetra_EpetraMultiVector.hpp.
1.7.6.1