https://mooseframework.inl.gov
ADMatReaction.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 "ADKernel.h"
13 
19 class ADMatReaction : public ADKernel
20 {
21 public:
23 
25 
26 protected:
27  virtual ADReal computeQpResidual() override;
28 
29 private:
37 
40 };
const ADVariableValue & _v
Kernel variable (can be nonlinear or coupled variable) (For constrained Allen-Cahn problems such as t...
Definition: ADMatReaction.h:36
virtual ADReal computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
Definition: ADMatReaction.C:38
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
const ADMaterialProperty< Real > & _reaction_rate
Reaction rate material property.
Definition: ADMatReaction.h:39
ADMatReaction(const InputParameters &parameters)
Definition: ADMatReaction.C:30
static InputParameters validParams()
Definition: ADMatReaction.C:15
Kernel representing the contribution of the PDE term $-L*v$, where $L$ is a reaction rate coefficient...
Definition: ADMatReaction.h:19
forward declarations
const InputParameters & parameters() const
Get the parameters of the object.