FORTRAN 90 - DVERK? - initial condition solver

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 6K views
FrogPad
Messages
801
Reaction score
0
Hi,

I am new to FORTRAN and am trying to work with a system of ODE's. Does someone know of a routine like DVERK for solving initial condition problems for FORTRAN 90?

In MATLAB I would simply use ODE45. I just need something similar.

Thank you!
 
Physics news on Phys.org
Your best bet would be to code your own. Start with a Eulers method, this is very simple though not so precise. A 4th order Runga Kutta routine is also easy to code and is quite accurate. Do a bit of web searching and have a go at it.
 
Yeah both the Euler and the fixed step size Runge-Kutta are simple implementations. The DVERK and ode45 both use adaptive step-size routines, and it gets much more complicated there.