topology and significantly reduces the memory footprint. This approximation is based on a
segmentation. The flow within each segmentation region is approximated by an affine linear
function. The implementation is driven by four aims:(1) the approximation preserves the
original topology;(2) the maximal approximation error is below a user-defined threshold in
all regions;(3) the number of regions is as small as possible; and (4) each point has the …