LCOV - code coverage report
Current view: top level - src/materials/pff_constitutive_functions - PowerDegradationFunction.C (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 10 100.0 %
Date: 2025-02-21 01:06:12 Functions: 2 2 100.0 %

          Line data    Source code
       1             : //* This file is part of the RACCOON application
       2             : //* being developed at Dolbow lab at Duke University
       3             : //* http://dolbow.pratt.duke.edu
       4             : 
       5             : #include "PowerDegradationFunction.h"
       6             : 
       7             : registerMooseObject("raccoonApp", PowerDegradationFunction);
       8             : 
       9             : InputParameters
      10         186 : PowerDegradationFunction::validParams()
      11             : {
      12         186 :   InputParameters params = DegradationFunctionBase::validParams();
      13         186 :   params.addClassDescription(
      14             :       "defines the power degradation function $g(d) = (1-d)^p (1-\\eta) + \\eta$.");
      15             : 
      16         186 :   params.set<std::string>("expression") = "(1-d)^p*(1-eta)+eta";
      17         744 :   params.set<std::vector<std::string>>("parameter_names") = {"p", "eta"};
      18         186 :   return params;
      19         372 : }
      20             : 
      21          36 : PowerDegradationFunction::PowerDegradationFunction(const InputParameters & parameters)
      22          36 :   : DegradationFunctionBase(parameters)
      23             : {
      24          36 : }

Generated by: LCOV version 1.16