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 13 of file ConservedUniformNoiseVeneer.h.

Constructor & Destructor Documentation

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

Definition at line 23 of file ConservedUniformNoiseVeneer.h.

24  : T(parameters)
25 {
26 }

Member Function Documentation

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

Definition at line 30 of file ConservedUniformNoiseVeneer.h.

31 {
32  return 2.0 * this->getRandomReal() - 1.0;
33 }

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