Harmonic Criterion for the Hodge Laplacian