BiCubicSplineBase Class ReferenceΒΆ

Splines: Splines::BiCubicSplineBase Class Reference
Splines
Splines::BiCubicSplineBase Class Reference

#include <SplineBiCubic.hxx>

Inheritance diagram for Splines::BiCubicSplineBase:
Splines::SplineSurf Splines::Akima2Dspline Splines::BiCubicSpline

Public Member Functions

 BiCubicSplineBase (string const &name="BiCubicSplineBase")
 spline constructor
 
Estimated derivatives at interpolation nodes
real_type Dx_node (integer i, integer j) const
 
real_type Dy_node (integer i, integer j) const
 
real_type Dxy_node (integer i, integer j) const
 
Evaluate
real_type eval (real_type x, real_type y) const override
 
void D (real_type x, real_type y, real_type d[3]) const override
 
real_type Dx (real_type x, real_type y) const override
 
real_type Dy (real_type x, real_type y) const override
 
void DD (real_type x, real_type y, real_type dd[6]) const override
 
real_type Dxx (real_type x, real_type y) const override
 
real_type Dxy (real_type x, real_type y) const override
 
real_type Dyy (real_type x, real_type y) const override
 
- Public Member Functions inherited from Splines::SplineSurf
 SplineSurf (string const &name="Spline")
 
virtual ~SplineSurf ()
 
void clear ()
 
virtual void write_to_stream (ostream_type &s) const =0
 
virtual char const * type_name () const =0
 
virtual string info () const
 
void info (ostream_type &stream) const
 
void dump_data (ostream_type &s) const
 
bool is_x_closed () const
 
void make_x_closed ()
 
void make_x_opened ()
 
bool is_y_closed () const
 
void make_y_closed ()
 
void make_y_opened ()
 
bool is_x_bounded () const
 
void make_x_unbounded ()
 
void make_x_bounded ()
 
bool is_y_bounded () const
 
void make_y_unbounded ()
 
void make_y_bounded ()
 
string const & name () const
 
integer num_point_x () const
 
integer num_point_y () const
 
real_type x_node (integer i) const
 
real_type y_node (integer i) const
 
real_type z_node (integer i, integer j) const
 
real_type x_min () const
 
real_type x_max () const
 
real_type y_min () const
 
real_type y_max () const
 
real_type z_min () const
 
real_type z_max () const
 
void build (real_type const x[], integer incx, real_type const y[], integer incy, real_type const z[], integer ldZ, integer nx, integer ny, bool fortran_storage=false, bool transposed=false)
 
void build (vector< real_type > const &x, vector< real_type > const &y, vector< real_type > const &z, bool fortran_storage=false, bool transposed=false)
 
void build (real_type const z[], integer ldZ, integer nx, integer ny, bool fortran_storage=false, bool transposed=false)
 
void build (vector< real_type > const &z, integer nx, integer ny, bool fortran_storage=false, bool transposed=false)
 
void setup (GenericContainer const &gc)
 
void build (GenericContainer const &gc)
 
real_type operator() (real_type x, real_type y) const
 
real_type eval_D_1 (real_type x, real_type y) const
 
real_type eval_D_2 (real_type x, real_type y) const
 
real_type eval_D_1_1 (real_type x, real_type y) const
 
real_type eval_D_1_2 (real_type x, real_type y) const
 
real_type eval_D_2_2 (real_type x, real_type y) const
 

Detailed Description

Bi-cubic spline base class

Member Function Documentation

◆ D()

void Splines::BiCubicSplineBase::D ( real_type x,
real_type y,
real_type d[3] ) const
overridevirtual

Evaluate spline with derivative at point \( (x,y) \)

  • d[0] the value of the spline
  • d[1] the value of the spline x derivative
  • d[2] the value of the spline y derivative

Implements Splines::SplineSurf.

◆ DD()

void Splines::BiCubicSplineBase::DD ( real_type x,
real_type y,
real_type dd[6] ) const
overridevirtual

Evaluate spline with derivative at point \( (x,y) \)

  • d[0] the value of the spline
  • d[1] the value of the spline x derivative
  • d[2] the value of the spline y derivative
  • d[3] the value of the spline x second derivative
  • d[4] the value of the spline y second derivative
  • d[5] the value of the spline xy mixed derivative

Implements Splines::SplineSurf.

◆ Dx()

real_type Splines::BiCubicSplineBase::Dx ( real_type x,
real_type y ) const
overridevirtual

Evaluate spline x derivative at point \( (x,y) \)

Implements Splines::SplineSurf.

◆ Dx_node()

real_type Splines::BiCubicSplineBase::Dx_node ( integer i,
integer j ) const
inline

Estimated x derivatives at node (i,j)

◆ Dxx()

real_type Splines::BiCubicSplineBase::Dxx ( real_type x,
real_type y ) const
overridevirtual

Evaluate spline x second derivative at point \( (x,y) \)

Implements Splines::SplineSurf.

◆ Dxy()

real_type Splines::BiCubicSplineBase::Dxy ( real_type x,
real_type y ) const
overridevirtual

Evaluate spline xy mixed derivative at point \( (x,y) \)

Implements Splines::SplineSurf.

◆ Dxy_node()

real_type Splines::BiCubicSplineBase::Dxy_node ( integer i,
integer j ) const
inline

Estimated mixed xy derivatives at node (i,j)

◆ Dy()

real_type Splines::BiCubicSplineBase::Dy ( real_type x,
real_type y ) const
overridevirtual

Evaluate spline y derivative at point \( (x,y) \)

Implements Splines::SplineSurf.

◆ Dy_node()

real_type Splines::BiCubicSplineBase::Dy_node ( integer i,
integer j ) const
inline

Estimated y derivatives at node (i,j)

◆ Dyy()

real_type Splines::BiCubicSplineBase::Dyy ( real_type x,
real_type y ) const
overridevirtual

Evaluate spline y second derivative at point \( (x,y) \)

Implements Splines::SplineSurf.

◆ eval()

real_type Splines::BiCubicSplineBase::eval ( real_type x,
real_type y ) const
overridevirtual

Evaluate spline at point \( (x,y) \)

Implements Splines::SplineSurf.


The documentation for this class was generated from the following files:
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/Splines/SplineBiCubic.hxx
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/SplineBiCubic.cc
  • /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/SplinesBivariate.cc