www.mooseframework.org
Classes | Functions
FourierNoise.h File Reference

Go to the source code of this file.

Classes

class  FourierNoise
 Generate noise using random fourier series coefficients. More...
 
struct  FourierNoise::SeriesItem
 

Functions

template<>
InputParameters validParams< FourierNoise > ()
 

Function Documentation

◆ validParams< FourierNoise >()

template<>
InputParameters validParams< FourierNoise > ( )

Definition at line 19 of file FourierNoise.C.

20 {
21  InputParameters params = validParams<Function>();
22  params.addClassDescription("Generate noise from a fourier series");
23  params.addRequiredParam<Real>("lambda",
24  "Wavelength cut off (set to about twice the interfacial width)");
25  params.addParam<unsigned int>(
26  "num_terms",
27  "Number of random fourier series terms (this will result in non-periodic noise). Omit this "
28  "parameter to obtain a periodic noise distribution.");
29  params.addParam<unsigned int>("seed", 12455, "Random number generator seed");
30  return params;
31 }