37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
65 if ( m_spline_2D !=
nullptr ) {
67 m_spline_2D =
nullptr;
81 bool is_x_closed()
const {
return m_spline_2D->is_x_closed(); }
96 bool is_y_closed()
const {
return m_spline_2D->is_y_closed(); }
152 string const &
name()
const {
return m_spline_2D->name(); }
184 void clear() { m_spline_2D->clear(); }
253 bool fortran_storage =
false,
254 bool transposed =
false
257 m_spline_2D->build( x, incx, y, incy, z, ldZ, nx, ny, fortran_storage, transposed );
275 vector<real_type>
const & x,
276 vector<real_type>
const & y,
277 vector<real_type>
const & z,
278 bool fortran_storage =
false,
279 bool transposed =
false
282 m_spline_2D->build( x, y, z, fortran_storage, transposed );
306 bool fortran_storage =
false,
307 bool transposed =
false
310 m_spline_2D->build( z, ldZ, nx, ny, fortran_storage, transposed );
330 vector<real_type>
const & z,
333 bool fortran_storage =
false,
334 bool transposed =
false
337 m_spline_2D->build( z, nx, ny, fortran_storage, transposed );
351 setup( GenericContainer
const & gc );
357 build( GenericContainer
const & gc )
372 {
return m_spline_2D->eval( x, y ); }
379 {
return m_spline_2D->eval( x, y ); }
394 {
return m_spline_2D->D( x, y, d ); }
402 {
return m_spline_2D->Dx( x, y ); }
410 {
return m_spline_2D->Dy( x, y ); }
418 {
return this->
Dx(x,y); }
426 {
return this->
Dy(x,y); }
446 {
return m_spline_2D->DD( x, y, dd ); }
454 {
return m_spline_2D->Dxx( x, y ); }
461 {
return m_spline_2D->Dxy( x, y ); }
469 {
return m_spline_2D->Dyy( x, y ); }
477 {
return this->
Dxx(x,y); }
484 {
return this->
Dxy(x,y); }
492 {
return this->
Dyy(x,y); }
500 {
return m_spline_2D->write_to_stream( s ); }
505 char const *
type_name()
const {
return m_spline_2D->type_name(); }
512 {
return m_spline_2D->info(); }
518 info( ostream_type & stream )
const
519 { m_spline_2D->info( stream ); }
526 { m_spline_2D->dump_data( stream ); }
528 #ifdef SPLINES_BACK_COMPATIBILITY
529 integer numPointX()
const {
return m_spline_2D->num_point_x(); }
530 integer numPointY()
const {
return m_spline_2D->num_point_y(); }
Definition Splines2D.hxx:34
void setup(GenericContainer const &gc)
Definition Splines2D.cc:56
real_type y_max() const
Definition Splines2D.hxx:209
void make_x_bounded()
Definition Splines2D.hxx:123
void make_y_closed()
Definition Splines2D.hxx:101
string const & name() const
Definition Splines2D.hxx:152
real_type eval_D_1_1(real_type x, real_type y) const
Definition Splines2D.hxx:476
real_type operator()(real_type x, real_type y) const
Definition Splines2D.hxx:371
void make_x_unbounded()
Definition Splines2D.hxx:118
bool is_x_closed() const
Definition Splines2D.hxx:81
char const * type_name() const
Definition Splines2D.hxx:505
real_type eval_D_2(real_type x, real_type y) const
Definition Splines2D.hxx:425
real_type Dxy(real_type x, real_type y) const
Definition Splines2D.hxx:460
real_type eval_D_1_2(real_type x, real_type y) const
Definition Splines2D.hxx:483
void build(SplineType2D tp, vector< real_type > const &x, vector< real_type > const &y, vector< real_type > const &z, bool fortran_storage=false, bool transposed=false)
Definition Splines2D.hxx:273
real_type Dx(real_type x, real_type y) const
Definition Splines2D.hxx:401
integer num_point_y() const
Definition Splines2D.hxx:162
real_type z_min() const
Definition Splines2D.hxx:214
Spline2D(string const &name="Spline2D")
Definition Splines2D.hxx:56
real_type y_node(integer i) const
Definition Splines2D.hxx:172
void build(SplineType2D tp, real_type const z[], integer ldZ, integer nx, integer ny, bool fortran_storage=false, bool transposed=false)
Definition Splines2D.hxx:300
real_type eval_D_1(real_type x, real_type y) const
Definition Splines2D.hxx:417
void write_to_stream(ostream_type &s) const
Definition Splines2D.hxx:499
real_type Dy(real_type x, real_type y) const
Definition Splines2D.hxx:409
void build(GenericContainer const &gc)
Definition Splines2D.hxx:357
real_type eval(real_type x, real_type y) const
Definition Splines2D.hxx:378
void make_y_opened()
Definition Splines2D.hxx:106
bool is_y_bounded() const
Definition Splines2D.hxx:130
virtual ~Spline2D()
Definition Splines2D.hxx:64
void make_x_closed()
Definition Splines2D.hxx:86
real_type x_min() const
Definition Splines2D.hxx:194
real_type x_max() const
Definition Splines2D.hxx:199
real_type y_min() const
Definition Splines2D.hxx:204
bool is_y_closed() const
Definition Splines2D.hxx:96
void dump_data(ostream_type &stream) const
Definition Splines2D.hxx:525
void make_y_bounded()
Definition Splines2D.hxx:140
real_type z_node(integer i, integer j) const
Definition Splines2D.hxx:177
integer num_point_x() const
Definition Splines2D.hxx:157
void clear()
Definition Splines2D.hxx:184
real_type x_node(integer i) const
Definition Splines2D.hxx:167
bool is_x_bounded() const
Definition Splines2D.hxx:113
real_type z_max() const
Definition Splines2D.hxx:219
real_type eval_D_2_2(real_type x, real_type y) const
Definition Splines2D.hxx:491
void build(SplineType2D tp, 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)
Definition Splines2D.hxx:246
string info() const
Definition Splines2D.hxx:511
void build(SplineType2D tp, vector< real_type > const &z, integer nx, integer ny, bool fortran_storage=false, bool transposed=false)
Definition Splines2D.hxx:328
void make_x_opened()
Definition Splines2D.hxx:91
void make_y_unbounded()
Definition Splines2D.hxx:135
void info(ostream_type &stream) const
Definition Splines2D.hxx:518
real_type Dxx(real_type x, real_type y) const
Definition Splines2D.hxx:453
void DD(real_type x, real_type y, real_type dd[6]) const
Definition Splines2D.hxx:445
void D(real_type x, real_type y, real_type d[3]) const
Definition Splines2D.hxx:393
real_type Dyy(real_type x, real_type y) const
Definition Splines2D.hxx:468
Definition Splines.hh:1139
Definition SplineAkima.cc:50
int integer
Signed integer type for splines.
Definition Splines.hh:58
enum class SplineType2D :integer { BILINEAR=0, BICUBIC=1, BIQUINTIC=2, AKIMA2D=3 } SplineType2D
Associate a number for each type of splines implemented.
Definition Splines.hh:87
double real_type
Floating point type for splines.
Definition Splines.hh:57