Class WallErfPower3

Inheritance Relationships

Base Type

Class Documentation

class Mechatronix::WallErfPower3 : public Mechatronix::RegularizedBase

Wall function smoothed.

Inizialization

inline explicit WallErfPower3()
virtual void setup(GenericContainer const &gc) override
void setup(real_type h, real_type epsilon)
inline void update_h(real_type h)
inline void update_epsilon(real_type epsilon)

Evaluate

virtual real_type operator()(real_type x) const override

Evaluate regularized wall

\[ \mathrm{wall}(x) = \left(\frac{x^2}{2}+\frac{1}{4B^2}\right) A(1+\mathrm{erf}(Bx)) + \frac{A\mathrm{e}^{-(Bx)^2}}{2B\sqrt{\pi}} \]

where \( A \) and \( A \) satisfy

\[ \mathrm{wall}(0) = \epsilon, \quad \mathrm{wall}(x) ~ \left(\frac{x}{h}\right)^2, \quad x\gg 0 \]

../_images/WallErfPower3_0.jpeg

virtual real_type D(real_type x) const override

Evaluate regularized sign first derivative

../_images/WallErfPower3_1.jpeg

virtual real_type DD(real_type x) const override

Evaluate regularized sign first derivative

../_images/WallErfPower3_2.jpeg

Info

virtual string info() const override