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

Generated by: LCOV version 1.16