Variable grid mesh in Numerov's method (Fortran)

Click For Summary
SUMMARY

The discussion focuses on implementing a variable grid mesh in Numerov's method using Fortran for solving differential equations. The standard Numerov algorithm, which operates on a uniform grid, fails to account for the varying distances between grid points, necessitating modifications to the algorithm. The user proposes utilizing the chain rule in derivatives to adapt the Numerov method for a variable grid mesh, seeking guidance on iterative algorithm development and relevant textbooks.

PREREQUISITES
  • Numerov's method for solving differential equations
  • Fortran programming language
  • Understanding of iterative algorithms
  • Calculus concepts, specifically the chain rule
NEXT STEPS
  • Research modifications to Numerov's method for variable grid meshes
  • Learn about iterative algorithms for non-uniform grids
  • Study the application of the chain rule in numerical methods
  • Explore textbooks on numerical analysis and differential equations
USEFUL FOR

Mathematicians, physicists, and software developers working on numerical methods for differential equations, particularly those interested in adapting algorithms for variable grid meshes in Fortran.

Telemachus
Messages
820
Reaction score
30
I was trying to implement a variable grid mesh in Numerov's method, while playing with fortran. Numerov method was working well with a standard discretization, but when I tried to implement this variable grid, things came to look as if the 'metric' of the function were depending on the functionality I was using in the grid mesh. I thought that as Numerov's uses two points in the algorithm, that this variable mesh was introducing new things that the standard Numerov algorithm doesn't have in account.

So, basically, I want to know how should I develop an iterative algorithm to work on a variable grid mesh (specifically to solve differential equations), how to tell the algorithm that the previous or forward steps are not at the same distance. Perhaps someone here can help me, or give me some reference. Any textbook that covers this kind of topics?

Thanks in advance.
 
Physics news on Phys.org
After thinking of this, I've realized that I should modify the algorithm I'm using. I think that I should use the chain rule in the derivatives, so in that way I would have the information of how the points in the domain are varying. So, I should take a deeper look at Numerov's method and modify it to adapt to the gridmesh I'm using. Is that correct?

BTW, would this subforum be more appropriate for this topic: https://www.physicsforums.com/forums/programming-and-computer-science.165/ ?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
Replies
5
Views
2K
  • · Replies 23 ·
Replies
23
Views
5K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
8K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K