https://mooseframework.inl.gov
TimeDerivativeLM.C
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 #include "TimeDerivativeLM.h"
11 
12 registerMooseObject("ScalarTransportApp", TimeDerivativeLM);
13 
16 {
17  auto params = LMTimeKernel::validParams();
18  params.addClassDescription(
19  "Adds a time derivative term to a Lagrange multiplier constrained primal equation");
20  return params;
21 }
22 
24 
25 ADReal
27 {
28  return _u_dot[_qp];
29 }
A base class for creating time derivative terms in primal equations which have associated constraints...
Definition: LMTimeKernel.h:18
const ADVariableValue & _u_dot
The time derivative of the primal variable evaluated at quadrature points.
Definition: LMTimeKernel.h:27
Adds a time derivative term to a Lagrange multiplier constrained primal equation. ...
DualNumber< Real, DNDerivativeType, true > ADReal
TimeDerivativeLM(const InputParameters &parameters)
static InputParameters validParams()
ADReal precomputeQpResidual() override
static InputParameters validParams()
Definition: LMTimeKernel.C:14
registerMooseObject("ScalarTransportApp", TimeDerivativeLM)
unsigned int _qp