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

Go to the source code of this file.

Classes

class  ConservedMaskedNoiseBase
 This Userobject is the base class of Userobjects that generate one random number per timestep and quadrature point in a way that the integral over all random numbers is zero. More...
 

Functions

template<>
InputParameters validParams< ConservedMaskedNoiseBase > ()
 

Function Documentation

template<>
InputParameters validParams< ConservedMaskedNoiseBase > ( )

Definition at line 14 of file ConservedMaskedNoiseBase.C.

Referenced by validParams< ConservedMaskedNormalNoise >(), and validParams< ConservedMaskedUniformNoise >().

15 {
16  InputParameters params = validParams<ElementUserObject>();
17 
18  MultiMooseEnum setup_options(SetupInterface::getExecuteOptions());
19  setup_options = "timestep_begin";
20  params.set<MultiMooseEnum>("execute_on") = setup_options;
21  params.addParam<MaterialPropertyName>("mask",
22  "Material property to multiply the random numbers with");
23  return params;
24 }