#include <Xpetra_BlockedVector.hpp>
Public Types | |
typedef Scalar | scalar_type |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
Public Types inherited from Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
typedef Scalar | scalar_type |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
Public Types inherited from Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
typedef Scalar | scalar_type |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
Public Types inherited from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
typedef Scalar | scalar_type |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
Public Member Functions | |
Teuchos::RCP< const Map > | getMap () const |
Access function for the underlying Map this DistObject was constructed with. More... | |
Teuchos::RCP< MultiVector > | getMultiVector (size_t r) const |
return partial Vector associated with block row r More... | |
Teuchos::RCP< MultiVector > | getMultiVector (size_t r, bool bThyraMode) const |
return partial Vector associated with block row r More... | |
void | setMultiVector (size_t r, Teuchos::RCP< const Vector > v, bool bThyraMode) |
set partial Vector associated with block row r More... | |
Teuchos::RCP< MultiVector > | Merge () const |
merge BlockedVector blocks to a single Vector More... | |
Public Member Functions inherited from Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
virtual | ~Vector () |
Destructor. More... | |
Public Member Functions inherited from Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
virtual | ~MultiVector () |
Destructor. More... | |
MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | operator= (const MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &rhs) |
Assignment operator: Does a deep copy. More... | |
Public Member Functions inherited from Xpetra::DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
virtual | ~DistObject () |
Destructor. 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) |
Public Member Functions inherited from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > | |
Teuchos::RCP< const Xpetra::BlockedMap < LocalOrdinal, GlobalOrdinal, Node > > | getBlockedMap () const |
Access function for the underlying Map this DistObject was constructed with. More... | |
Teuchos::RCP< MultiVector > | getMultiVector (size_t r) const |
return partial multivector associated with block row r More... | |
Teuchos::RCP< MultiVector > | getMultiVector (size_t r, bool bThyraMode) const |
return partial multivector associated with block row r More... | |
void | setMultiVector (size_t r, Teuchos::RCP< const MultiVector > v, bool bThyraMode) |
set partial multivector associated with block row r More... | |
Teuchos::RCP< MultiVector > | Merge () const |
merge BlockedMultiVector blocks to a single MultiVector More... | |
BlockedMultiVector (const Teuchos::RCP< const BlockedMap > &map, size_t NumVectors, bool zeroOut=true) | |
Constructor. More... | |
BlockedMultiVector (Teuchos::RCP< const Xpetra::BlockedMap< LocalOrdinal, GlobalOrdinal, Node > > bmap, Teuchos::RCP< const MultiVector > v) | |
BlockedMultiVector (Teuchos::RCP< const Xpetra::BlockedMap< LocalOrdinal, GlobalOrdinal, Node > > bmap, Teuchos::RCP< MultiVector > v) | |
BlockedMultiVector (Teuchos::RCP< const Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > > mapExtractor, Teuchos::RCP< const MultiVector > v) | |
BlockedMultiVector (Teuchos::RCP< const Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > > mapExtractor, Teuchos::RCP< MultiVector > v) | |
BlockedMultiVector (const Teuchos::RCP< const BlockedMap > &map, std::vector< Teuchos::RCP< MultiVector > > &vin) | |
virtual | ~BlockedMultiVector () |
Destructor. More... | |
BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | operator= (const MultiVector &rhs) |
Assignment operator: Does a deep copy. More... | |
Protected Member Functions | |
virtual void | assign (const MultiVector &rhs) |
Implementation of the assignment operator (operator=); does a deep copy. More... | |
Constructor/Destructor Methods | |
BlockedVector (const Teuchos::RCP< const BlockedMap > &map, bool zeroOut=true) | |
Constructor. More... | |
BlockedVector (Teuchos::RCP< const Xpetra::BlockedMap< LocalOrdinal, GlobalOrdinal, Node > > bmap, Teuchos::RCP< const Vector > v) | |
BlockedVector (Teuchos::RCP< const Xpetra::BlockedMap< LocalOrdinal, GlobalOrdinal, Node > > bmap, Teuchos::RCP< Vector > v) | |
BlockedVector (Teuchos::RCP< const Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > > mapExtractor, Teuchos::RCP< const Vector > v) | |
BlockedVector (Teuchos::RCP< const Xpetra::MapExtractor< Scalar, LocalOrdinal, GlobalOrdinal, Node > > mapExtractor, Teuchos::RCP< Vector > v) | |
virtual | ~BlockedVector () |
Destructor. More... | |
BlockedVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & | operator= (const MultiVector &rhs) |
Assignment operator: Does a deep copy. More... | |
Post-construction modification routines | |
virtual void | replaceGlobalValue (GlobalOrdinal globalRow, size_t vectorIndex, const Scalar &value) |
Replace value, using global (row) index. More... | |
virtual void | sumIntoGlobalValue (GlobalOrdinal globalRow, size_t vectorIndex, const Scalar &value) |
Add value to existing value, using global (row) index. More... | |
virtual void | replaceLocalValue (LocalOrdinal myRow, size_t vectorIndex, const Scalar &value) |
Replace value, using local (row) index. More... | |
virtual void | sumIntoLocalValue (LocalOrdinal myRow, size_t vectorIndex, const Scalar &value) |
Add value to existing value, using local (row) index. More... | |
virtual void | replaceGlobalValue (GlobalOrdinal globalRow, const Scalar &value) |
Replace value, using global (row) index. More... | |
virtual void | sumIntoGlobalValue (GlobalOrdinal globalRow, const Scalar &value) |
Add value to existing value, using global (row) index. More... | |
virtual void | replaceLocalValue (LocalOrdinal myRow, const Scalar &value) |
Replace value, using local (row) index. More... | |
virtual void | sumIntoLocalValue (LocalOrdinal myRow, const Scalar &value) |
Add value to existing value, using local (row) index. More... | |
virtual void | putScalar (const Scalar &value) |
Set all values in the vector with the given value. More... | |
Data Copy and View get methods | |
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. More... | |
virtual Teuchos::RCP < Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | getVectorNonConst (size_t j) |
Return a Vector which is a nonconst view of column j. More... | |
virtual Teuchos::ArrayRCP < const Scalar > | getData (size_t j) const |
Const view of the local values in a particular vector of this vector. More... | |
virtual Teuchos::ArrayRCP< Scalar > | getDataNonConst (size_t j) |
View of the local values in a particular vector of this vector. More... | |
Mathematical methods | |
virtual void | dot (const MultiVector &A, const Teuchos::ArrayView< Scalar > &dots) const |
Compute dot product of each corresponding pair of vectors, dots[i] = this[i].dot(A[i]). More... | |
virtual Scalar | dot (const Vector &A) const |
Computes dot product of this Vector against input Vector x. More... | |
virtual void | abs (const MultiVector &A) |
Put element-wise absolute values of input vector in target: A = abs(this). More... | |
virtual void | reciprocal (const MultiVector &A) |
Put element-wise reciprocal values of input vector in target, this(i,j) = 1/A(i,j). More... | |
virtual void | scale (const Scalar &alpha) |
Scale the current values of a vector, this = alpha*this. More... | |
virtual void | scale (Teuchos::ArrayView< const Scalar > alpha) |
Scale the current values of a vector, this[j] = alpha[j]*this[j]. More... | |
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. More... | |
virtual void | update (const Scalar &alpha, const MultiVector &A, const Scalar &beta, const MultiVector &B, const Scalar &gamma) |
Update vector with scaled values of A and B, this = gamma*this + alpha*A + beta*B. More... | |
virtual Teuchos::ScalarTraits < Scalar >::magnitudeType | norm1 () const |
Compute 1-norm of vector. More... | |
virtual Teuchos::ScalarTraits < Scalar >::magnitudeType | norm2 () const |
Compute 2-norm of vector. More... | |
virtual Teuchos::ScalarTraits < Scalar >::magnitudeType | normInf () const |
Compute Inf-norm in vector. More... | |
virtual void | norm1 (const Teuchos::ArrayView< typename Teuchos::ScalarTraits< Scalar >::magnitudeType > &norms) const |
Compute 1-norm of each vector in multi-vector. More... | |
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. More... | |
virtual void | meanValue (const Teuchos::ArrayView< Scalar > &) const |
Compute mean (average) value of each vector in vector. The outcome of this routine is undefined for non-floating point scalar types (e.g., int). More... | |
virtual Scalar | meanValue () const |
Compute mean (average) value of this Vector. More... | |
virtual void | multiply (Teuchos::ETransp, Teuchos::ETransp, const Scalar &, const Vector &, const Vector &, const Scalar &) |
Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B). More... | |
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). More... | |
virtual void | elementWiseMultiply (Scalar, const Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const MultiVector &, Scalar) |
Element-wise multiply of a Vector A with a MultiVector B. More... | |
virtual void | elementWiseMultiply (Scalar, const Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &A, const Vector &B, Scalar) |
Element-wise multiply of a Vector A with a Vector B. More... | |
Attribute access functions | |
virtual size_t | getNumVectors () const |
Number of columns in the Vector. More... | |
virtual size_t | getLocalLength () const |
Local number of rows on the calling process. More... | |
virtual global_size_t | getGlobalLength () const |
Global number of rows in the Vector. More... | |
virtual bool | isSameSize (const Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &) const |
Local number of rows on the calling process. More... | |
Overridden from Teuchos::Describable | |
virtual std::string | description () const |
A simple one-line description of this object. More... | |
virtual 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. More... | |
virtual void | replaceMap (const RCP< const Map > &map) |
virtual void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Import &, CombineMode) |
Import. More... | |
virtual void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Import &, CombineMode) |
Export. More... | |
virtual void | doImport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Export &, CombineMode) |
Import (using an Exporter). More... | |
virtual void | doExport (const DistObject< Scalar, LocalOrdinal, GlobalOrdinal, Node > &, const Export &, CombineMode) |
Export (using an Importer). More... | |
Xpetra specific | |
virtual void | setSeed (unsigned int seed) |
Set seed for Random function. More... | |
virtual void | randomize (bool bUseXpetraImplementation=false) |
Set multi-vector values to random numbers. More... | |
virtual void | Xpetra_randomize () |
Set vector values to random numbers. XPetra implementation. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default |
Definition at line 71 of file Xpetra_BlockedVector.hpp.
typedef Scalar Xpetra::BlockedVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::scalar_type |
Definition at line 76 of file Xpetra_BlockedVector.hpp.
typedef LocalOrdinal Xpetra::BlockedVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_ordinal_type |
Definition at line 77 of file Xpetra_BlockedVector.hpp.
typedef GlobalOrdinal Xpetra::BlockedVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::global_ordinal_type |
Definition at line 78 of file Xpetra_BlockedVector.hpp.
typedef Node Xpetra::BlockedVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >::node_type |
Definition at line 79 of file Xpetra_BlockedVector.hpp.
|
inline |
Constructor.
Const version of constructor which accepts a const version of a blocked map
map | BlockedMap defining the block structure of the vector |
zeroOut | If true initialize vector with zeros |
Definition at line 109 of file Xpetra_BlockedVector.hpp.
|
inline |
Const version of constructor which accepts a const version of the vector
bmap | BlockedMap object containing information about the block splitting |
v | Vector that is to be splitted into a blocked vector |
Definition at line 124 of file Xpetra_BlockedVector.hpp.
|
inline |
NonConst version of constructor which accepts a const version of the vector
bmap | BlockedMap object containing information about the block splitting |
v | Vector that is to be splitted into a blocked vector |
Definition at line 139 of file Xpetra_BlockedVector.hpp.
|
inline |
Const version of constructor which accepts a const version of the vector
mapExtractor | MapExtractor object containing information about the block splitting |
v | Vector that is to be splitted into a blocked vector |
Definition at line 154 of file Xpetra_BlockedVector.hpp.
|
inline |
Non-const version of constructor which accepts a non-const version of the vector
mapExtractor | MapExtractor object containing information about the block splitting |
v | Vector that is to be splitted into a blocked vector |
Definition at line 169 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Destructor.
Definition at line 174 of file Xpetra_BlockedVector.hpp.
|
inline |
Assignment operator: Does a deep copy.
The assignment operator does a deep copy, just like subclasses' copy constructors.
*this
and the input argument are instances of the same subclass. Definition at line 184 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Replace value, using global (row) index.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 194 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Add value to existing value, using global (row) index.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 199 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Replace value, using local (row) index.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 204 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Add value to existing value, using local (row) index.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 209 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Replace value, using global (row) index.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 214 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Add value to existing value, using global (row) index.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 219 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Replace value, using local (row) index.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 224 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Add value to existing value, using local (row) index.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 229 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Set all values in the vector with the given value.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 235 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Return a Vector which is a const view of column j.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 245 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Return a Vector which is a nonconst view of column j.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 250 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Const view of the local values in a particular vector of this vector.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 255 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
View of the local values in a particular vector of this vector.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 260 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute dot product of each corresponding pair of vectors, dots[i] = this[i].dot(A[i]).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 270 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Computes dot product of this Vector against input Vector x.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 275 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Put element-wise absolute values of input vector in target: A = abs(this).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 283 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Put element-wise reciprocal values of input vector in target, this(i,j) = 1/A(i,j).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 289 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Scale the current values of a vector, this = alpha*this.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 295 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Scale the current values of a vector, this[j] = alpha[j]*this[j].
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 301 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Update multi-vector values with scaled values of A, this = beta*this + alpha*A.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 306 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Update vector with scaled values of A and B, this = gamma*this + alpha*A + beta*B.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 313 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute 1-norm of vector.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 319 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute 2-norm of vector.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 327 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute Inf-norm in vector.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 335 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute 1-norm of each vector in multi-vector.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 343 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 348 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute Inf-norm of each vector in multi-vector.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 353 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute mean (average) value of each vector in vector. The outcome of this routine is undefined for non-floating point scalar types (e.g., int).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 358 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Compute mean (average) value of this Vector.
Implements Xpetra::Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 362 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B).
Definition at line 367 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Matrix-matrix multiplication: this = beta*this + alpha*op(A)*op(B).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 371 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Element-wise multiply of a Vector A with a MultiVector B.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 376 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Element-wise multiply of a Vector A with a Vector B.
Definition at line 381 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Number of columns in the Vector.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 409 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Local number of rows on the calling process.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 414 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Global number of rows in the Vector.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 420 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Local number of rows on the calling process.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 425 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
A simple one-line description of this object.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 436 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Print the object with the given verbosity level to a FancyOStream.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 441 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 447 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 452 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 457 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Import (using an Exporter).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 462 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Export (using an Importer).
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 467 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Set seed for Random function.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 477 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Set multi-vector values to random numbers.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 484 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Set vector values to random numbers. XPetra implementation.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 491 of file Xpetra_BlockedVector.hpp.
|
inlinevirtual |
Access function for the underlying Map this DistObject was constructed with.
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 541 of file Xpetra_BlockedVector.hpp.
|
inline |
return partial Vector associated with block row r
Definition at line 544 of file Xpetra_BlockedVector.hpp.
|
inline |
return partial Vector associated with block row r
Definition at line 549 of file Xpetra_BlockedVector.hpp.
|
inline |
set partial Vector associated with block row r
Definition at line 554 of file Xpetra_BlockedVector.hpp.
|
inline |
merge BlockedVector blocks to a single Vector
Definition at line 560 of file Xpetra_BlockedVector.hpp.
|
inlineprotectedvirtual |
Implementation of the assignment operator (operator=); does a deep copy.
Each subclass must implement this. This includes Xpetra::EpetraVector and Xpetra::TpetraVector as well as Xpetra::BockedVector
Reimplemented from Xpetra::BlockedMultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 572 of file Xpetra_BlockedVector.hpp.