|
virtual void | setSeed (unsigned int seed) |
| Set seed for Random function.
|
|
virtual void | randomize (bool bUseXpetraImplementation=false) |
| Set multi-vector values to random numbers.
|
|
virtual void | randomize (const Scalar &minVal, const Scalar &maxVal, bool bUseXpetraImplementation=false) |
| Set multi-vector values to random numbers.
|
|
virtual void | Xpetra_randomize () |
| Set multi-vector values to random numbers. XPetra implementation.
|
|
virtual void | Xpetra_randomize (const Scalar &minVal, const Scalar &maxVal) |
| Set multi-vector values to random numbers. XPetra implementation.
|
|
Teuchos::RCP< const Map > | getMap () const |
| Access function for the underlying Map this DistObject was constructed with.
|
|
Teuchos::RCP< const Xpetra::BlockedMap< LocalOrdinal, GlobalOrdinal, Node > > | getBlockedMap () const |
| Access function for the underlying Map this DistObject was constructed with.
|
|
Teuchos::RCP< MultiVector > | getMultiVector (size_t r) const |
| return partial multivector associated with block row r
|
|
Teuchos::RCP< MultiVector > | getMultiVector (size_t r, bool bThyraMode) const |
| return partial multivector associated with block row r
|
|
void | setMultiVector (size_t r, Teuchos::RCP< const MultiVector > v, bool bThyraMode) |
| set partial multivector associated with block row r
|
|
Teuchos::RCP< MultiVector > | Merge () const |
| merge BlockedMultiVector blocks to a single MultiVector
|
|
| BlockedMultiVector (const Teuchos::RCP< const BlockedMap > &map, size_t NumVectors, bool zeroOut=true) |
| Constructor.
|
|
| BlockedMultiVector (Teuchos::RCP< const Xpetra::BlockedMap< LocalOrdinal, GlobalOrdinal, Node > > bmap, Teuchos::RCP< const MultiVector > v) |
|
| BlockedMultiVector (Teuchos::RCP< const Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > > mapExtractor, Teuchos::RCP< const MultiVector > v) |
|
| BlockedMultiVector (const Teuchos::RCP< const BlockedMap > &map, std::vector< Teuchos::RCP< MultiVector > > &vin) |
|
virtual | ~BlockedMultiVector () |
| Destructor.
|
|
BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | operator= (const MultiVector &rhs) |
| Assignment operator: Does a deep copy.
|
|
virtual void | replaceGlobalValue (GlobalOrdinal, size_t, const Scalar &) |
| Replace value, using global (row) index.
|
|
virtual void | sumIntoGlobalValue (GlobalOrdinal, size_t, const Scalar &) |
| Add value to existing value, using global (row) index.
|
|
virtual void | replaceLocalValue (LocalOrdinal, size_t, const Scalar &) |
| Replace value, using local (row) index.
|
|
virtual void | sumIntoLocalValue (LocalOrdinal, size_t, const Scalar &) |
| Add value to existing value, using local (row) index.
|
|
virtual void | putScalar (const Scalar &value) |
| Set all values in the multivector with the given value.
|
|
virtual Teuchos::RCP< const Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getVector (size_t j) const |
| Return a Vector which is a const view of column j.
|
|
virtual Teuchos::RCP< Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getVectorNonConst (size_t j) |
| Return a Vector which is a nonconst view of column j.
|
|
virtual Teuchos::ArrayRCP< const Scalar > | getData (size_t j) const |
| Const view of the local values in a particular vector of this multivector.
|
|
virtual Teuchos::ArrayRCP< Scalar > | getDataNonConst (size_t j) |
| View of the local values in a particular vector of this multivector.
|
|
virtual void | dot (const MultiVector &, const Teuchos::ArrayView< Scalar > &) const |
| Compute dot product of each corresponding pair of vectors, dots[i] = this[i].dot(A[i]).
|
|
virtual void | abs (const MultiVector &) |
| Put element-wise absolute values of input Multi-vector in target: A = abs(this).
|
|
virtual void | reciprocal (const MultiVector &) |
| Put element-wise reciprocal values of input Multi-vector in target, this(i,j) = 1/A(i,j).
|
|
virtual void | scale (const Scalar &alpha) |
| Scale the current values of a multi-vector, this = alpha*this.
|
|
virtual void | scale (Teuchos::ArrayView< const Scalar > alpha) |
| Scale the current values of a multi-vector, this[j] = alpha[j]*this[j].
|
|
virtual void | update (const Scalar &alpha, const MultiVector &A, const Scalar &beta) |
| Update multi-vector values with scaled values of A, this = beta*this + alpha*A.
|
|
virtual void | update (const Scalar &alpha, const MultiVector &A, const Scalar &beta, const MultiVector &B, const Scalar &gamma) |
| Update multi-vector with scaled values of A and B, this = gamma*this + alpha*A + beta*B.
|
|
virtual void | norm1 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| Compute 1-norm of each vector in multi-vector.
|
|
virtual void | norm2 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
|
virtual void | normInf (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
| Compute Inf-norm of each vector in multi-vector.
|
|
virtual void | meanValue (const Teuchos::ArrayView< Scalar > &) 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).
|
|
virtual void | multiply (Teuchos::ETransp, Teuchos::ETransp, const Scalar &, const MultiVector &, const MultiVector &, const Scalar &) |
| Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B).
|
|
virtual void | elementWiseMultiply (Scalar scalarAB, const Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const MultiVector &B, Scalar scalarThis) |
| Element-wise multiply of a Vector A with a MultiVector B.
|
|
virtual size_t | getNumVectors () const |
| Number of columns in the multivector.
|
|
virtual size_t | getLocalLength () const |
| Local number of rows on the calling process.
|
|
virtual global_size_t | getGlobalLength () const |
| Global number of rows in the multivector.
|
|
virtual bool | isSameSize (const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &vec) const |
| Local number of rows on the calling process.
|
|
virtual void | replaceMap (const RCP< const Map > &map) |
|
virtual void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Import &, CombineMode) |
| Import.
|
|
virtual void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Import &, CombineMode) |
| Export.
|
|
virtual void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Export &, CombineMode) |
| Import (using an Exporter).
|
|
virtual void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Export &, CombineMode) |
| Export (using an Importer).
|
|
virtual dual_view_type::t_host_const_um | getHostLocalView (Access::ReadOnlyStruct) const |
|
virtual dual_view_type::t_dev_const_um | getDeviceLocalView (Access::ReadOnlyStruct) const |
|
virtual dual_view_type::t_host_um | getHostLocalView (Access::OverwriteAllStruct) const |
|
virtual dual_view_type::t_dev_um | getDeviceLocalView (Access::OverwriteAllStruct) const |
|
virtual dual_view_type::t_host_um | getHostLocalView (Access::ReadWriteStruct) const |
|
virtual dual_view_type::t_dev_um | getDeviceLocalView (Access::ReadWriteStruct) const |
|
virtual | ~MultiVector () |
| Destructor.
|
|
MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | operator= (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &rhs) |
| Assignment operator: Does a deep copy.
|
|
virtual | ~DistObject () |
| Destructor.
|
|
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").
|
|
virtual void | beginImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Import data into this object using an Import object ("forward mode").
|
|
virtual void | endImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Import data into this object using an Import object ("forward mode").
|
|
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").
|
|
virtual void | beginExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Export data into this object using an Export object ("forward mode").
|
|
virtual void | endExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Export data into this object using an Export object ("forward mode").
|
|
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").
|
|
virtual void | beginImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Import data into this object using an Export object ("reverse mode").
|
|
virtual void | endImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
| Import data into this object using an Export object ("reverse mode").
|
|
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").
|
|
virtual void | beginExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Export data into this object using an Import object ("reverse mode").
|
|
virtual void | endExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
| Export data into this object using an Import object ("reverse mode").
|
|
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 () |
|
| LabeledObject () |
|
virtual | ~LabeledObject () |
|
virtual void | setObjectLabel (const std::string &objectLabel) |
|
virtual std::string | getObjectLabel () const |
|
static const EVerbosityLevel | verbLevel_default |
|
virtual void | assign (const MultiVector &rhs) |
| Implementation of the assignment operator (operator=); does a deep copy.
|
|