LCOV - code coverage report
Current view: top level - src/kokkos/nodalkernels - KokkosUpperBoundNodalKernel.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 "KokkosUpperBoundNodalKernel.h"
      11             : 
      12      412071 : registerKokkosResidualObject("MooseApp", KokkosUpperBoundNodalKernel);
      13             : 
      14             : InputParameters
      15        9312 : KokkosUpperBoundNodalKernel::validParams()
      16             : {
      17        9312 :   InputParameters params = KokkosBoundNodalKernel::validParams();
      18       18624 :   params.addClassDescription("Used to prevent a coupled variable from going above a upper bound");
      19       27936 :   params.addParam<Real>("upper_bound", 0, "The upper bound on the coupled variable");
      20        9312 :   return params;
      21           0 : }
      22             : 
      23          48 : KokkosUpperBoundNodalKernel::KokkosUpperBoundNodalKernel(const InputParameters & parameters)
      24          64 :   : KokkosBoundNodalKernel(parameters), _upper_bound(getParam<Real>("upper_bound"))
      25             : {
      26          40 : }

Generated by: LCOV version 1.14