Partial regularity for minimizers of a class of discontinuous Lagrangians | Synapse