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: 2026-04-22 20:21:53 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         676 : DegradationFunctionBase::validParams()
       9             : {
      10         676 :   InputParameters params = CustomParsedFunctionBase::validParams();
      11             : 
      12         676 :   params.set<std::string>("property_name") = "g";
      13        1352 :   params.addRequiredCoupledVar("phase_field", "The phase-field variable");
      14             : 
      15         676 :   params.set<unsigned int>("derivative_order") = 1;
      16         676 :   params.suppressParameter<unsigned int>("derivative_order");
      17         676 :   return params;
      18           0 : }
      19             : 
      20         201 : DegradationFunctionBase::DegradationFunctionBase(const InputParameters & parameters)
      21         201 :   : CustomParsedFunctionBase(parameters)
      22             : {
      23         201 : }

Generated by: LCOV version 1.16