Class PenaltyBarrierU_parabola¶
Defined in File PenaltyBarrierU.cc
Inheritance Relationships¶
Base Type¶
public Mechatronix::PenaltyBarrierU_base
(Class PenaltyBarrierU_base)
Class Documentation¶
-
class
Mechatronix
::
PenaltyBarrierU_parabola
: public Mechatronix::PenaltyBarrierU_base¶
-
Parabolic penalty.
Public Functions
-
inline
PenaltyBarrierU_parabola
(string const &name)¶
-
Construct the penalty.
-
inline virtual void
setup
(real_type epsilon, real_type tolerance) override¶
-
Initialize the penalty internal parameters based on the values of \( h \) and \( \epsilon \)
for \( h \) and
vars[name()+"Epsi"]
for \( \epsilon \)Set the internal parameter
\[ C = \frac{\epsilon}{(1-h)^2} \]based on the values of \( h \) and \( \epsilon \)
- Parameters
-
epsilon – [in] value \( \epsilon \)
tolerance – [in] value \( h \)
-
inline