Stokhos::EpetraMultiVectorOrthogPoly Class Reference

A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor. More...

#include <Stokhos_EpetraMultiVectorOrthogPoly.hpp>

Inheritance diagram for Stokhos::EpetraMultiVectorOrthogPoly:

Inheritance graph
[legend]
Collaboration diagram for Stokhos::EpetraMultiVectorOrthogPoly:

Collaboration graph
[legend]
List of all members.

Public Types

typedef double value_type
 Typename of values.
typedef int ordinal_type
 Typename of ordinals.

Public Member Functions

 EpetraMultiVectorOrthogPoly ()
 Constructor with no basis.
 EpetraMultiVectorOrthogPoly (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis)
 Create a polynomial for basis basis with empty coefficients.
 EpetraMultiVectorOrthogPoly (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, int sz)
 Create a polynomial for basis basis with empty coefficients of size sz.
 EpetraMultiVectorOrthogPoly (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, const Epetra_BlockMap &coeff_map, int num_vectors)
 Create a polynomial for basis basis where each coefficient is generated from the supplied map.
 EpetraMultiVectorOrthogPoly (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, const Epetra_BlockMap &coeff_map, int num_vectors, int sz)
 Create a polynomial for basis basis where each coefficient is generated from the supplied map.
 EpetraMultiVectorOrthogPoly (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, Epetra_DataAccess CV, const Epetra_BlockMap &coeff_map, const Epetra_BlockMap &block_map, int num_vectors)
 Create a polynomial for basis basis where each coefficient is given by a created block vector.
 EpetraMultiVectorOrthogPoly (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &basis, Epetra_DataAccess CV, const Epetra_BlockMap &coeff_map, const Epetra_MultiVector &block_vector)
 Create a polynomial for basis basis where each coefficient is given by the supplied block vector.
 EpetraMultiVectorOrthogPoly (const EpetraMultiVectorOrthogPoly &v)
 Copy constructor.
 ~EpetraMultiVectorOrthogPoly ()
 Destructor.
EpetraMultiVectorOrthogPolyoperator= (const EpetraMultiVectorOrthogPoly &v)
 Assignment.
EpetraMultiVectorOrthogPolyoperator= (const Epetra_MultiVector &v)
 Assignment.
void assignToBlockMultiVector (Epetra_MultiVector &v) const
 Assignment.
void assignFromBlockMultiVector (const Epetra_MultiVector &v)
 Assignment.
void reset (const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &new_basis, const Epetra_BlockMap &coeff_map, int num_vectors)
 Reset to a new basis.
void resetCoefficients (Epetra_DataAccess CV, const Epetra_BlockMap &coeff_map, const Epetra_MultiVector &block_vector)
 Reset vector cofficients.
Teuchos::RCP< EpetraExt::BlockMultiVector > getBlockMultiVector ()
 Get block vector.
Teuchos::RCP< const EpetraExt::BlockMultiVector > getBlockMultiVector () const
 Get block vector.
void setBlockMultiVector (const Teuchos::RCP< EpetraExt::BlockMultiVector > &block_vec)
 Set block vector.
void computeMean (Epetra_MultiVector &v) const
 Compute mean.
void computeStandardDeviation (Epetra_MultiVector &v) const
 Compute standard deviation.

Protected Attributes

Teuchos::RCP< EpetraExt::BlockMultiVector > bv
 Block vector storing coefficients.

Detailed Description

A container class storing an orthogonal polynomial whose coefficients are vectors, operators, or in general any type that would have an expensive copy constructor.


Constructor & Destructor Documentation

Stokhos::EpetraMultiVectorOrthogPoly::EpetraMultiVectorOrthogPoly (  ) 

Constructor with no basis.

Use with care! Generally you will want to call reset() before using any of the methods on this class.

Stokhos::EpetraMultiVectorOrthogPoly::EpetraMultiVectorOrthogPoly ( const EpetraMultiVectorOrthogPoly v  ) 

Copy constructor.

NOTE: This is a shallow copy


Member Function Documentation

Stokhos::EpetraMultiVectorOrthogPoly & Stokhos::EpetraMultiVectorOrthogPoly::operator= ( const EpetraMultiVectorOrthogPoly v  ) 

Assignment.

NOTE: This is a shallow copy

void Stokhos::EpetraMultiVectorOrthogPoly::reset ( const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &  new_basis,
const Epetra_BlockMap &  coeff_map,
int  num_vectors 
)

Reset to a new basis.

This resizes array to fit new basis.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:23:21 2010 for Stokhos by  doxygen 1.4.7