SwitchingFunctionPenalty is a constraint kernel adds a penalty to each order parameter to enforce \( \sum_n h_i(\eta_i) \equiv 1 \). More...
#include <SwitchingFunctionPenalty.h>
Public Member Functions | |
SwitchingFunctionPenalty (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int) |
Protected Attributes | |
std::vector< MaterialPropertyName > | _h_names |
Switching function names. More... | |
unsigned int | _num_h |
std::vector< const MaterialProperty< Real > * > | _h |
Switching functions and their drivatives. More... | |
std::vector< const MaterialProperty< Real > * > | _dh |
const MaterialProperty< Real > * | _d2h |
const Real | _penalty |
Penalty pre-factor. More... | |
const unsigned int | _number_of_nl_variables |
number of non-linear variables in the problem More... | |
std::vector< int > | _j_eta |
eta index for the j_vars in the jacobian computation More... | |
int | _a |
Index of the eta this kernel is operating on. More... | |
SwitchingFunctionPenalty is a constraint kernel adds a penalty to each order parameter to enforce \( \sum_n h_i(\eta_i) \equiv 1 \).
Definition at line 26 of file SwitchingFunctionPenalty.h.
SwitchingFunctionPenalty::SwitchingFunctionPenalty | ( | const InputParameters & | parameters | ) |
Definition at line 28 of file SwitchingFunctionPenalty.C.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Index of the eta this kernel is operating on.
Definition at line 54 of file SwitchingFunctionPenalty.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpResidual(), and SwitchingFunctionPenalty().
|
protected |
Definition at line 42 of file SwitchingFunctionPenalty.h.
Referenced by SwitchingFunctionPenalty().
|
protected |
Definition at line 41 of file SwitchingFunctionPenalty.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), computeQpResidual(), and SwitchingFunctionPenalty().
|
protected |
Switching functions and their drivatives.
Definition at line 41 of file SwitchingFunctionPenalty.h.
Referenced by computeQpJacobian(), computeQpResidual(), and SwitchingFunctionPenalty().
|
protected |
Switching function names.
Definition at line 37 of file SwitchingFunctionPenalty.h.
Referenced by SwitchingFunctionPenalty().
|
protected |
eta index for the j_vars in the jacobian computation
Definition at line 51 of file SwitchingFunctionPenalty.h.
Referenced by computeQpOffDiagJacobian(), and SwitchingFunctionPenalty().
|
protected |
Definition at line 38 of file SwitchingFunctionPenalty.h.
Referenced by computeQpJacobian(), computeQpResidual(), and SwitchingFunctionPenalty().
|
protected |
number of non-linear variables in the problem
Definition at line 48 of file SwitchingFunctionPenalty.h.
Referenced by SwitchingFunctionPenalty().
|
protected |
Penalty pre-factor.
Definition at line 45 of file SwitchingFunctionPenalty.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().