RightBoundSegment struct
#include <gtopt/right_bound_rule.hpp>
One segment of a piecewise-linear bound function.
Each segment defines a linear function bound = constant + slope * V that is active when the reservoir volume is in range [volume, next_segment.volume). constant is the y-intercept at V = 0 (same convention as ReservoirSeepageSegment).
For a continuous piecewise function the constants are chosen so that adjacent segments agree at the breakpoint: constant_i = constant_{i-1} + slope_{i-1} * volume_i - slope_i * volume_i