LCOV - code coverage report
Current view: top level - src/userobjects - HEVPStrengthUOBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: f45d79 Lines: 9 10 90.0 %
Date: 2025-07-25 05:00:39 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          60 : HEVPStrengthUOBase::validParams()
      14             : {
      15          60 :   InputParameters params = DiscreteElementUserObject::validParams();
      16         120 :   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          60 :   params.addClassDescription("User Object to compute material resistance");
      21          60 :   return params;
      22           0 : }
      23             : 
      24          30 : HEVPStrengthUOBase::HEVPStrengthUOBase(const InputParameters & parameters)
      25             :   : DiscreteElementUserObject(parameters),
      26          30 :     _intvar_prop_name(getParam<std::string>("intvar_prop_name")),
      27          90 :     _intvar(getMaterialPropertyByName<Real>(_intvar_prop_name))
      28             : {
      29          30 : }

Generated by: LCOV version 1.14