https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ConservedUniformNoiseVeneer.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
20template <class T>
22{
23public:
25
26protected:
28};
29
30template <class T>
35
36template <class T>
37Real
39{
40 return 2.0 * this->getRandomReal() - 1.0;
41}
const double T
Veneer to build userobjects that generate a uniformly distributed random number in the interval [-1:1...
ConservedUniformNoiseVeneer(const InputParameters &parameters)