www.mooseframework.org
Classes | Functions
SwitchingFunctionConstraintLagrange.h File Reference

Go to the source code of this file.

Classes

class  SwitchingFunctionConstraintLagrange
 SwitchingFunctionConstraintLagrange is a constraint kernel that acts on the lambda lagrange multiplier non-linear variables to enforce \( \sum_n h_i(\eta_i) - \epsilon\lambda \equiv 1 \). More...
 

Functions

template<>
InputParameters validParams< SwitchingFunctionConstraintLagrange > ()
 

Function Documentation

template<>
InputParameters validParams< SwitchingFunctionConstraintLagrange > ( )

Definition at line 11 of file SwitchingFunctionConstraintLagrange.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addClassDescription("Lagrange multiplier kernel to constrain the sum of all switching "
15  "functions in a multiphase system. This kernel acts on the lagrange "
16  "multiplier variable.");
17  params.addParam<std::vector<MaterialPropertyName>>(
18  "h_names", "Switching Function Materials that provide h(eta_i)");
19  params.addRequiredCoupledVar("etas", "eta_i order parameters, one for each h");
20  params.addParam<Real>("epsilon", 1e-9, "Shift factor to avoid a zero pivot");
21  return params;
22 }