Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_EpetraMultiVectorOrthogPoly.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_EPETRAMULTIVECTORORTHOGPOLY_HPP
11 #define STOKHOS_EPETRAMULTIVECTORORTHOGPOLY_HPP
12 
15 
16 namespace Stokhos {
17 
24  public VectorOrthogPoly<Epetra_MultiVector>,
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  int num_vectors);
59 
66  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
70  int num_vectors);
71 
78  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
83  const Epetra_MultiVector& block_vector);
84 
86 
90 
93 
95 
99 
101 
104  void reset(
106  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
109  int num_vectors);
110 
112 
115  void reset(
117  const Teuchos::RCP<const Epetra_BlockMap>& block_map,
121  int num_vectors);
122 
124  void computeMean(Epetra_MultiVector& v) const;
125 
127  void computeVariance(Epetra_MultiVector& v) const;
128 
131 
132  }; // class EpetraMultiVectorOrthogPoly
133 
134 } // end namespace Stokhos
135 
136 #endif // STOKHOS_EPETRAMULTIVECTORORTHOGPOLY_HPP
Teuchos::RCP< const EpetraExt::MultiComm > product_comm
Product multi-level communicator.
void computeMean(Epetra_MultiVector &v) const
Compute mean.
EpetraMultiVectorOrthogPoly & operator=(const EpetraMultiVectorOrthogPoly &v)
Assignment.
void computeStandardDeviation(Epetra_MultiVector &v) const
Compute standard deviation.
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, int num_vectors)
Reset to a new basis.
void computeVariance(Epetra_MultiVector &v) const
Compute variance.
A container class storing products of Epetra_MultiVector&#39;s.
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 Epetra_BlockMap > coeff_map
Product map of block vector.
Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > basis() const
Get basis.
Teuchos::RCP< const Epetra_BlockMap > product_map
Product map of block vector.
Epetra_DataAccess
A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.