Class WallErfPower1

Inheritance Relationships

Base Type

Class Documentation

class Mechatronix::WallErfPower1 : public Mechatronix::RegularizedBase

Wall function smoothed.

Inizialization

inline explicit WallErfPower1()
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) = A ( 1+\mathrm{erf}(Bx)) x + \displaystyle\frac{A\mathrm{e}^{-(Bx)^2}}{B\sqrt{\pi}} \]

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

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

../_images/WallErfPower1_0.jpeg

virtual real_type D(real_type x) const override

Evaluate regularized sign first derivative

../_images/WallErfPower1_1.jpeg

virtual real_type DD(real_type x) const override

Evaluate regularized sign first derivative

../_images/WallErfPower1_2.jpeg

Info

virtual string info() const override