A Characterization of Fields in the Calculus of Variations.