Enum BoundaryCondition
Defined in File spline_interpolator.hpp
Enum Documentation
-
enum class pcms::BoundaryCondition
Boundary condition options for spline interpolation.
This enum defines the various boundary conditions that can be applied during spline interpolation. The boundary condition flags can take the following values: PERIODIC | ibcxmin=-1 | ibcxmax=-1 – periodic boundary condition, where s’(x(0))=s’(x(-1)) and s’’(x(0))=s’’(x(-1)). NOT_A_KNOT | ibcxmin=0 | ibcxmax=0 – not-a-knot boundary condition. FIRST_DERIVATIVE_MATCH | ibcxmin=1 | ibcxmax=1 – first derivative match at x(0) or x(-1). SECOND_DERIVATIVE_MATCH | ibcxmin=2 | ibcxmax=2 – second derivative match at x(0) or x(-1). FIRST_DERIVATIVE_ZERO | ibcxmin=3 | ibcxmax=3 – first derivative equal to zero at x(0) or x(-1). SECOND_DERIVATIVE_ZERO | ibcxmin=4 | ibcxmax=4 – second derivative equal to zero at x(0) or x(-1). FIRST_DIV_DIFF_MATCH | ibcxmin=5 | ibcxmax=5 – first derivative matches the first divided difference. SECOND_DIV_DIFF_MATCH | ibcxmin=6 | ibcxmax=6 – second derivative matches the second divided difference. THIRD_DIV_DIFF_MATCH | ibcxmin=7 | ibcxmax=7 – third derivative matches the third divided difference.
Values:
-
enumerator PERIODIC
Periodic boundary condition: s’(x(0))=s’(x(-1)) and s’’(x(0))=s’’(x(-1))
-
enumerator NOT_A_KNOT
Not-a-knot boundary condition.
-
enumerator FIRST_DERIVATIVE_MATCH
First derivative match at boundary.
-
enumerator SECOND_DERIVATIVE_MATCH
Second derivative match at boundary.
-
enumerator FIRST_DERIVATIVE_ZERO
First derivative equal to zero at boundary.
-
enumerator SECOND_DERIVATIVE_ZERO
Second derivative equal to zero at boundary.
-
enumerator FIRST_DIV_DIFF_MATCH
First derivative matches first divided difference.
-
enumerator SECOND_DIV_DIFF_MATCH
Second derivative matches second divided difference.
-
enumerator THIRD_DIV_DIFF_MATCH
Third derivative matches third divided difference.
-
enumerator PERIODIC