www.mooseframework.org
Public Member Functions | Protected Member Functions | List of all members
ConservedUniformNoiseVeneer< T > Class Template Reference

Veneer to build userobjects that generate a uniformly distributed random number in the interval [-1:1] once per timestep for every quadrature point in a way that the integral over all random numbers is zero. More...

#include <ConservedUniformNoiseVeneer.h>

Inheritance diagram for ConservedUniformNoiseVeneer< T >:
[legend]

Public Member Functions

 ConservedUniformNoiseVeneer (const InputParameters &parameters)
 

Protected Member Functions

Real getQpRandom ()
 

Detailed Description

template<class T>
class ConservedUniformNoiseVeneer< T >

Veneer to build userobjects that generate a uniformly distributed random number in the interval [-1:1] once per timestep for every quadrature point in a way that the integral over all random numbers is zero.

See also
ConservedUniformNoise
ConservedMaskedUniformNoise

Definition at line 21 of file ConservedUniformNoiseVeneer.h.

Constructor & Destructor Documentation

◆ ConservedUniformNoiseVeneer()

template<class T >
ConservedUniformNoiseVeneer< T >::ConservedUniformNoiseVeneer ( const InputParameters &  parameters)

Definition at line 31 of file ConservedUniformNoiseVeneer.h.

32  : T(parameters)
33 {
34 }

Member Function Documentation

◆ getQpRandom()

template<class T >
Real ConservedUniformNoiseVeneer< T >::getQpRandom ( )
protected

Definition at line 38 of file ConservedUniformNoiseVeneer.h.

39 {
40  return 2.0 * this->getRandomReal() - 1.0;
41 }

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