Extracted "qcheck" function from physiq_mod.F90 module; it is self-standing and general, and moreover its being in the physiq module causes compilation issues with ifort. EM