Finite element interpolation of nonsmooth functions satisfying boundary conditions | Synapse