20#ifndef LIBMESH_RADIAL_BASIS_FUNCTIONS_H
21#define LIBMESH_RADIAL_BASIS_FUNCTIONS_H
27#include "libmesh/libmesh_common.h"
28#include "libmesh/utility.h"
74template <
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.);
Wendland's compactly supported Radial Basis Functions.
WendlandRBF(const Real r_cut=1.)
Constructor.
Real operator()(Real) const
Evaluate the radial basis function at the requested location.
The libMesh namespace provides an interface to certain functionality in the library.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real