SU2
Public Member Functions | List of all members
CBezierBlending Class Reference

Class that defines the blending using Bernsteinpolynomials (Bezier Curves). More...

#include <grid_movement_structure.hpp>

Inheritance diagram for CBezierBlending:
CFreeFormBlending

Public Member Functions

 CBezierBlending (short val_order, short n_controlpoints)
 Constructor of the class. More...
 
 ~CBezierBlending ()
 Destructor of the class.
 
su2double GetBasis (short val_i, su2double val_t)
 Returns the value of the i-th basis function and stores the values of the i+p basis functions in the matrix N. More...
 
su2double GetDerivative (short val_i, su2double val_t, short val_order_der)
 Returns the value of the derivative of the i-th basis function. More...
 
void SetOrder (short val_order, short n_controlpoints)
 Set the order and number of control points. More...
 
- Public Member Functions inherited from CFreeFormBlending
 CFreeFormBlending ()
 Constructor of the class.
 
virtual ~CFreeFormBlending ()
 Destructor of the class.
 
su2double GetOrder ()
 Returns the current order of the function.
 
su2double GetDegree ()
 Returns the current degree of the function.
 

Additional Inherited Members

- Protected Attributes inherited from CFreeFormBlending
unsigned short Order
 Order of the polynomial basis.
 
unsigned short Degree
 Degree (Order - 1) of the polynomial basis.
 
unsigned short nControl
 Number of control points.
 

Detailed Description

Class that defines the blending using Bernsteinpolynomials (Bezier Curves).

Author
F. Palacios, T. Albring
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CBezierBlending()

CBezierBlending::CBezierBlending ( short  val_order,
short  n_controlpoints 
)

Constructor of the class.

Parameters
[in]val_order- Max. order of the basis functions.
[in]n_controlpoints- Not used here.

Member Function Documentation

§ GetBasis()

su2double CBezierBlending::GetBasis ( short  val_i,
su2double  val_t 
)
virtual

Returns the value of the i-th basis function and stores the values of the i+p basis functions in the matrix N.

Parameters
[in]val_i- index of the basis function.
[in]val_t- Point at which we want to evaluate the i-th basis.

Reimplemented from CFreeFormBlending.

§ GetDerivative()

su2double CBezierBlending::GetDerivative ( short  val_i,
su2double  val_t,
short  val_order_der 
)
virtual

Returns the value of the derivative of the i-th basis function.

Parameters
[in]val_i- index of the basis function.
[in]val_t- Point at which we want to evaluate the derivative of the i-th basis.
[in]val_order- Order of the derivative.

Reimplemented from CFreeFormBlending.

§ SetOrder()

void CBezierBlending::SetOrder ( short  val_order,
short  n_controlpoints 
)
virtual

Set the order and number of control points.

Parameters
[in]val_order- The new order of the function.
[in]n_controlpoints- the new number of control points.

Reimplemented from CFreeFormBlending.


The documentation for this class was generated from the following files: