14
15
23
24
25
26
27
28
29
30static inline std::ostream& operator<<(std::ostream& out,
ddc::
BoundCond const bc)
33 return out <<
"PERIODIC";
37 return out <<
"HERMITE";
41 return out <<
"GREVILLE";
44 throw std::runtime_error(
"ddc::BoundCond not handled");
48
49
50
51
52
53
54
65 throw std::runtime_error(
"ddc::BoundCond not handled");
The top-level namespace of DDC.
constexpr int n_boundary_equations(ddc::BoundCond const bc, std::size_t const degree)
Return the number of equations needed to describe a given boundary condition.
BoundCond
An enum representing a spline boundary condition.
@ GREVILLE
Use Greville points instead of conditions on derivative for B-Spline interpolation.
@ HERMITE
Hermite boundary condition.
@ PERIODIC
Periodic boundary condition u(1)=u(n)