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 27 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Short-hand for Cijk.
Definition at line 157 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 21 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
inlinevirtual |
Destructor.
Definition at line 38 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
private |
|
inlinevirtual |
Get expansion size.
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 41 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
inlinevirtual |
Get basis.
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 45 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
inlinevirtual |
Get triple product.
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 49 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 89 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 111 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 120 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 129 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 144 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 159 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 179 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 199 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 282 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 292 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 326 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 348 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 370 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 404 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 426 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 448 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 525 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 546 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 567 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 577 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 588 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 622 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< 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 >.
Definition at line 635 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 651 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 669 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 687 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 703 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
virtual |
Implements Stokhos::OrthogPolyExpansion< ordinal_type, value_type, node_type >.
Definition at line 721 of file Stokhos_OrthogPolyExpansionBaseImp.hpp.
|
private |
|
protected |
Definition at line 154 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Triple-product tensor.
Definition at line 160 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Parameter list.
Definition at line 163 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Division expansion strategy.
Definition at line 166 of file Stokhos_OrthogPolyExpansionBase.hpp.
|
protected |
Expansions size.
Definition at line 169 of file Stokhos_OrthogPolyExpansionBase.hpp.