LCOV - code coverage report
Current view: top level - src/nodalkernels - TimeDerivativeNodalKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 11 12 91.7 %
Date: 2025-07-17 01:28:37 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       28745 : TimeDerivativeNodalKernel::validParams()
      16             : {
      17       28745 :   InputParameters params = TimeNodalKernel::validParams();
      18       28745 :   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       28745 :   return params;
      22           0 : }
      23             : 
      24         122 : TimeDerivativeNodalKernel::TimeDerivativeNodalKernel(const InputParameters & parameters)
      25         122 :   : TimeNodalKernel(parameters)
      26             : {
      27         122 : }
      28             : 
      29             : Real
      30      910165 : TimeDerivativeNodalKernel::computeQpResidual()
      31             : {
      32      910165 :   return _u_dot[_qp];
      33             : }
      34             : 
      35             : Real
      36      156413 : TimeDerivativeNodalKernel::computeQpJacobian()
      37             : {
      38      156413 :   return _du_dot_du[_qp];
      39             : }

Generated by: LCOV version 1.14