44 #ifndef STOKHOS_VECTORORTHOGPOLYTRAITSEPETRA_HPP
45 #define STOKHOS_VECTORORTHOGPOLYTRAITSEPETRA_HPP
51 #include "EpetraExt_BlockVector.h"
165 vec.PutScalar(val); }
174 static std::ostream&
print(std::ostream& os,
205 for (
int j=0;
j<num_col;
j++)
206 mat[i][
j] += a*x[i][
j];
248 os <<
"Epetra_Operator" << std::endl;
258 #endif // STOKHOS_VECTORORTHOGPOLYTRAITSEPETRA_HPP
int NumMyRowEntries(int MyRow, int &NumEntries) const
EpetraExt::BlockVector * block_vec
static std::ostream & print(std::ostream &os, const Epetra_Vector &vec)
Print vector.
const Epetra_BlockMap * map
EpetraCrsMatrixCloner cloner_type
Typename of cloner.
const Epetra_Vector * vec
static void init(Epetra_MultiVector &vec, double val)
Initialize vector.
virtual void Print(std::ostream &os) const
static std::ostream & print(std::ostream &os, const Epetra_Operator &op)
Print operator.
const Epetra_CrsMatrix & mat
double value_type
Typename of values.
int ordinal_type
Typename of ordinals.
double value_type
Typename of values.
int ordinal_type
Typename of ordinals.
Cloner for Epetra_Vector coefficients.
EpetraVectorCloner(const Epetra_BlockMap &map_)
EpetraMultiVectorCloner(const Epetra_BlockMap &map_, int num_vectors)
const Epetra_MultiVector * vec
static std::ostream & print(std::ostream &os, const Epetra_CrsMatrix &mat)
Print matrix.
Cloner for Epetra_CrsMatrix coefficients.
double value_type
Typename of values.
int PutScalar(double ScalarConstant)
Base traits definition for ProductContainer.
EpetraCrsMatrixCloner(const Epetra_CrsMatrix &mat_)
Teuchos::RCP< Epetra_MultiVector > clone(int i) const
static void init(Epetra_Vector &vec, double val)
Initialize vector.
Cloner for Epetra_Operator coefficients.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
int ordinal_type
Typename of ordinals.
static void update(Epetra_Vector &vec, double a, const Epetra_Vector &x)
Update vector.
Teuchos::RCP< Epetra_Vector > clone(int i) const
static void init(Epetra_CrsMatrix &mat, double val)
Initialize matrix.
static std::ostream & print(std::ostream &os, const Epetra_MultiVector &vec)
Print vector.
virtual void Print(std::ostream &os) const
const Epetra_BlockMap * map
double value_type
Typename of values.
static void init(Epetra_Operator &op, double val)
Initialize operator.
EpetraMultiVectorCloner cloner_type
Typename of cloner.
static void update(Epetra_Operator &op, double a, const Epetra_Operator &x_op)
Update operator.
Teuchos::RCP< Epetra_CrsMatrix > clone(int i) const
int ordinal_type
Typename of ordinals.
EpetraVectorCloner(const Epetra_Vector &vec_)
EpetraVectorCloner(EpetraExt::BlockVector &block_vec_)
EpetraMultiVectorCloner(const Epetra_MultiVector &vec_)
static void update(Epetra_MultiVector &vec, double a, const Epetra_MultiVector &x)
Update vector.
Cloner for Epetra_MultiVector coefficients.
static void update(Epetra_CrsMatrix &mat, double a, const Epetra_CrsMatrix &x)
Update matrix.
void update(const ValueType &alpha, VectorType &x, const ValueType &beta, const VectorType &y)
EpetraOperatorCloner cloner_type
Typename of cloner.
EpetraVectorCloner cloner_type
Typename of cloner.