Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_EpetraOperatorOrthogPoly.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  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
16  const Teuchos::RCP<const Epetra_Map>& domain_base_map,
17  const Teuchos::RCP<const Epetra_Map>& range_base_map,
18  const Teuchos::RCP<const EpetraExt::MultiComm>& product_comm) :
20  VectorOrthogPoly<Epetra_Operator>(basis, block_map),
21  ProductEpetraOperator(block_map, domain_base_map, range_base_map,
22  product_comm)
23 {
24 }
25 
29  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
30  const Teuchos::RCP<const Epetra_Map>& domain_base_map,
31  const Teuchos::RCP<const Epetra_Map>& range_base_map,
32  const Teuchos::RCP<const Epetra_Map>& product_range_map,
33  const Teuchos::RCP<const EpetraExt::MultiComm>& product_comm) :
35  VectorOrthogPoly<Epetra_Operator>(basis, block_map),
36  ProductEpetraOperator(block_map, domain_base_map, range_base_map,
37  product_range_map, product_comm)
38 {
39 }
40 
46 {
47 }
48 
51 
56  this->basis_ = v.basis_;
57  return *this;
58 }
59 
63  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
64  const Teuchos::RCP<const EpetraExt::MultiComm>& product_comm_) :
66  VectorOrthogPoly<Epetra_Operator>(basis, block_map),
67  ProductEpetraOperator(block_map, product_comm_)
68 {
69 }
70 
71 void
73 setup(const Teuchos::RCP<const Epetra_Map>& domain_base_map,
74  const Teuchos::RCP<const Epetra_Map>& range_base_map)
75 {
76  ProductEpetraOperator::setup(domain_base_map, range_base_map);
77 }
void setup(const Teuchos::RCP< const Epetra_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map)
Second stage of setup.
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
EpetraOperatorOrthogPoly(const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, const Teuchos::RCP< const Epetra_BlockMap > &block_map, const Teuchos::RCP< const Epetra_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map, const Teuchos::RCP< const EpetraExt::MultiComm > &product_comm)
Create a polynomial for basis basis where each coefficient is generated from the supplied map...
A container class for products of Epetra_Vector&#39;s.
EpetraOperatorOrthogPoly & operator=(const EpetraOperatorOrthogPoly &v)
Assignment.
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.
void setup(const Teuchos::RCP< const Epetra_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map)
Second stage of setup.
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.
ProductEpetraOperator & operator=(const ProductEpetraOperator &v)
Assignment.