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