LCOV - code coverage report
Current view: top level - src/nodalkernels - TimeDerivativeNodalKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
Date: 2026-05-29 20:35:17 Functions: 4 4 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 "TimeDerivativeNodalKernel.h"
      11             : 
      12             : registerMooseObject("MooseApp", TimeDerivativeNodalKernel);
      13             : 
      14             : InputParameters
      15        6328 : TimeDerivativeNodalKernel::validParams()
      16             : {
      17        6328 :   InputParameters params = TimeNodalKernel::validParams();
      18        6328 :   params.addClassDescription(
      19             :       "Forms the contribution to the residual and jacobian of the time derivative term from an ODE "
      20             :       "being solved at all nodes.");
      21        6328 :   return params;
      22           0 : }
      23             : 
      24         119 : TimeDerivativeNodalKernel::TimeDerivativeNodalKernel(const InputParameters & parameters)
      25         119 :   : TimeNodalKernel(parameters)
      26             : {
      27         119 : }
      28             : 
      29             : Real
      30      907799 : TimeDerivativeNodalKernel::computeQpResidual()
      31             : {
      32      907799 :   return _u_dot[_qp];
      33             : }
      34             : 
      35             : Real
      36      152823 : TimeDerivativeNodalKernel::computeQpJacobian()
      37             : {
      38      152823 :   return _du_dot_du[_qp];
      39             : }

Generated by: LCOV version 1.14