LCOV - code coverage report
Current view: top level - src/kokkos/kernels - KokkosCoupledTimeDerivative.K (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: 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      443905 : registerKokkosResidualObject("MooseApp", KokkosCoupledTimeDerivative);
      13             : 
      14             : InputParameters
      15        2156 : KokkosCoupledTimeDerivative::validParams()
      16             : {
      17        2156 :   InputParameters params = KernelValue::validParams();
      18        4312 :   params.addClassDescription("Time derivative Kernel that acts on a coupled variable. Weak form: "
      19             :                              "$(\\psi_i, \\frac{\\partial v_h}{\\partial t})$.");
      20        6468 :   params.addRequiredCoupledVar("v", "Coupled variable");
      21        2156 :   return params;
      22           0 : }
      23             : 
      24          99 : KokkosCoupledTimeDerivative::KokkosCoupledTimeDerivative(const InputParameters & parameters)
      25             :   : KernelValue(parameters),
      26          15 :     _v_dot(kokkosCoupledDot("v")),
      27          30 :     _dv_dot(kokkosCoupledDotDu("v")),
      28          45 :     _v_var(coupled("v"))
      29             : {
      30          29 : }

Generated by: LCOV version 1.14