41 #ifndef DTK_RADIALBASISPOLICY_HPP 42 #define DTK_RADIALBASISPOLICY_HPP 44 #include <Teuchos_RCP.hpp> 53 template <
typename UndefinedRadialBasis>
56 static inline UndefinedRadialBasis notDefined()
58 return UndefinedRadialBasis::this_type_is_missing_a_specialization();
68 template <
typename RadialBasis>
76 static inline Teuchos::RCP<RadialBasis>
create()
84 const double radius,
const double x )
92 const double radius,
const double x )
105 #endif // end DTK_RADIALBASISPOLICY_HPP static double evaluateValue(const RadialBasis &basis, const double radius, const double x)
Compute the value of the basis at the given value.
static Teuchos::RCP< RadialBasis > create()
Creation method.
static double evaluateGradient(const RadialBasis &basis, const double radius, const double x)
Compute the gradient of the basis at the given value.
RadialBasis spline_basis_type
Typedef for RadialBasis.
Dummy struct. If a type does not create a specialization this will not compile.