www.mooseframework.org
Functions
SwitchingFunctionPenalty.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", SwitchingFunctionPenalty)
 
template<>
InputParameters validParams< SwitchingFunctionPenalty > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
SwitchingFunctionPenalty   
)

◆ validParams< SwitchingFunctionPenalty >()

template<>
InputParameters validParams< SwitchingFunctionPenalty > ( )

Definition at line 16 of file SwitchingFunctionPenalty.C.

17 {
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");
25  return params;
26 }