In this example
F = NDSolveValue[{Derivative[2, 0][f][x, y] == y^2*f[x, y],f[1, y] == 1, Derivative[1,0][f][1, y] == 1}, f, {x, 0, 1}, {y, 0, 1}]
NDSolve evaluates to the correct solution, which can be confirmed by DSolve. I would like to know which numerical method was used.
I tried
F["Methods"]
(*{"Coordinates", "DerivativeOrder", "Domain", "ElementMesh", \
"Evaluate", "GetPolynomial", "Grid", "InterpolationMethod", \
"InterpolationOrder", "MethodInformation", "Methods", \
"OutputDimensions", "Periodicity", "PlottableQ", "Properties", \
"QuantityUnits", "Unpack", "ValuesOnGrid"}*)
Unfortunately F["MethodInformation"] doesn't evaluate.
Because F["ElementMesh"] gives None, I assume it's not a FEM-solver. I also tried Trace without success.
How can I get further information concerning "MethodInformation" used by NDSolve ?
F["MethodInformation"], I get the errorMethodInformation called with 0 arguments; 1 argument is expected., so it seems that, at least in that version, your syntax is wrong. – mattiav27 Feb 27 '24 at 10:19command := NDSolveValue[{Derivative[2, 0][f][x, y] == y^2*f[x, y], f[1, y] == 1, Derivative[1, 0][f][1, y] == 1}, f, {x, 0, 1}, {y, 0, 1}]; Select[Flatten[ Trace[command, TraceInternal -> True]], ! FreeQ[#, Method | NDSolveMethodData] &]saysNDSolve Newtonat the end. before it saidNDSolve LSODA` – Nasser Feb 27 '24 at 10:41Fwon't help much here, becauseFis anInterpolatingFunction[…]which isn't necessarily generated byNDSolve, and info ofNDSolveis just not there. (Of course, you can checkElementMeshto determine ifFiniteElementmethod is used. ) – xzczd Feb 27 '24 at 10:53Trace– Ulrich Neumann Feb 27 '24 at 11:10