Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Stokhos::KL::ExponentialOneDEigenFunction< Value > Class Template Reference

One-dimensional eigenfunction for exponential covariance function. More...

#include <Stokhos_KL_OneDExponentialEigenPair.hpp>

Public Types

enum  TYPE { SIN, COS }
 Enum identifying the type of eigenfunction. More...
 
typedef Value value_type
 

Public Member Functions

KOKKOS_INLINE_FUNCTION ExponentialOneDEigenFunction ()
 Default Constructor.
 
KOKKOS_INLINE_FUNCTION ExponentialOneDEigenFunction (TYPE type_, const value_type &a_, const value_type &b_, const value_type &omega_, const int dim_name_)
 Constructor.
 
KOKKOS_INLINE_FUNCTION ~ExponentialOneDEigenFunction ()
 Destructor.
 
template<typename point_type >
KOKKOS_INLINE_FUNCTION point_type evaluate (const point_type &x) const
 Evaluate eigenfunction.
 
void print (std::ostream &os) const
 Print eigenfunction.
 
KOKKOS_INLINE_FUNCTION TYPE getType () const
 Return type.
 
KOKKOS_INLINE_FUNCTION value_type getFrequency () const
 Return frequency.
 
KOKKOS_INLINE_FUNCTION value_type getMultiplier () const
 Return multiplier.
 
KOKKOS_INLINE_FUNCTION value_type getShift () const
 Get shift.
 

Protected Attributes

TYPE type
 Type of eigenfunction (sin or cos)
 
value_type a
 Domain length.
 
value_type b
 Domain center.
 
value_type A
 Multiplier for eigenfunction.
 
value_type omega
 Frequency of eigenfunction.
 
int dim_name
 Dimesion name (e.g., x_1) for printing eigenfunction.
 

Detailed Description

template<typename Value>
class Stokhos::KL::ExponentialOneDEigenFunction< Value >

One-dimensional eigenfunction for exponential covariance function.

Represents an eigenfunction of the form $A \sin(\omega (x-(b+a)/2))$ or $A \cos(\omega (x-(b+a)/2))$ over the domain $[a,b]$ where

\[ A = \frac{1}{\sqrt{\frac{b-a}{2} \pm \frac{\sin(\omega(b-a)}{2\omega}}} \]

for $\cos$, $\sin$ respectively.

Member Enumeration Documentation

template<typename Value>
enum Stokhos::KL::ExponentialOneDEigenFunction::TYPE

Enum identifying the type of eigenfunction.

Enumerator
SIN 

A*sin(omega*(x-b))

COS 

A*cos(omega*(x-b))


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