www.mooseframework.org
PorousFlowExponentialDecay.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 
15 
16 template <>
18 
22 class PorousFlowExponentialDecay : public Kernel
23 {
24 public:
25  PorousFlowExponentialDecay(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual() override;
29  virtual Real computeQpJacobian() override;
30 
32  const VariableValue & _rate;
33 
35  const VariableValue & _reference;
36 };
37 
PorousFlowExponentialDecay::_reference
const VariableValue & _reference
The reference.
Definition: PorousFlowExponentialDecay.h:35
PorousFlowExponentialDecay::computeQpJacobian
virtual Real computeQpJacobian() override
Definition: PorousFlowExponentialDecay.C:40
PorousFlowExponentialDecay::_rate
const VariableValue & _rate
The decay rate.
Definition: PorousFlowExponentialDecay.h:32
PorousFlowExponentialDecay::computeQpResidual
virtual Real computeQpResidual() override
Definition: PorousFlowExponentialDecay.C:34
PorousFlowExponentialDecay
Kernel = _rate * (variable - reference)
Definition: PorousFlowExponentialDecay.h:22
PorousFlowExponentialDecay::PorousFlowExponentialDecay
PorousFlowExponentialDecay(const InputParameters &parameters)
Definition: PorousFlowExponentialDecay.C:28
validParams< PorousFlowExponentialDecay >
InputParameters validParams< PorousFlowExponentialDecay >()
Definition: PorousFlowExponentialDecay.C:18