Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Base class for consolidating common expansion implementations. More...
#include <Stokhos_OrthogPolyExpansionBase.hpp>
Public Member Functions | |
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 > ¶ms=Teuchos::null) | |
Constructor. More... | |
virtual | ~OrthogPolyExpansionBase () |
Destructor. More... | |
ordinal_type | size () const |
Get expansion size. More... | |
Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > | getBasis () const |
Get basis. More... | |
virtual Teuchos::RCP< const Sparse3Tensor< ordinal_type, value_type > > | getTripleProduct () const |
Get triple product. More... | |
void | unaryMinus (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a) |
void | plusEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &x) |
void | minusEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &x) |
void | timesEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &x) |
void | divideEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &x) |
void | plusEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &x) |
void | minusEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &x) |
void | timesEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &x) |
void | divideEqual (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &x) |
void | plus (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 | plus (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b) |
void | plus (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b) |
void | minus (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 | minus (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b) |
void | minus (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b) |
void | times (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 | times (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b) |
void | times (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b) |
void | divide (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 | divide (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b) |
void | divide (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b) |
void | abs (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a) |
void | fabs (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a) |
void | max (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 | max (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b) |
void | max (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b) |
void | min (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 | min (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b) |
void | min (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b) |
Public Member Functions inherited from Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type > | |
OrthogPolyExpansion () | |
Constructor. More... | |
virtual | ~OrthogPolyExpansion () |
Destructor. More... | |
virtual void | exp (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | log (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | log10 (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | sqrt (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | cbrt (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual 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)=0 |
virtual void | pow (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &a, const OrthogPolyApprox< ordinal_type, value_type, node_type > &b)=0 |
virtual void | pow (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const value_type &b)=0 |
virtual void | cos (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | sin (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | tan (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | cosh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | sinh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | tanh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | acos (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | asin (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | atan (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | acosh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | asinh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
virtual void | atanh (OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const OrthogPolyApprox< ordinal_type, value_type, node_type > &a)=0 |
Protected Types | |
typedef Stokhos::Sparse3Tensor < ordinal_type, value_type > | Cijk_type |
Short-hand for Cijk. More... | |
Protected Attributes | |
Teuchos::RCP< const OrthogPolyBasis< ordinal_type, value_type > > | basis |
Basis. More... | |
Teuchos::RCP< const Stokhos::Sparse3Tensor < ordinal_type, value_type > > | Cijk |
Triple-product tensor. More... | |
Teuchos::RCP < Teuchos::ParameterList > | params |
Parameter list. More... | |
Teuchos::RCP < Stokhos::DivisionExpansionStrategy < ordinal_type, value_type, node_type > > | division_strategy |
Division expansion strategy. More... | |
ordinal_type | sz |
Expansions size. More... | |
Private Member Functions | |
OrthogPolyExpansionBase (const OrthogPolyExpansionBase &) | |
OrthogPolyExpansionBase & | operator= (const OrthogPolyExpansionBase &b) |
Additional Inherited Members | |
Public Types inherited from Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type > | |
typedef Sparse3Tensor < ordinal_type, value_type > | tp_type |
Typename of TripleProduct tensor. More... | |
Base class for consolidating common expansion implementations.
Implements a few of the OrthogPolyExpansion virtual methods that are common to several implementations so those implementations are duplicated.
Definition at line 59 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Short-hand for Cijk.
Definition at line 189 of file Stokhos_OrthogPolyExpansionBase.hpp.
Stokhos::OrthogPolyExpansionBase< ordinal_type, value_type, node_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.
Definition at line 53 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
inlinevirtual |
Destructor.
Definition at line 70 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
private |
|
inlinevirtual |
Get expansion size.
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 73 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
inlinevirtual |
Get basis.
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 77 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
inlinevirtual |
Get triple product.
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 81 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 121 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 143 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 152 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 161 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 176 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 191 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 211 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 231 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 314 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 324 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 358 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 380 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 402 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 436 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 458 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 480 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 557 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 578 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 599 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 609 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Reimplemented in Stokhos::PseudoSpectralOrthogPolyExpansion< ordinal_type, value_type, point_compare_type, node_type >, and Stokhos::QuadOrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 620 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 654 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 641 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 667 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 683 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 701 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 719 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 735 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 753 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
private |
|
protected |
Definition at line 186 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Triple-product tensor.
Definition at line 192 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Parameter list.
Definition at line 195 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Division expansion strategy.
Definition at line 198 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Expansions size.
Definition at line 201 of file Stokhos_OrthogPolyExpansionBase.hpp.