Message Boards Message Boards

GROUPS:

Solve Laplace equation: how to make the recursion stop?

Posted 1 month ago
183 Views
|
2 Replies
|
0 Total Likes
|

Hello,

I'm implementing relaxation method to solve Laplaca equation. When the result is convergent enough, I want the recurrsion stops. But I used Nestlist, and cannot see how to make it stop by itself. I test the error until the error is smaller than 10^(-5), then stop it. But I want the algorithm do it by itself. The algorithm is as following: enter image description here