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

◆ validParams< SwitchingFunctionConstraintLagrange >()

template<>
InputParameters validParams< SwitchingFunctionConstraintLagrange > ( )

Definition at line 16 of file SwitchingFunctionConstraintLagrange.C.

17 {
18  InputParameters params = validParams<Kernel>();
19  params.addClassDescription("Lagrange multiplier kernel to constrain the sum of all switching "
20  "functions in a multiphase system. This kernel acts on the Lagrange "
21  "multiplier variable.");
22  params.addParam<std::vector<MaterialPropertyName>>("h_names", "Switching function materials");
23  params.addRequiredCoupledVar("etas", "eta order parameters");
24  params.addParam<Real>("epsilon", 1e-9, "Shift factor to avoid a zero pivot");
25  return params;
26 }