www.mooseframework.org
ADKernelStabilized.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 "ADKernel.h"
13 
14 template <typename>
16 
19 
20 template <typename T>
21 class ADKernelStabilizedTempl : public ADKernelTempl<T>
22 {
23 public:
25 
27 
28  virtual void computeResidual() override;
29 
30 protected:
31  void computeResidualsForJacobian() override;
32 
36  virtual typename OutputTools<typename Moose::ADType<T>::type>::OutputValue
38 
40 
41  virtual ADReal computeQpResidual() override final;
42 
69 };
virtual ADReal computeQpResidual() override final
Compute this Kernel&#39;s contribution to the residual at the current quadrature point.
void computeResidualsForJacobian() override
compute the _residuals member for filling the Jacobian.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual OutputTools< typename Moose::ADType< T >::type >::OutputValue precomputeQpStrongResidual()=0
Called before forming the residual for an element.
DualReal ADReal
Definition: ADRealForward.h:14
ADKernelStabilizedTempl(const InputParameters &parameters)
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
virtual ADRealVectorValue computeQpStabilization()=0
virtual void computeResidual() override
Compute this object&#39;s contribution to the residual.