24#ifndef DUMUX_COMMON_CUBIC_SPLINE_HERMITE_BASIS_HH
25#define DUMUX_COMMON_CUBIC_SPLINE_HERMITE_BASIS_HH
34template<
class Scalar =
double>
37 static constexpr Scalar
h00(
const Scalar t)
38 {
return t*(2.0*t*t - 3.0*t) + 1.0; }
40 static constexpr Scalar
h10(
const Scalar t)
41 {
return t*(t*t - 2.0*t + 1.0); }
43 static constexpr Scalar
h01(
const Scalar t)
44 {
return t*t*(3.0 - 2.0*t); }
46 static constexpr Scalar
h11(
const Scalar t)
47 {
return t*t*(t - 1.0); }
49 static constexpr Scalar
dh00(
const Scalar t)
50 {
return 6.0*t*(t - 1.0); }
52 static constexpr Scalar
dh10(
const Scalar t)
53 {
return t*(3.0*t - 4.0) + 1.0; }
55 static constexpr Scalar
dh01(
const Scalar t)
56 {
return 6.0*t*(1.0 - t); }
58 static constexpr Scalar
dh11(
const Scalar t)
59 {
return t*(3.0*t - 2.0); }
The cubic spline hermite basis.
Definition: cubicsplinehermitebasis.hh:36
static constexpr Scalar h01(const Scalar t)
Definition: cubicsplinehermitebasis.hh:43
static constexpr Scalar dh01(const Scalar t)
Definition: cubicsplinehermitebasis.hh:55
static constexpr Scalar dh11(const Scalar t)
Definition: cubicsplinehermitebasis.hh:58
static constexpr Scalar h11(const Scalar t)
Definition: cubicsplinehermitebasis.hh:46
static constexpr Scalar h00(const Scalar t)
Definition: cubicsplinehermitebasis.hh:37
static constexpr Scalar dh10(const Scalar t)
Definition: cubicsplinehermitebasis.hh:52
static constexpr Scalar h10(const Scalar t)
Definition: cubicsplinehermitebasis.hh:40
static constexpr Scalar dh00(const Scalar t)
Definition: cubicsplinehermitebasis.hh:49