LCOV - code coverage report
Current view: top level - src/bounds - ConstantBounds.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31730 (e8b711) with base e0c998 Lines: 8 9 88.9 %
Date: 2025-10-29 16:49:47 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 "ConstantBounds.h"
      11             : 
      12             : registerMooseObject("MooseApp", ConstantBounds);
      13             : registerMooseObjectRenamed("MooseApp", ConstantBoundsAux, "06/30/2024 24:00", ConstantBounds);
      14             : 
      15             : InputParameters
      16       30876 : ConstantBounds::validParams()
      17             : {
      18       30876 :   InputParameters params = BoundsBase::validParams();
      19       61752 :   params.addClassDescription(
      20             :       "Provides constant bound of a variable for the PETSc's variational inequalities solver");
      21       92628 :   params.addRequiredParam<Real>("bound_value", "The value of bound for the variable");
      22       30876 :   return params;
      23           0 : }
      24             : 
      25         584 : ConstantBounds::ConstantBounds(const InputParameters & parameters)
      26        1160 :   : BoundsBase(parameters), _bound_value(getParam<Real>("bound_value"))
      27             : {
      28         576 : }

Generated by: LCOV version 1.14