LCOV - code coverage report
Current view: top level - src/userobjects - CrystalPlasticityUOBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: #32971 (54bef8) with base c6cf66 Lines: 10 11 90.9 %
Date: 2026-05-29 20:40:07 Functions: 3 3 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 "CrystalPlasticityUOBase.h"
      11             : 
      12             : InputParameters
      13         416 : CrystalPlasticityUOBase::validParams()
      14             : {
      15         416 :   InputParameters params = DiscreteElementUserObject::validParams();
      16         832 :   params.addRequiredParam<unsigned int>("variable_size", "The userobject's variable size.");
      17         416 :   params.addClassDescription("Crystal plasticity userobject system base class. Override the "
      18             :                              "virtual functions in your class");
      19         416 :   return params;
      20           0 : }
      21             : 
      22         208 : CrystalPlasticityUOBase::CrystalPlasticityUOBase(const InputParameters & parameters)
      23         416 :   : DiscreteElementUserObject(parameters), _variable_size(getParam<unsigned int>("variable_size"))
      24             : {
      25         208 : }
      26             : 
      27             : unsigned int
      28    13819378 : CrystalPlasticityUOBase::variableSize() const
      29             : {
      30    13819378 :   return _variable_size;
      31             : }

Generated by: LCOV version 1.14