waves
Basic FE playground
wSpectralApproach.h File Reference
#include "EnsembleTraits.h"
#include <cmath>
#include <random>
Include dependency graph for wSpectralApproach.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SpectralApproach< Scalar, Device >
 A class that constructs realization(s) of Gaussian or exponential scalar random field based on the spectral approach. More...
 

Functions

template<typename Scalar , typename Device >
Kokkos::View< Scalar **, Kokkos::LayoutLeft, Device > construct_Z (size_t muw, unsigned long seed_Z, size_t wait=0)
 A function which computes a random matrix \(\boldsymbol{Z}\) starting at a given seed. More...
 
template<typename Scalar , typename Device >
Kokkos::View< Scalar **, Kokkos::LayoutLeft, Device > construct_Phi (size_t muw, unsigned long seed_Phi, size_t wait=0)
 A function which computes a random matrix \(\boldsymbol{\Phi}\) starting at a given seed. More...
 

Function Documentation

◆ construct_Phi()

template<typename Scalar , typename Device >
Kokkos::View<Scalar **, Kokkos::LayoutLeft, Device> construct_Phi ( size_t  muw,
unsigned long  seed_Phi,
size_t  wait = 0 
)

A function which computes a random matrix \(\boldsymbol{\Phi}\) starting at a given seed.

This matrix is used to generate a random field based on the spectral approach

◆ construct_Z()

template<typename Scalar , typename Device >
Kokkos::View<Scalar **, Kokkos::LayoutLeft, Device> construct_Z ( size_t  muw,
unsigned long  seed_Z,
size_t  wait = 0 
)

A function which computes a random matrix \(\boldsymbol{Z}\) starting at a given seed.

This matrix is used to generate a random field based on the spectral approach