Gravar e-mail: Sharp conditions of global existence for nonlinear Schrödinger equation with a harmonic potential