waves
Basic FE playground
RandomField< Scalar, Device > Class Template Reference

#include <wRandomField.h>

Collaboration diagram for RandomField< Scalar, Device >:

Public Types

typedef Kokkos::View< Scalar *, Kokkos::LayoutLeft, Device > RandomVariableView
 
typedef RandomVariableView::size_type size_type
 
typedef Teuchos::ScalarTraits< Scalar >::coordinateType MeshScalar
 
typedef Stokhos::KL::ExponentialRandomField< MeshScalar, Device > rf_type
 
typedef Teuchos::ScalarTraits< MeshScalarMST
 
typedef EnsembleTraits< Scalar >::value_type mean_type
 

Public Member Functions

 RandomField (Teuchos::RCP< Teuchos::ParameterList > randomParams, Kokkos::View< Scalar *, Kokkos::LayoutLeft, Device > _m_rv)
 
KOKKOS_INLINE_FUNCTION Scalar operator() (const MeshScalar x, const MeshScalar y, const MeshScalar z) const
 

Public Attributes

bool isRandom = false
 
bool isExpRandom = true
 
rf_type m_rf
 
RandomVariableView m_rv
 
mean_type g
 
mean_type delta
 
mean_type a
 
mean_type b
 
int num_rv
 
int ndim = 3
 
Teuchos::RCP< SpectralApproach< Scalar, Device > > sa
 

Member Typedef Documentation

◆ mean_type

template<typename Scalar , typename Device >
typedef EnsembleTraits<Scalar>::value_type RandomField< Scalar, Device >::mean_type

◆ MeshScalar

template<typename Scalar , typename Device >
typedef Teuchos::ScalarTraits<Scalar>::coordinateType RandomField< Scalar, Device >::MeshScalar

◆ MST

template<typename Scalar , typename Device >
typedef Teuchos::ScalarTraits<MeshScalar> RandomField< Scalar, Device >::MST

◆ RandomVariableView

template<typename Scalar , typename Device >
typedef Kokkos::View<Scalar *, Kokkos::LayoutLeft, Device> RandomField< Scalar, Device >::RandomVariableView

◆ rf_type

template<typename Scalar , typename Device >
typedef Stokhos::KL::ExponentialRandomField<MeshScalar, Device> RandomField< Scalar, Device >::rf_type

◆ size_type

template<typename Scalar , typename Device >
typedef RandomVariableView::size_type RandomField< Scalar, Device >::size_type

Constructor & Destructor Documentation

◆ RandomField()

template<typename Scalar , typename Device >
RandomField< Scalar, Device >::RandomField ( Teuchos::RCP< Teuchos::ParameterList >  randomParams,
Kokkos::View< Scalar *, Kokkos::LayoutLeft, Device >  _m_rv 
)
inline

Member Function Documentation

◆ operator()()

template<typename Scalar , typename Device >
KOKKOS_INLINE_FUNCTION Scalar RandomField< Scalar, Device >::operator() ( const MeshScalar  x,
const MeshScalar  y,
const MeshScalar  z 
) const
inline

Member Data Documentation

◆ a

template<typename Scalar , typename Device >
mean_type RandomField< Scalar, Device >::a

◆ b

template<typename Scalar , typename Device >
mean_type RandomField< Scalar, Device >::b

◆ delta

template<typename Scalar , typename Device >
mean_type RandomField< Scalar, Device >::delta

◆ g

template<typename Scalar , typename Device >
mean_type RandomField< Scalar, Device >::g

◆ isExpRandom

template<typename Scalar , typename Device >
bool RandomField< Scalar, Device >::isExpRandom = true

◆ isRandom

template<typename Scalar , typename Device >
bool RandomField< Scalar, Device >::isRandom = false

◆ m_rf

template<typename Scalar , typename Device >
rf_type RandomField< Scalar, Device >::m_rf

◆ m_rv

template<typename Scalar , typename Device >
RandomVariableView RandomField< Scalar, Device >::m_rv

◆ ndim

template<typename Scalar , typename Device >
int RandomField< Scalar, Device >::ndim = 3

◆ num_rv

template<typename Scalar , typename Device >
int RandomField< Scalar, Device >::num_rv

◆ sa

template<typename Scalar , typename Device >
Teuchos::RCP<SpectralApproach<Scalar, Device> > RandomField< Scalar, Device >::sa

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