42 #ifndef STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP
43 #define STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP
47 #include "Kokkos_Core.hpp"
48 #include "Kokkos_View.hpp"
125 KOKKOS_INLINE_FUNCTION
129 KOKKOS_INLINE_FUNCTION
133 KOKKOS_INLINE_FUNCTION
137 template <
typename po
int_type,
typename rv_type>
138 KOKKOS_INLINE_FUNCTION
142 const rv_type& random_variables)
const;
145 template <
typename po
int_type>
146 KOKKOS_INLINE_FUNCTION
150 template <
typename po
int_type>
151 KOKKOS_INLINE_FUNCTION
157 template <
typename po
int_type>
158 KOKKOS_INLINE_FUNCTION
164 KOKKOS_INLINE_FUNCTION
168 void print(std::ostream& os)
const;
199 #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.