52 template<
class EpetraGlobalOrdinal>
55 template<
class EpetraGlobalOrdinal>
58 template<
class EpetraGlobalOrdinal>
61 template<
class EpetraGlobalOrdinal>
64 template<
class EpetraGlobalOrdinal>
67 template<
class EpetraGlobalOrdinal>
80 template<
class EpetraGlobalOrdinal>
83 template<
class EpetraGlobalOrdinal>
86 template<
class EpetraGlobalOrdinal>
89 template<
class EpetraGlobalOrdinal>
100 template<
class EpetraGlobalOrdinal>
108 template<
class EpetraGlobalOrdinal>
112 std::ostringstream oss;
114 oss <<
"{length="<<this->getGlobalLength()
119 template<
class EpetraGlobalOrdinal>
124 getEpetra_Vector()->Print (out);
128 template<
class EpetraGlobalOrdinal>
131 internalRefToBaseMV_(mv)
139 template<
class GlobalOrdinal>
142 return *tX.getEpetra_Vector();
145 template<
class GlobalOrdinal>
148 return *tX.getEpetra_Vector();
152 #ifndef XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES 158 #ifndef XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES template const Epetra_CrsGraph & toEpetra< long long >(const RCP< const CrsGraph< int, long long > > &graph)
void sumIntoGlobalValue(GlobalOrdinal globalRow, const Scalar &value)
Adds specified value to existing value at the specified location.
Scalar dot(const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &a) const
Computes dot product of this Vector against input Vector x.
const Epetra_CrsGraph & toEpetra(const RCP< const CrsGraph< int, GlobalOrdinal > > &graph)
Teuchos::ScalarTraits< Scalar >::magnitudeType normWeighted(const Vector< Scalar, LocalOrdinal, GlobalOrdinal, Node > &weights) const
Compute Weighted 2-norm (RMS Norm) of this Vector.
void replaceLocalValue(LocalOrdinal myRow, const Scalar &value)
Replace current value at the specified location with specified values.
void sumIntoLocalValue(LocalOrdinal myRow, const Scalar &value)
Adds specified value to existing value at the specified location.
Teuchos::ScalarTraits< Scalar >::magnitudeType norm2() const
Compute 2-norm of this Vector.
template const Epetra_CrsGraph & toEpetra< int >(const RCP< const CrsGraph< int, int > > &graph)
EpetraVectorT(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, bool zeroOut=true)
Sets all vector entries to zero.
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.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual std::string description() const
Teuchos::ScalarTraits< Scalar >::magnitudeType norm1() const
Return 1-norm of this Vector.
std::string description() const
Return a simple one-line description of this object.
Scalar meanValue() const
Compute mean (average) value of this Vector.
#define XPETRA_DYNAMIC_CAST(type, obj, newObj, exceptionMsg)
void replaceGlobalValue(GlobalOrdinal globalRow, const Scalar &value)
Replace current value at the specified location with specified value.
#define XPETRA_MONITOR(funcName)
EpetraGlobalOrdinal GlobalOrdinal
RCP< Epetra_MultiVector > getEpetra_MultiVector() const
Get the underlying Epetra multivector.
Teuchos::ScalarTraits< Scalar >::magnitudeType normInf() const
Compute Inf-norm of this Vector.