LCOV - code coverage report
Current view: top level - src/fvkernels - FVTimeKernel.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #33416 (b10b36) with base 9fbd27 Lines: 11 12 91.7 %
Date: 2026-07-23 16:15:30 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 "FVTimeKernel.h"
      11             : 
      12             : #include "SystemBase.h"
      13             : 
      14             : registerADMooseObject("MooseApp", FVTimeKernel);
      15             : 
      16             : InputParameters
      17        3808 : FVTimeKernel::validParams()
      18             : {
      19        3808 :   InputParameters params = FVElementalKernel::validParams();
      20        7616 :   params.addClassDescription(
      21             :       "Residual contribution from time derivative of a variable for the finite volume method.");
      22       15232 :   params.set<MultiMooseEnum>("vector_tags") = "time";
      23       11424 :   params.set<MultiMooseEnum>("matrix_tags") = "system time";
      24        3808 :   return params;
      25           0 : }
      26             : 
      27         374 : FVTimeKernel::FVTimeKernel(const InputParameters & parameters)
      28         374 :   : FVElementalKernel(parameters), _u_dot(_var.adUDot())
      29             : {
      30         374 : }
      31             : 
      32             : ADReal
      33     5357246 : FVTimeKernel::computeQpResidual()
      34             : {
      35     5357246 :   return _u_dot[_qp];
      36             : }

Generated by: LCOV version 1.14