I'd like to implement the Numerov scheme for solving an ODE (Scroedinger Eq time-independent) with NDSolve. I tried in analogy with the Runge Kutta example in the documentation:
Numerovv[]["Step"[rhs_, h_, t_, x_]] := Module[{},
-x[t - h] (2 (12 + 5 h^2 rhs[t - h]) )/(-12 + h^2 rhs[t]) +
x[t - 2 h] (12 - h^2 rhs[t - 2 h]) /(-12 + h^2 rhs[t])
];
Numerovv[___]["StepInput"] = {"F"["T"], "H", "T", "X"};
Numerovv[___]["StepOutput"] = "X";
Numerovv[___]["StepMode"] := Fixed;
Numerovv[___]["DifferenceOrder"] := 4;
But when I select Method -> "Numerovv", I get
The value of the option Method -> Numerovv is not a known built-in method, a symbol that could be a user-defined method, or a list with a name followed by method options. >>
Do I miss something?
{1.,0.}[-0.0472329]+2.\ {1.,0.}[-0.0236164],-1.\
{1.,0.}[-0.0472329]+1.99944\ {1.,0.}[-0.0236164]}, which is not an
acceptable form."" – Jason B. Mar 03 '16 at 10:19
NDSolve.The example is listed along with theClassical RungeKuttaexample mentioned above.Is it possible to solve this Numerov problem using the same way? – Turgon Mar 14 '16 at 04:52NDSolve[]'s framework assumes that methods plugged into it are for $\mathbf y^\prime=\mathbf f(x, \mathbf y)$. Numerov is not a method in that format, so adaptation is necessary. That you might need to figure out. – J. M.'s missing motivation Mar 14 '16 at 05:39