(function from pyomo.dae.misc)
pyomo.dae.misc
Adds continuity equations in the case that the polynomial basis function does not have a root at the finite element boundary