Criterion for the compactness of a class of functions of Wml(Ω), (1