www.mooseframework.org
SwitchingFunctionConstraintEta.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef SWITCHINGFUNCTIONCONSTRAINTETA_H
8 #define SWITCHINGFUNCTIONCONSTRAINTETA_H
9 
10 #include "Kernel.h"
11 #include "DerivativeMaterialInterface.h"
12 
13 // Forward Declarations
15 
16 template <>
18 
24 class SwitchingFunctionConstraintEta : public DerivativeMaterialInterface<Kernel>
25 {
26 public:
27  SwitchingFunctionConstraintEta(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned int);
33 
35  VariableName _eta_name;
36 
38  const MaterialProperty<Real> & _dh;
39  const MaterialProperty<Real> & _d2h;
40 
42  const VariableValue & _lambda;
43  unsigned int _lambda_var;
44 };
45 
46 #endif // SWITCHINGFUNCTIONCONSTRAINTETA_H
SwitchingFunctionConstraintEta(const InputParameters &parameters)
const MaterialProperty< Real > & _dh
Switching function drivatives.
SwitchingFunctionConstraintEta is a constraint kernel that acts on the lambda lagrange multiplier non...
InputParameters validParams< SwitchingFunctionConstraintEta >()
const MaterialProperty< Real > & _d2h
VariableName _eta_name
Switching function name.
virtual Real computeQpOffDiagJacobian(unsigned int)
const VariableValue & _lambda
Lagrange multiplier.