LCOV - code coverage report
Current view: top level - src/kokkos/kernels - KokkosReaction.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 "KokkosReaction.h"
      11             : 
      12      412071 : registerKokkosResidualObject("MooseApp", KokkosReaction);
      13             : 
      14             : InputParameters
      15        9400 : KokkosReaction::validParams()
      16             : {
      17        9400 :   InputParameters params = Kernel::validParams();
      18       18800 :   params.addClassDescription(
      19             :       "Implements a simple consuming reaction term with weak form $(\\psi_i, \\lambda u_h)$.");
      20       18844 :   params.addParam<Real>(
      21       18712 :       "rate", 1.0, "The $(\\lambda)$ multiplier, the relative amount consumed per unit time.");
      22       28200 :   params.declareControllable("rate");
      23        9400 :   return params;
      24           0 : }
      25             : 
      26         105 : KokkosReaction::KokkosReaction(const InputParameters & parameters)
      27         126 :   : Kernel(parameters), _rate(getParam<Real>("rate"))
      28             : {
      29          84 : }

Generated by: LCOV version 1.14