Skip to content
Snippets Groups Projects
Commit fcc1723d authored by Liam M. Healy's avatar Liam M. Healy
Browse files

Clarify with-ode-integration used for scalar dependent variables

parent ce11b970
No related branches found
No related tags found
No related merge requests found
;; ODE system setup ;; ODE system setup
;; Liam Healy, Sun Apr 15 2007 - 14:19 ;; Liam Healy, Sun Apr 15 2007 - 14:19
;; Time-stamp: <2010-06-30 19:57:28EDT ode-system.lisp> ;; Time-stamp: <2011-05-04 10:25:19EDT ode-system.lisp>
;; ;;
;; Copyright 2007, 2008, 2009 Liam M. Healy ;; Copyright 2007, 2008, 2009, 2010, 2011 Liam M. Healy
;; Distributed under the terms of the GNU General Public License ;; Distributed under the terms of the GNU General Public License
;; ;;
;; This program is free software: you can redistribute it and/or modify ;; This program is free software: you can redistribute it and/or modify
...@@ -27,9 +27,13 @@ ...@@ -27,9 +27,13 @@
&key jacobian (scalarsp t) (stepper '+step-rk8pd+) &key jacobian (scalarsp t) (stepper '+step-rk8pd+)
(absolute-error 1.0d-6) (relative-error 0.0d0)) (absolute-error 1.0d-6) (relative-error 0.0d0))
&body body) &body body)
"Environment for integration of ordinary differential equations." "Environment for integration of ordinary differential equations when dependent variables are individually named scalars."
;; Note: the case jacobian=nil is not properly handled yet; it ;; Note: If the dependent variables are in a foreign array, it is
;; should put a null pointer into the struct that is passed to GSL. ;; best to call the ODE functions directly; this macro is just
;; provided as a convenience if they are separate scalars.
;; Note:
;; the case jacobian=nil is not properly handled yet; it should put
;; a null pointer into the struct that is passed to GSL.
(let ((dep (make-symbol "DEP")) (let ((dep (make-symbol "DEP"))
(ctime (make-symbol "CTIME")) (ctime (make-symbol "CTIME"))
(cstep (make-symbol "CSTEP"))) (cstep (make-symbol "CSTEP")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment