Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_EpetraVectorOrthogPoly.hpp
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 
10 #ifndef STOKHOS_EPETRAVECTORORTHOGPOLY_HPP
11 #define STOKHOS_EPETRAVECTORORTHOGPOLY_HPP
12 
15 
16 namespace Stokhos {
17 
24  public VectorOrthogPoly<Epetra_Vector>,
25  public ProductEpetraVector {
26  public:
27 
29  typedef double value_type;
30 
32  typedef int ordinal_type;
33 
35 
40 
47  const Teuchos::RCP<const Epetra_BlockMap>& block_map);
48 
55  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
58 
65  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
69 
76  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
81  const Epetra_Vector& block_vector);
82 
84 
88 
90  virtual ~EpetraVectorOrthogPoly();
91 
93 
97 
99 
102  void reset(
104  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
107 
109 
112  void reset(
114  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
118 
120  void computeMean(Epetra_Vector& v) const;
121 
123  void computeVariance(Epetra_Vector& v) const;
124 
127 
128  }; // class EpetraVectorOrthogPoly
129 
130 } // end namespace Stokhos
131 
132 #endif // STOKHOS_EPETRAVECTORORTHOGPOLY_HPP
void computeVariance(Epetra_Vector &v) const
Compute variance.
void computeStandardDeviation(Epetra_Vector &v) const
Compute standard deviation.
void computeMean(Epetra_Vector &v) const
Compute mean.
Teuchos::RCP< const Epetra_BlockMap > product_map
Product map of block vector.
EpetraVectorOrthogPoly()
Constructor with no basis.
Teuchos::RCP< const EpetraExt::MultiComm > product_comm
Product multi-level communicator.
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.
EpetraVectorOrthogPoly & operator=(const EpetraVectorOrthogPoly &v)
Assignment.
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< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > basis() const
Get basis.
Teuchos::RCP< const Epetra_BlockMap > coeff_map
Product map of block vector.
Epetra_DataAccess
void reset(const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, const Teuchos::RCP< const Epetra_BlockMap > &block_map, const Teuchos::RCP< const Epetra_BlockMap > &coeff_map, const Teuchos::RCP< const EpetraExt::MultiComm > &product_comm)
Reset to a new basis.