20 #ifndef LIBMESH_RADIAL_BASIS_FUNCTIONS_H 21 #define LIBMESH_RADIAL_BASIS_FUNCTIONS_H 74 template <
unsigned int SpaceDim,
unsigned int Continuity>
87 { libmesh_experimental(); }
103 if (rad > _rcut)
return 0.;
107 return Utility::pow<2>(1.-rad);
114 if (rad > _rcut)
return 0.;
118 return Utility::pow<4>(1.-rad)*(4.*rad + 1.);
125 if (rad > _rcut)
return 0.;
129 return Utility::pow<6>(1.-rad)*((35.*rad + 18.)*rad + 3.);
136 if (rad > _rcut)
return 0.;
140 return Utility::pow<8>(1.-rad)*(((32.*rad + 25.)*rad + 8.)*rad + 1.);
147 #endif // #define LIBMESH_RADIAL_BASIS_FUNCTIONS_H Real operator()(Real) const
WendlandRBF(const Real r_cut=1.)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Interface for evaluating Wendland's radial basis functions.