WARPXM v1.10.0
Loading...
Searching...
No Matches
spline.h
Go to the documentation of this file.
1#ifndef SPLINE_H
2#define SPLINE_H
3
4#include "warpxm/warpxm_config.h"
5#include <vector>
6
7namespace wxm
8{
9namespace spline
10{
24void fpbspl(const std::vector<real>& t,
25 const int n,
26 const int k,
27 const real x,
28 const int l,
29 std::vector<real>& h);
30
51void eval_spline2d(const std::vector<real>& tx,
52 const std::vector<real>& ty,
53 const int nx,
54 const int ny,
55 const std::vector<real>& c,
56 const int kx,
57 const int ky,
58 std::vector<real>& lx,
59 std::vector<real>& ly,
60 std::vector<real>& hx,
61 std::vector<real>& hy,
62 std::vector<std::vector<real>>& wx,
63 std::vector<std::vector<real>>& wy,
64 const int mx,
65 const int my,
66 const std::vector<real>& x,
67 const std::vector<real>& y,
68 std::vector<std::vector<real>>& SplineValue2D);
69
70
71} // namespace spline
72} // namespace wxm
73
74#endif
void eval_spline2d(const std::vector< real > &tx, const std::vector< real > &ty, const int nx, const int ny, const std::vector< real > &c, const int kx, const int ky, std::vector< real > &lx, std::vector< real > &ly, std::vector< real > &hx, std::vector< real > &hy, std::vector< std::vector< real > > &wx, std::vector< std::vector< real > > &wy, const int mx, const int my, const std::vector< real > &x, const std::vector< real > &y, std::vector< std::vector< real > > &SplineValue2D)
Evaluate 2D B-spline values at (x, y), given the knots vector and coefficients.
void fpbspl(const std::vector< real > &t, const int n, const int k, const real x, const int l, std::vector< real > &h)
Subroutine fpbspl evaluates the (k+1) non-zero b-splines of degree k at t(l) <= x < t(l+1) using the ...
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11