https://mooseframework.inl.gov
PorousFlowExponentialDecay.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 
12 #include "GenericKernel.h"
13 
20 template <bool is_ad>
22 {
23 public:
25 
27 
28 protected:
29  virtual GenericReal<is_ad> computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31 
34 
37 
39 };
40 
Moose::GenericType< Real, is_ad > GenericReal
const InputParameters & parameters() const
Kernel = _rate * (variable - reference)
PorousFlowExponentialDecayTempl< true > ADPorousFlowExponentialDecay
PorousFlowExponentialDecayTempl(const InputParameters &parameters)
Moose::GenericType< VariableValue, is_ad > GenericVariableValue
PorousFlowExponentialDecayTempl< false > PorousFlowExponentialDecay
const GenericVariableValue< is_ad > & _rate
The decay rate.
virtual GenericReal< is_ad > computeQpResidual() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const GenericVariableValue< is_ad > & _reference
The reference.