https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ArrayReactionNodalKernel.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
13
17template <bool is_ad>
19{
20public:
22
24
25protected:
26 virtual void computeQpResidual(GenericRealEigenVector<is_ad> & residual) override;
27 virtual void computeQpJacobian() override;
28
30 const RealEigenVector & _coeff;
31
33};
34
ArrayReactionNodalKernelTempl< false > ArrayReactionNodalKernel
ArrayReactionNodalKernelTempl< true > ADArrayReactionNodalKernel
Moose::GenericType< RealEigenVector, is_ad > GenericRealEigenVector
Definition MooseTypes.h:724
Represents a nodal reaction term equivalent to $a * u$.
virtual void computeQpResidual(GenericRealEigenVector< is_ad > &residual) override
virtual void computeQpJacobian() override
The user can override this function to compute the intra-variable off-diagonal Jacobian contribution ...
const RealEigenVector & _coeff
rate coefficient
Template for array nodal kernels, using or not automatic differentiation.
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