Line data Source code
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 "ADVectorTimeDerivative.h" 11 : 12 : registerMooseObject("MooseApp", ADVectorTimeDerivative); 13 : 14 : InputParameters 15 14311 : ADVectorTimeDerivative::validParams() 16 : { 17 14311 : InputParameters params = ADVectorTimeKernelValue::validParams(); 18 14311 : params.addClassDescription("The time derivative operator with the weak form of $(\\psi_i, " 19 : "\\frac{\\partial u_h}{\\partial t})$."); 20 14311 : return params; 21 0 : } 22 : 23 24 : ADVectorTimeDerivative::ADVectorTimeDerivative(const InputParameters & parameters) 24 24 : : ADVectorTimeKernelValue(parameters) 25 : { 26 24 : } 27 : 28 : ADRealVectorValue 29 466496 : ADVectorTimeDerivative::precomputeQpResidual() 30 : { 31 466496 : return _u_dot[_qp]; 32 : }