nonlinear schrodinger PDF
- To: mathgroup at smc.vnet.net
- Subject: [mg7095] nonlinear schrodinger PDF
- From: "Weigang(Victor) Feng" <wfeng at cs.umb.edu>
- Date: Wed, 7 May 1997 01:58:18 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, there, when I try to solve the below eq using NDSolve, I met the below
situation, I am novice to numerical PDF, is anybody can help to make it
work?
NDSolve[{1/2 D[y[x, t], t, t]+Abs[y[x,t]]^2 y[x,t] ==I D[y[x, t], x, x],
y[x, 0] == Exp[-x^2], Derivative[0,1][y][x, 0] == 0,
y[-5, t] == y[5, t]}, y, {x, -5, 5}, {t, 0, 5}]
NDSolve::"mxst":
"Maximum number of \!\(1000\) steps reached at the point \!\(t\) == \
\!\(3.93328131362742325`\)."
NDSolve::"eerr":
"Warning: Estimated spatial error at \!\(t\) =
\!\(3.93328131362742325`\) \
is much greater than prescribed error tolerance. Grid spacing \
\!\(\*StyleBox[\"0.175438596491228064`\", Rule[PrintPrecision, 16], \
Rule[StyleBoxAutoDelete, True]]\) which was based on the initial
conditions \
may be too large. A singularity may have formed or you may want to
specify a \
smaller grid spacing using the StartingStepSize option."
Out of memory. Exiting.