Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Stokhos::AlgebraicOrthogPolyExpansion< ordinal_type, value_type > Class Template Reference

Orthogonal polynomial expansions limited to algebraic operations. More...

#include <Stokhos_AlgebraicOrthogPolyExpansion.hpp>

Inheritance diagram for Stokhos::AlgebraicOrthogPolyExpansion< ordinal_type, value_type >:

Public Types

typedef Stokhos::StandardStorage< ordinal_type, value_typenode_type
Public Types inherited from Stokhos::OrthogPolyExpansion< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > >
typedef Sparse3Tensor< ordinal_type, value_typetp_type
 Typename of TripleProduct tensor.

Public Member Functions

 AlgebraicOrthogPolyExpansion (const Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > &basis, const Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > &Cijk, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Constructor.
virtual ~AlgebraicOrthogPolyExpansion ()
 Destructor.
void exp (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void log (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void log10 (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void sqrt (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void cbrt (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void pow (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b)
void pow (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b)
void pow (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b)
void cos (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void sin (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void tan (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void cosh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void sinh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void tanh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void acos (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void asin (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void atan (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void atan2 (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b)
void atan2 (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b)
void atan2 (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b)
void acosh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void asinh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
void atanh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)
Public Member Functions inherited from Stokhos::OrthogPolyExpansionBase< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > >
 OrthogPolyExpansionBase (const Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > &basis, const Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > &Cijk, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Constructor.
virtual ~OrthogPolyExpansionBase ()
 Destructor.
ordinal_type size () const
 Get expansion size.
Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > getBasis () const
 Get basis.
virtual Teuchos::RCP< const Sparse3Tensor< ordinal_type, value_type > > getTripleProduct () const
 Get triple product.
void unaryMinus (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)
void plusEqual (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const value_type &x)
void minusEqual (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const value_type &x)
void timesEqual (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const value_type &x)
void divideEqual (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const value_type &x)
void plus (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)
void minus (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)
void times (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)
void divide (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)
void abs (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)
void fabs (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)
void max (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)
void min (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)
Public Member Functions inherited from Stokhos::OrthogPolyExpansion< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > >
 OrthogPolyExpansion ()
 Constructor.
virtual ~OrthogPolyExpansion ()
 Destructor.
virtual void exp (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void log (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void log10 (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void sqrt (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void cbrt (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void pow (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &b)=0
virtual void cos (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void sin (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void tan (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void cosh (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void sinh (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void tanh (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void acos (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void asin (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void atan (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void acosh (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void asinh (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0
virtual void atanh (OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &c, const OrthogPolyApprox< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > &a)=0

Protected Types

typedef OrthogPolyExpansionBase< ordinal_type, value_type, node_type >::Cijk_type Cijk_type
 Short-hand for Cijk.
Protected Types inherited from Stokhos::OrthogPolyExpansionBase< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > >
typedef Stokhos::Sparse3Tensor< ordinal_type, value_typeCijk_type
 Short-hand for Cijk.

Private Member Functions

 AlgebraicOrthogPolyExpansion (const AlgebraicOrthogPolyExpansion &)
AlgebraicOrthogPolyExpansionoperator= (const AlgebraicOrthogPolyExpansion &b)

Additional Inherited Members

Protected Attributes inherited from Stokhos::OrthogPolyExpansionBase< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > >
Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > basis
 Basis.
Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > Cijk
 Triple-product tensor.
Teuchos::RCP< Teuchos::ParameterList > params
 Parameter list.
Teuchos::RCP< Stokhos::DivisionExpansionStrategy< ordinal_type, value_type, Stokhos::StandardStorage< ordinal_type, value_type > > > division_strategy
 Division expansion strategy.
ordinal_type sz
 Expansions size.

Detailed Description

template<typename ordinal_type, typename value_type>
class Stokhos::AlgebraicOrthogPolyExpansion< ordinal_type, value_type >

Orthogonal polynomial expansions limited to algebraic operations.

Implements +, -, *, / (with constant denominator), and other operations with constant arguments. Useful for problems that only involve algebraic operations, or constant non-algebraic operations in that it doesn't require creation of additional data structures (like sparse quadrature grids) that may take significant computational time.

Definition at line 62 of file Stokhos_AlgebraicOrthogPolyExpansion.hpp.

Member Typedef Documentation

◆ node_type

◆ Cijk_type

Short-hand for Cijk.

Definition at line 143 of file Stokhos_AlgebraicOrthogPolyExpansion.hpp.

Constructor & Destructor Documentation

◆ AlgebraicOrthogPolyExpansion() [1/2]

template<typename ordinal_type, typename value_type>
Stokhos::AlgebraicOrthogPolyExpansion< ordinal_type, value_type >::AlgebraicOrthogPolyExpansion ( const Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > & basis,
const Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > & Cijk,
const Teuchos::RCP< Teuchos::ParameterList > & params = Teuchos::null )

Constructor.

◆ ~AlgebraicOrthogPolyExpansion()

Destructor.

Definition at line 76 of file Stokhos_AlgebraicOrthogPolyExpansion.hpp.

◆ AlgebraicOrthogPolyExpansion() [2/2]

template<typename ordinal_type, typename value_type>
Stokhos::AlgebraicOrthogPolyExpansion< ordinal_type, value_type >::AlgebraicOrthogPolyExpansion ( const AlgebraicOrthogPolyExpansion< ordinal_type, value_type > & )
private

Member Function Documentation

◆ exp()

◆ log()

◆ log10()

◆ sqrt()

◆ cbrt()

◆ pow() [1/3]

◆ pow() [2/3]

◆ pow() [3/3]

◆ cos()

◆ sin()

◆ tan()

◆ cosh()

◆ sinh()

◆ tanh()

◆ acos()

◆ asin()

◆ atan()

◆ atan2() [1/3]

◆ atan2() [2/3]

◆ atan2() [3/3]

◆ acosh()

◆ asinh()

◆ atanh()

◆ operator=()


The documentation for this class was generated from the following files: