Medusa  1.1
Coordinate Free Mehless Method implementation
RBFFD.cpp
Go to the documentation of this file.
1 
7 
15 
17 #include <Eigen/LU>
18 
19 namespace mm {
20 
22 #define COMMA ,
23 #define INSTANTIATE(classname) \
25  template class classname; \
26  template Eigen::Matrix<double , Eigen::Dynamic, 1> classname::getShape(const Der1<dim>&) const;\
27  template Eigen::Matrix<double , Eigen::Dynamic, 1> classname::getShape(const Der2<dim>&) const;\
28  template Eigen::Matrix<double , Eigen::Dynamic, 1> classname::getShape(const Lap<dim>&) const; \
29 
30 INSTANTIATE(RBFFD<Gaussian<double> COMMA Vec1d COMMA ScaleToClosest>)
31 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 3> COMMA Vec1d COMMA ScaleToClosest>)
32 
33 INSTANTIATE(RBFFD<InverseMultiquadric<double> COMMA Vec2d COMMA ScaleToClosest>)
34 INSTANTIATE(RBFFD<InverseMultiquadric<double> COMMA Vec3d COMMA ScaleToClosest>)
35 
36 INSTANTIATE(RBFFD<Multiquadric<double> COMMA Vec2d COMMA ScaleToClosest>)
37 INSTANTIATE(RBFFD<Multiquadric<double> COMMA Vec3d COMMA ScaleToClosest>)
38 
39 INSTANTIATE(RBFFD<Gaussian<double> COMMA Vec2d COMMA ScaleToClosest>)
40 INSTANTIATE(RBFFD<Gaussian<double> COMMA Vec3d COMMA ScaleToClosest>)
41 
42 INSTANTIATE(RBFFD<Polyharmonic<double COMMA -1> COMMA Vec2d COMMA ScaleToClosest>)
43 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 3> COMMA Vec2d COMMA ScaleToClosest>)
44 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 5> COMMA Vec2d COMMA ScaleToClosest>)
45 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 7> COMMA Vec2d COMMA ScaleToClosest>)
46 
47 INSTANTIATE(RBFFD<Polyharmonic<double COMMA -1> COMMA Vec3d COMMA ScaleToClosest>)
48 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 3> COMMA Vec3d COMMA ScaleToClosest>)
49 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 5> COMMA Vec3d COMMA ScaleToClosest>)
50 INSTANTIATE(RBFFD<Polyharmonic<double COMMA 7> COMMA Vec3d COMMA ScaleToClosest>)
51 
52 } // namespace mm
Monomials.hpp
mm
Root namespace for the whole library.
Definition: Gaussian.hpp:14
COMMA
#define COMMA
Macro for inserting a comma ",".
Definition: RBFFD.cpp:22
RBFFD.hpp
ScaleFunction.hpp
Polyharmonic.hpp
InverseMultiquadric.hpp
mm::Vec1d
Vec< double, 1 > Vec1d
Convenience typedef for 1d vector of doubles.
Definition: Vec_fwd.hpp:33
mm::Vec3d
Vec< double, 3 > Vec3d
Convenience typedef for 3d vector of doubles.
Definition: Vec_fwd.hpp:35
Gaussian.hpp
RBFBasis.hpp
Multiquadric.hpp
Vec.hpp
INSTANTIATE
#define INSTANTIATE(classname)
Macro for instantiating template classes with getShape method.
Definition: RBFFD.cpp:24
mm::Vec2d
Vec< double, 2 > Vec2d
Convenience typedef for 2d vector of doubles.
Definition: Vec_fwd.hpp:34