www.mooseframework.org
Functions
SwitchingFunctionPenalty.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SwitchingFunctionPenalty > ()
 

Function Documentation

template<>
InputParameters validParams< SwitchingFunctionPenalty > ( )

Definition at line 11 of file SwitchingFunctionPenalty.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addClassDescription(
15  "Penalty kernel to constrain the sum of all switching functions in a multiphase system.");
16  params.addParam<std::vector<MaterialPropertyName>>(
17  "h_names", "Switching Function Materials that provide h(eta_i)");
18  params.addRequiredCoupledVar("etas", "eta_i order parameters, one for each h");
19  params.addParam<Real>("penalty", 1.0, "Penalty scaling factor");
20  return params;
21 }