LCOV - code coverage report
Current view: top level - src/bounds - ConstantBounds.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 8 9 88.9 %
Date: 2026-05-29 20:35:17 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        7172 : ConstantBounds::validParams()
      17             : {
      18        7172 :   InputParameters params = BoundsBase::validParams();
      19       14344 :   params.addClassDescription(
      20             :       "Provides constant bound of a variable for the PETSc's variational inequalities solver");
      21       21516 :   params.addRequiredParam<Real>("bound_value", "The value of bound for the variable");
      22        7172 :   return params;
      23           0 : }
      24             : 
      25         540 : ConstantBounds::ConstantBounds(const InputParameters & parameters)
      26        1074 :   : BoundsBase(parameters), _bound_value(getParam<Real>("bound_value"))
      27             : {
      28         534 : }

Generated by: LCOV version 1.14