Go to the documentation of this file.
13 #include "DerivativeMaterialInterface.h"
41 std::vector<const MaterialProperty<Real> *>
_h,
_dh;
42 const MaterialProperty<Real> *
_d2h;
int _a
Index of the eta this kernel is operating on.
std::vector< const MaterialProperty< Real > * > _dh
virtual Real computeQpOffDiagJacobian(unsigned int)
const unsigned int _number_of_nl_variables
number of non-linear variables in the problem
std::vector< const MaterialProperty< Real > * > _h
Switching functions and their drivatives.
SwitchingFunctionPenalty is a constraint kernel adds a penalty to each order parameter to enforce .
const MaterialProperty< Real > * _d2h
std::vector< MaterialPropertyName > _h_names
Switching function names.
virtual Real computeQpJacobian()
SwitchingFunctionPenalty(const InputParameters ¶meters)
const Real _penalty
Penalty pre-factor.
InputParameters validParams< SwitchingFunctionPenalty >()
virtual Real computeQpResidual()
std::vector< int > _j_eta
eta index for the j_vars in the jacobian computation