LCOV - code coverage report
Current view: top level - src/materials/pff_constitutive_functions - DegradationFunctionBase.C (source / functions) Hit Total Coverage
Test: coverage.info Lines: 10 11 90.9 %
Date: 2025-08-02 01:09:25 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 "DegradationFunctionBase.h"
       6             : 
       7             : InputParameters
       8         664 : DegradationFunctionBase::validParams()
       9             : {
      10         664 :   InputParameters params = CustomParsedFunctionBase::validParams();
      11             : 
      12         664 :   params.set<std::string>("property_name") = "g";
      13        1328 :   params.addRequiredCoupledVar("phase_field", "The phase-field variable");
      14             : 
      15         664 :   params.set<unsigned int>("derivative_order") = 1;
      16         664 :   params.suppressParameter<unsigned int>("derivative_order");
      17         664 :   return params;
      18           0 : }
      19             : 
      20         192 : DegradationFunctionBase::DegradationFunctionBase(const InputParameters & parameters)
      21         192 :   : CustomParsedFunctionBase(parameters)
      22             : {
      23         192 : }

Generated by: LCOV version 1.16