You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code uses a large initial interval (r_interval[0]) for the IVP solver. This might be unnecessary, especially if f decays rapidly with increasing r. Reducing the initial interval to a value just larger than the region of interest can potentially improve performance.
@PaulWAyers Yes it worked for a few test cases where function f was inversely proportional to r. Cases, when f depends directly on r, might add extra computation in IVP because of larger domain traversal.
Use of Relaxation Techniques for Poisson’s Equation one of which is Successive Over-Relaxation (SOR) would help too.
The current boundary-value-problem for the Poisson solver is pretty robust. The initial value problem is a lot less robust.
It's a good first issue to try to make this work more efficiently. I will post some notes on how to do this.
The text was updated successfully, but these errors were encountered: