LCOV - code coverage report
Current view: top level - src/kernels - TimeDerivativeLM.C (source / functions) Hit Total Coverage
Test: idaholab/moose scalar_transport: #31405 (292dce) with base fef103 Lines: 7 8 87.5 %
Date: 2025-09-04 07:56:42 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          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 "TimeDerivativeLM.h"
      11             : 
      12             : registerMooseObject("ScalarTransportApp", TimeDerivativeLM);
      13             : 
      14             : InputParameters
      15          79 : TimeDerivativeLM::validParams()
      16             : {
      17          79 :   auto params = LMTimeKernel::validParams();
      18          79 :   params.addClassDescription(
      19             :       "Adds a time derivative term to a Lagrange multiplier constrained primal equation");
      20          79 :   return params;
      21           0 : }
      22             : 
      23          44 : TimeDerivativeLM::TimeDerivativeLM(const InputParameters & parameters) : LMTimeKernel(parameters) {}
      24             : 
      25             : ADReal
      26      401700 : TimeDerivativeLM::precomputeQpResidual()
      27             : {
      28      401700 :   return _u_dot[_qp];
      29             : }

Generated by: LCOV version 1.14