|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_function_cspline_h
17 #define dealii_function_cspline_h
21 #ifdef DEAL_II_WITH_GSL
26 # include <gsl/gsl_spline.h>
34 <<
"Interpolation points vector size can not be <" << arg1
40 <<
"The size of interpolation points <" << arg1
41 <<
"> is different from the size of interpolation values <"
49 <<
"The input interpolation points are not strictly ordered : "
51 <<
"x[" << arg1 <<
"] = " << arg2 <<
" >= x[" << (arg1 + 1)
52 <<
"] = " << arg3 <<
".");
59 <<
"Spline function can not be evaluated outside of the interpolation range: "
61 << arg1 <<
" is not in [" << arg2 <<
";" << arg3 <<
"].");
94 const unsigned int component = 0)
const override;
98 const unsigned int component = 0)
const override;
102 const unsigned int component = 0)
const override;
106 const unsigned int component = 0)
const override;
virtual double value(const Point< dim > &point, const unsigned int component=0) const override
const std::vector< double > interpolation_points
Point< spacedim > point(const gp_Pnt &p, const double tolerance=1e-10)
const std::vector< double > interpolation_values
static ::ExceptionBase & ExcCSplineEmpty(int arg1)
#define DEAL_II_NAMESPACE_OPEN
#define DeclException3(Exception3, type1, type2, type3, outsequence)
#define DeclException1(Exception1, type1, outsequence)
virtual ~CSpline() override
virtual Tensor< 1, dim > gradient(const Point< dim > &p, const unsigned int component=0) const override
CSpline(const std::vector< double > &interpolation_points, const std::vector< double > &interpolation_values)
std::size_t memory_consumption() const
static ::ExceptionBase & ExcCSplineOrder(int arg1, double arg2, double arg3)
static ::ExceptionBase & ExcCSplineRange(double arg1, double arg2, double arg3)
virtual SymmetricTensor< 2, dim > hessian(const Point< dim > &p, const unsigned int component=0) const override
virtual double laplacian(const Point< dim > &p, const unsigned int component=0) const override
static ::ExceptionBase & ExcCSplineSizeMismatch(int arg1, int arg2)
#define DEAL_II_NAMESPACE_CLOSE
#define DeclException2(Exception2, type1, type2, outsequence)