Skip to content

Commit

Permalink
restore f_name in CrackGeometricFunction.C and DegradationFunctionBase.C
Browse files Browse the repository at this point in the history
  • Loading branch information
BoZeng1997 committed Sep 27, 2023
1 parent df2f360 commit d0fd456
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CrackGeometricFunction::validParams()
"function. The initial derivative as well as the normalization constant are automatically "
"populated given the function definition.");

params.set<std::string>("property_name") = "alpha";
params.set<std::string>("f_name") = "alpha";
params.addRequiredCoupledVar("phase_field", "The phase-field variable");

params.set<unsigned int>("derivative_order") = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DegradationFunctionBase::validParams()
{
InputParameters params = CustomParsedFunctionBase::validParams();

params.set<std::string>("property_name") = "g";
params.set<std::string>("f_name") = "g";
params.addRequiredCoupledVar("phase_field", "The phase-field variable");

params.set<unsigned int>("derivative_order") = 1;
Expand Down

0 comments on commit d0fd456

Please sign in to comment.