10 #ifndef STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP
11 #define STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP
15 #include "Kokkos_Core.hpp"
92 KOKKOS_INLINE_FUNCTION
96 KOKKOS_INLINE_FUNCTION
100 KOKKOS_INLINE_FUNCTION
104 template <
typename po
int_type,
typename rv_type>
105 KOKKOS_INLINE_FUNCTION
109 const rv_type& random_variables)
const;
112 template <
typename po
int_type>
113 KOKKOS_INLINE_FUNCTION
117 template <
typename po
int_type>
118 KOKKOS_INLINE_FUNCTION
124 template <
typename po
int_type>
125 KOKKOS_INLINE_FUNCTION
131 KOKKOS_INLINE_FUNCTION
135 void print(std::ostream& os)
const;
166 #endif // STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP
Container for multi-dimensional product of 1-D eigenfunctions/values.
Kokkos::DefaultExecutionSpace execution_space
eigen_func_array_type product_eigen_funcs
Product eigenfunctions.
ExponentialOneDEigenFunction< value_type > one_d_eigen_func_type
int num_KL
Number of KL terms.
KOKKOS_INLINE_FUNCTION Teuchos::PromotionTraits< typename rv_type::value_type, value_type >::promote evaluate(const point_type &point, const rv_type &random_variables) const
Evaluate random field at a point.
KOKKOS_INLINE_FUNCTION value_type evaluate_mean(const point_type &point) const
Evaluate mean of random field at a point.
Kokkos::View< one_d_eigen_func_type **, execution_space > eigen_func_array_type
value_type mean
Mean of random field.
eigen_value_array_type product_eigen_values
Product eigenvalues.
Kokkos::View< value_type *, execution_space > eigen_value_array_type
void print(std::ostream &os) const
Print KL expansion.
Container for one-dimensional eigenfunction and eigenvalue.
int dim
Dimension of expansion.
KOKKOS_INLINE_FUNCTION Teuchos::PromotionTraits< typename point_type::value_type, value_type >::promote evaluate_eigenfunction(const point_type &point, int i) const
Evaluate given eigenfunction at a point.
KOKKOS_INLINE_FUNCTION Teuchos::PromotionTraits< typename point_type::value_type, value_type >::promote evaluate_standard_deviation(const point_type &point) const
Evaluate standard deviation of random field at a point.
value_type std_dev
Standard deviation of random field.
KOKKOS_INLINE_FUNCTION int stochasticDimension() const
Return stochastic dimension of the field.
Class representing a KL expansion of an exponential random field.
ProductEigenPair< one_d_eigen_func_type, execution_space > product_eigen_pair_type
KOKKOS_INLINE_FUNCTION ~ExponentialRandomField()
Destructor.
ExponentialRandomField()
Default constructor.
One-dimensional eigenfunction for exponential covariance function.
KOKKOS_INLINE_FUNCTION int spatialDimension() const
Return spatial dimension of the field.
OneDEigenPair< one_d_eigen_func_type > one_d_eigen_pair_type
value_type KOKKOS_INLINE_FUNCTION eigenvalue(int i) const
Return eigenvalue.