49 bool is_multi_vec_transposed) :
52 product_mv_->productComm()),
53 product_mv(product_mv_)
61 if (is_multi_vec_transposed) {
64 range_map = local_map;
67 domain_map = local_map;
74 for (
int i=0; i<this->
size(); i++) {
77 product_mv->getCoeffPtr(i), is_multi_vec_transposed));
87 product_mv(v.product_mv)
void setCoeffPtr(ordinal_type i, const Teuchos::RCP< Epetra_Operator > &c)
Set coefficient i to c.
ProductEpetraMultiVectorOperator(const Teuchos::RCP< ProductEpetraMultiVector > &product_mv, bool is_multi_vec_transposed)
Create ProductEpetraOperator out of ProductEpetraMultiVector.
A container class for products of Epetra_Vector's.
An adaptor that supplies the operator interface to a multi-vector.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
A container class for products of Epetra_Vector's.
virtual ~ProductEpetraMultiVectorOperator()
Destructor.
A product (in the mathematical sense) container class whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
void setup(const Teuchos::RCP< const Epetra_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map)
Second stage of setup.
Teuchos::RCP< ProductEpetraMultiVector > product_mv
The product multi-vector.
Teuchos::RCP< ProductEpetraMultiVector > productMultiVector() const
Get product multi vector.
ProductEpetraOperator & operator=(const ProductEpetraOperator &v)
Assignment.
ordinal_type size() const
Return size.
ProductEpetraMultiVectorOperator & operator=(const ProductEpetraMultiVectorOperator &v)
Assignment.