https://mooseframework.inl.gov
ADArrayReaction.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 "ADArrayKernel.h"
13 
18 {
19 public:
21 
23 
24 protected:
25  virtual void computeQpResidual(ADRealEigenVector & residual) override;
26 
33 };
ADArrayReaction(const InputParameters &parameters)
Eigen::Matrix< ADReal, Eigen::Dynamic, 1 > ADRealEigenVector
Definition: MooseTypes.h:148
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Array kernel for adding a reaction term.
Base class for array variable (equation) kernels using automatic differentiation. ...
Definition: ADArrayKernel.h:19
const ADMaterialProperty< Real > * _r
scalar reaction coefficient
virtual void computeQpResidual(ADRealEigenVector &residual) override
Compute this Kernel&#39;s contribution to the residual at the current quadrature point, to be filled in residual.
const ADMaterialProperty< RealEigenVector > *const _r_array
array reaction coefficient
const ADMaterialProperty< RealEigenMatrix > *const _r_2d_array
matrix of reaction coefficients (for cross reaction terms between array variables) ...