Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_EpetraMultiVectorOperatorOrthogPoly.cpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
11 
15  bool is_multi_vec_transposed) :
17  VectorOrthogPoly<Epetra_Operator>(sg_mv_->basis(), sg_mv_->map()),
18  ProductEpetraOperator(sg_mv_->map(), sg_mv_->productComm()),
19  EpetraOperatorOrthogPoly(sg_mv_->basis(), sg_mv_->map(),
20  sg_mv_->productComm()),
21  ProductEpetraMultiVectorOperator(sg_mv_, is_multi_vec_transposed),
22  sg_mv(sg_mv_)
23 {
24  // Now need to call setup() as it is called in
25  // ProductEpetraMultiVectorOperator constructor
26 }
27 
36 {
37  sg_mv = v.sg_mv;
38 }
39 
42 
47  this->basis_ = v.basis_;
48  sg_mv = v.sg_mv;
49  return *this;
50 }
51 
55 {
56  return sg_mv;
57 }
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
A container class for products of Epetra_Vector&#39;s.
EpetraMultiVectorOperatorOrthogPoly & operator=(const EpetraMultiVectorOperatorOrthogPoly &v)
Assignment.
EpetraMultiVectorOperatorOrthogPoly(const Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > &sg_mv, bool is_multi_vec_transposed)
Create a polynomial for basis basis where each coefficient is generated from the supplied map...
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
A container class for products of Epetra_Vector&#39;s.
Teuchos::RCP< EpetraMultiVectorOrthogPoly > multiVectorOrthogPoly() const
Get multi vector orthog poly.
Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > basis_
Basis.
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.
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
Teuchos::RCP< Stokhos::EpetraMultiVectorOrthogPoly > sg_mv
Multivector orthog poly.
ProductEpetraMultiVectorOperator & operator=(const ProductEpetraMultiVectorOperator &v)
Assignment.