Back to Search
Start Over
Automatic Reformulation of ODEs to Systems of First-Order Equations.
- Source :
-
ACM Transactions on Mathematical Software . Feb2018, Vol. 44 Issue 3, p1-18. 18p. - Publication Year :
- 2018
-
Abstract
- Most numerical ODE solvers require problems to be written as systems of first-order differential equations. This normally requires the user to rewrite higher-order differential equations as coupled first-order systems. Here, we introduce the treeVar class, written in object-oriented Matlab, which is capable of algorithmically reformulating higher-order ODEs to equivalent systems of first-order equations. This allows users to specify problems using a more natural syntax and saves them from having to manually derive the first-order reformulation. The technique works by using operator overloading to build up syntax trees of expressions as mathematical programs are evaluated. It then applies a set of rules to the resulting trees to obtain the first-order reformulation, which is returned as another program. This technique has connections with algorithmic/automatic differentiation. We present how treeVar has been incorporated in Chebfun, greatly improving the ODE capabilities of the system. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 00983500
- Volume :
- 44
- Issue :
- 3
- Database :
- Academic Search Index
- Journal :
- ACM Transactions on Mathematical Software
- Publication Type :
- Academic Journal
- Accession number :
- 128597416
- Full Text :
- https://doi.org/10.1145/3159443