LCOV - code coverage report
Current view: top level - src/bounds - ConstantBounds.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 8 9 88.9 %
Date: 2025-07-17 01:28:37 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       29596 : ConstantBounds::validParams()
      17             : {
      18       29596 :   InputParameters params = BoundsBase::validParams();
      19       29596 :   params.addClassDescription(
      20             :       "Provides constant bound of a variable for the PETSc's variational inequalities solver");
      21       29596 :   params.addRequiredParam<Real>("bound_value", "The value of bound for the variable");
      22       29596 :   return params;
      23           0 : }
      24             : 
      25         546 : ConstantBounds::ConstantBounds(const InputParameters & parameters)
      26         546 :   : BoundsBase(parameters), _bound_value(getParam<Real>("bound_value"))
      27             : {
      28         538 : }

Generated by: LCOV version 1.14