Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< SwitchingFunctionPenalty >()
Definition at line 16 of file SwitchingFunctionPenalty.C.
18 InputParameters params = validParams<Kernel>();
19 params.addClassDescription(
20 "Penalty kernel to constrain the sum of all switching functions in a multiphase system.");
21 params.addParam<std::vector<MaterialPropertyName>>(
22 "h_names",
"Switching Function Materials that provide h(eta_i)");
23 params.addRequiredCoupledVar(
"etas",
"eta_i order parameters, one for each h");
24 params.addParam<Real>(
"penalty", 1.0,
"Penalty scaling factor");