LCOV - code coverage report
Current view: top level - src/kokkos/nodalkernels - KokkosReactionNodalKernel.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31730 (e8b711) with base e0c998 Lines: 9 10 90.0 %
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 "KokkosReactionNodalKernel.h"
      11             : 
      12      412071 : registerKokkosResidualObject("MooseApp", KokkosReactionNodalKernel);
      13             : 
      14             : InputParameters
      15        9256 : KokkosReactionNodalKernel::validParams()
      16             : {
      17        9256 :   InputParameters params = NodalKernel::validParams();
      18       18512 :   params.addClassDescription("Implements a simple consuming reaction term at nodes");
      19       27768 :   params.addParam<Real>("coeff", 1., "A coefficient for multiplying the reaction term");
      20        9256 :   return params;
      21           0 : }
      22             : 
      23          15 : KokkosReactionNodalKernel::KokkosReactionNodalKernel(const InputParameters & parameters)
      24          18 :   : NodalKernel(parameters), _coeff(getParam<Real>("coeff"))
      25             : {
      26          12 : }

Generated by: LCOV version 1.14