Class PenaltyBarrier1DGreaterThan¶
Defined in File PenaltyBarrier1D.hh
Inheritance Relationships¶
Base Type¶
public Mechatronix::PenaltyBarrier1Dsubtype
(Class PenaltyBarrier1Dsubtype)
Class Documentation¶
-
class
Mechatronix
::
PenaltyBarrier1DGreaterThan
: public Mechatronix::PenaltyBarrier1Dsubtype¶
-
Penalty Greater Than.
Public Functions
-
inline explicit
PenaltyBarrier1DGreaterThan
(string const &name)¶
-
Construct the penalty.
-
virtual void
setup
(GenericContainer const &gc) override¶
-
Set parameter for the penalty Greater Than. The generic container
gc
must contain”subType” the sub tipe of the wall of teh penalty
”tolerance” the tolerance
”epsilon” the regularization parameter
-
virtual real_type
operator()
(real_type x) const override¶
-
Evaluate penalty \( p(x) \)
\( p(0) = 1 \) or \( p(0) = \infty \) in case of barrier
\[ p(h) = \epsilon \]\[ \lim_{x\to+\infty} p(x) = 0 \]\[ \lim_{x\to-\infty} p(x) = +\infty \]
-
virtual string
info
() const override¶
-
print information about penalty
-
inline explicit