Pontificia Universidad Católica de Chile Pontificia Universidad Católica de Chile
Gelmi C. and Jorquera H. (2014)

IDSOLVER: A general purpose solver for nth-order integro-differential equations

Revista : Computer Physics Communications
Volumen : 185
Número : 1
Páginas : 392-397
Tipo de publicación : ISI Ir a publicación

Abstract

Many mathematical models of complex processes may be posed as integro-differential equations (IDE). Many numerical methods have been proposed for solving those equations, but most of them are ad hoc thus new equations have to be solved from scratch for translating the IDE into the framework of the specific method chosen. Furthermore, there is a paucity of general-purpose numerical solvers that free the user from additional tasks.Here we present a general-purpose MATLAB® solver that has the above features. We have chosen to use a numerical quadrature algorithm combined with an accurate and efficient ODE solver–both within MATLAB® environment–to construct a routine (idsolver) capable of solving a wide variety of IDE of arbitrary order, including the Volterra and Fredholm IDE, variable limits on the integral, and non-linear IDE. The solver performs successive relaxation iterations until convergence is achieved. The user has to define a kernel, limits of integration and a forcing function, then launch the routine and get accurate results by tuning in a single tolerance parameter, as described below for several numerical examples. We have found, by solving several numerical examples from the literature, that the method is robust, fast and accurate.