whether meshes affect computational step lengths in pdepe
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
feynman feynman
am 19 Jan. 2024
Bearbeitet: Torsten
am 20 Jan. 2024
In pdepe the user specifies an xmesh and tmesh. Do these meshes affect what meshes and computational step lengths adopted by the solver and hence the error? In other words are the computational step lengths self adaptive as in ode23 etc?
0 Kommentare
Akzeptierte Antwort
Torsten
am 19 Jan. 2024
Bearbeitet: Torsten
am 19 Jan. 2024
Adaptive in x: no. Adaptive in t: yes. Thus the x-mesh affects computational accuracy, the t-mesh not. The accuracy in t is influenced as usual by the relative and absolute tolerances in the "odeset".
4 Kommentare
Torsten
am 20 Jan. 2024
Bearbeitet: Torsten
am 20 Jan. 2024
A complicated profile of a function can only be reconstructed by its spatial derivatives if there are enough supporting points. Thus convergence to the solution of a complicated function can only be achieved if the x-mesh is chosen fine enough.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!