Boundary-aware hodge decompositions for piecewise constant vector fields. (September 2016)