Class Penalty2DTwoCurves

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Mechatronix::Penalty2DTwoCurves : public Mechatronix::Penalty2D

build 2d penalty by using 2 level curves

Subclassed by Mechatronix::Penalty2DEllipse, Mechatronix::Penalty2DRhomb

Evaluate

virtual real_type operator()(real_type x, real_type y) const
virtual real_type D_1(real_type x, real_type y) const

evaluate \( \displaystyle\frac{\partial}{\partial_x} p(x,y) \)

virtual real_type D_2(real_type x, real_type y) const

evaluate \( \displaystyle\frac{\partial}{\partial_y} p(x,y) \)

virtual real_type D_1_1(real_type x, real_type y) const

evaluate \( \partial^2_x p(x,y) \)

virtual real_type D_1_2(real_type x, real_type y) const

evaluate \( \displaystyle\frac{\partial}{\partial_x}\displaystyle\frac{\partial}{\partial_y} p(x,y) \)

virtual real_type D_2_2(real_type x, real_type y) const

evaluate \( \partial^2_y p(x,y) \)

Public Functions

inline explicit Penalty2DTwoCurves(string const &name)

construct penalty

Protected Functions

virtual void curve1(integer nd, real_type C, real_type S, real_type r[3]) const = 0
virtual void curve2(integer nd, real_type C, real_type S, real_type r[3]) const = 0

Protected Attributes

real_type zray