www.mooseframework.org
LangevinNoise.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
12 #include "Kernel.h"
13 
14 // Forward Declarations
15 class LangevinNoise;
16 
17 template <>
18 InputParameters validParams<LangevinNoise>();
19 
20 class LangevinNoise : public Kernel
21 {
22 public:
23  LangevinNoise(const InputParameters & parameters);
24 
25 protected:
26  virtual void residualSetup();
27  virtual Real computeQpResidual();
28 
29  const Real _amplitude;
30  const MaterialProperty<Real> & _multiplier_prop;
31 };
32 
LangevinNoise
Definition: LangevinNoise.h:20
LangevinNoise::_multiplier_prop
const MaterialProperty< Real > & _multiplier_prop
Definition: LangevinNoise.h:30
LangevinNoise::residualSetup
virtual void residualSetup()
Definition: LangevinNoise.C:36
LangevinNoise::_amplitude
const Real _amplitude
Definition: LangevinNoise.h:29
validParams< LangevinNoise >
InputParameters validParams< LangevinNoise >()
Definition: LangevinNoise.C:17
LangevinNoise::computeQpResidual
virtual Real computeQpResidual()
Definition: LangevinNoise.C:43
LangevinNoise::LangevinNoise
LangevinNoise(const InputParameters &parameters)
Definition: LangevinNoise.C:28