LCOV - code coverage report
Current view: top level - src/kokkos/kernels - KokkosCoupledTimeDerivative.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 6f668f Lines: 10 11 90.9 %
Date: 2025-09-22 20:01:15 Functions: 2 2 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             : registerMooseObject("MooseApp", KokkosCoupledTimeDerivative);
      13             : 
      14             : InputParameters
      15        9148 : KokkosCoupledTimeDerivative::validParams()
      16             : {
      17        9148 :   InputParameters params = Kernel::validParams();
      18       18296 :   params.addClassDescription("Time derivative Kernel that acts on a coupled variable. Weak form: "
      19             :                              "$(\\psi_i, \\frac{\\partial v_h}{\\partial t})$.");
      20       27444 :   params.addRequiredCoupledVar("v", "Coupled variable");
      21        9148 :   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