Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
antik
gsll
Commits
fcc1723d
Commit
fcc1723d
authored
May 04, 2011
by
Liam M. Healy
Browse files
Clarify with-ode-integration used for scalar dependent variables
parent
ce11b970
Changes
1
Hide whitespace changes
Inline
Side-by-side
ordinary-differential-equations/ode-system.lisp
View file @
fcc1723d
;; ODE system setup
;; Liam Healy, Sun Apr 15 2007 - 14:19
;; Time-stamp: <201
0
-0
6-30 19:57:28
EDT ode-system.lisp>
;; Time-stamp: <201
1
-0
5-04 10:25:19
EDT 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
;;
;; This program is free software: you can redistribute it and/or modify
...
...
@@ -27,9 +27,13 @@
&key
jacobian
(
scalarsp
t
)
(
stepper
'+step-rk8pd+
)
(
absolute-error
1.0d-6
)
(
relative-error
0.0d0
))
&body
body
)
"Environment for integration of ordinary differential equations."
;; Note: the case jacobian=nil is not properly handled yet; it
;; should put a null pointer into the struct that is passed to GSL.
"Environment for integration of ordinary differential equations when dependent variables are individually named scalars."
;; Note: If the dependent variables are in a foreign array, it is
;; 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"
))
(
ctime
(
make-symbol
"CTIME"
))
(
cstep
(
make-symbol
"CSTEP"
)))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment