LCOV - code coverage report
Current view: top level - src/kokkos/kernels - KokkosCoupledTimeDerivative.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31730 (e8b711) with base e0c998 Lines: 11 12 91.7 %
Date: 2025-10-29 16:49:47 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 "KokkosCoupledTimeDerivative.h"
      11             : 
      12      412071 : registerKokkosResidualObject("MooseApp", KokkosCoupledTimeDerivative);
      13             : 
      14             : InputParameters
      15        9270 : KokkosCoupledTimeDerivative::validParams()
      16             : {
      17        9270 :   InputParameters params = Kernel::validParams();
      18       18540 :   params.addClassDescription("Time derivative Kernel that acts on a coupled variable. Weak form: "
      19             :                              "$(\\psi_i, \\frac{\\partial v_h}{\\partial t})$.");
      20       27810 :   params.addRequiredCoupledVar("v", "Coupled variable");
      21        9270 :   return params;
      22           0 : }
      23             : 
      24          39 : KokkosCoupledTimeDerivative::KokkosCoupledTimeDerivative(const InputParameters & parameters)
      25             :   : Kernel(parameters),
      26          15 :     _v_dot(kokkosCoupledDot("v")),
      27          30 :     _dv_dot(kokkosCoupledDotDu("v")),
      28          45 :     _v_var(coupled("v"))
      29             : {
      30          19 : }

Generated by: LCOV version 1.14