42 #ifndef STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP 43 #define STOKHOS_KL_EXPONENTIAL_RANDOM_FIELD_HPP 45 #include "Teuchos_ParameterList.hpp" 46 #include "Teuchos_PromotionTraits.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
155 template <
typename po
int_type>
157 KOKKOS_INLINE_FUNCTION
162 KOKKOS_INLINE_FUNCTION
166 void print(std::ostream& os)
const;
197 #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 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.
value_type KOKKOS_INLINE_FUNCTION evaluate_eigenfunction(const point_type &point, int i) const
Evaluate given eigenfunction at a point.
eigen_value_array_type product_eigen_values
Product eigenvalues.
Kokkos::View< value_type *, execution_space > eigen_value_array_type
Container for one-dimensional eigenfunction and eigenvalue.
KOKKOS_INLINE_FUNCTION int spatialDimension() const
Return spatial dimension of the field.
int dim
Dimension of expansion.
value_type KOKKOS_INLINE_FUNCTION eigenvalue(int i) const
Return eigenvalue.
KOKKOS_INLINE_FUNCTION value_type evaluate_standard_deviation(const point_type &point) const
Evaluate standard deviation of random field at a point.
Top-level namespace for Stokhos classes and functions.
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.
value_type std_dev
Standard deviation of random 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.
void print(std::ostream &os) const
Print KL expansion.
One-dimensional eigenfunction for exponential covariance function.
KOKKOS_INLINE_FUNCTION int stochasticDimension() const
Return stochastic dimension of the field.
OneDEigenPair< one_d_eigen_func_type > one_d_eigen_pair_type