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