LCOV - code coverage report
Current view: top level - src/userobjects - HEVPStrengthUOBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: #31405 (292dce) with base fef103 Lines: 9 10 90.0 %
Date: 2025-09-04 07:57:23 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 "HEVPStrengthUOBase.h"
      11             : 
      12             : InputParameters
      13          70 : HEVPStrengthUOBase::validParams()
      14             : {
      15          70 :   InputParameters params = DiscreteElementUserObject::validParams();
      16         140 :   params.addParam<std::string>("intvar_prop_name",
      17             :                                "Name of internal variable property to "
      18             :                                "calculate material resistance: Same as "
      19             :                                "internal variable user object");
      20          70 :   params.addClassDescription("User Object to compute material resistance");
      21          70 :   return params;
      22           0 : }
      23             : 
      24          35 : HEVPStrengthUOBase::HEVPStrengthUOBase(const InputParameters & parameters)
      25             :   : DiscreteElementUserObject(parameters),
      26          35 :     _intvar_prop_name(getParam<std::string>("intvar_prop_name")),
      27         105 :     _intvar(getMaterialPropertyByName<Real>(_intvar_prop_name))
      28             : {
      29          35 : }

Generated by: LCOV version 1.14