12std::ostream& operator<<(std::ostream& os,
ddc::
BoundCond const bc)
15 return os <<
"PERIODIC";
19 return os <<
"HERMITE";
23 return os <<
"HOMOGENEOUS_HERMITE";
27 return os <<
"GREVILLE";
30 throw std::runtime_error(
"ddc::BoundCond not handled");
The top-level namespace of DDC.
BoundCond
An enum representing a spline boundary condition.
@ HOMOGENEOUS_HERMITE
Homogeneous Hermite boundary condition (derivatives are 0)
@ 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)