- Apr 08, 2011
-
-
Liam M. Healy authored
-
- Jul 01, 2010
-
-
Liam Healy authored
-
- Jun 30, 2010
-
-
Liam Healy authored
-
- Dec 27, 2009
-
-
Liam Healy authored
Add copyright and license information to each file, include a copy of the GPL under documentation/COPYING.
-
- Mar 30, 2009
-
-
Liam Healy authored
Changed the defmobject definitions to handle a 'callback-included-cl object. Changed the ODE solver definitions to take separate arguments for the function and Jacobian, as well as scalarsp. Not completely finished, but tests (integrate-vanderpol 1.0d0 1.d-4 +step-rk2+ nil) (integrate-vanderpol 1.0d0 1.d-4 +step-rkf45+ nil) work correctly.
-
- Mar 26, 2009
-
-
Liam Healy authored
New specification of callback arguments parse-callback-argspec takes io, element-type, array-type, dimensions Not at all implemented anywhere in the code. Made file funcallable.lisp out of the old defmcallback, designed to create a lambda for compilation that will be funcalled by the (new) defmcallback body. This still uses the old specification for function arguments. Started porting ODE callbacks, but this has been suspended while the first two changes are being completed. None of this works in any way.
-
- Feb 23, 2009
-
-
Liam Healy authored
New symbol name +step-rk8pd+ missed in one spot.
-
- Feb 15, 2009
-
-
Liam Healy authored
The arguments have been changed in apply-step, apply-evolution so that they match for the first three arguments. The function name apply-step was changed so the two are similar. The macro with-ode-integration defines a local function #'next-step instead of a symbol macro 'make-next-step because symbols in the body of a simple loop violate the CL standard. Some documentation has been updated with the contribution of Mirko Vikovic.
-
Liam Healy authored
Changed the code so that the callback struct is now in ode-stepper instead of ode-evolution, because all solvers need stepper but only variable step integrators need evolution. The ode examples/tests work.
-
Liam Healy authored
Mobject 'ode-evolution is now made as a subclass of 'callbacks-included-cl, a new class that is a subclass of 'callbacks-included, but which stores the cbstruct pointer in a CL slot rather than in a foreign struct. This example is correct, (integrate-vanderpol 1.0d0 1.d-4 *step-rk4* nil) 40 1.0d0 -1.4568569264026898d0 -11.547449151779395d0
-
- Jan 26, 2009
-
-
Liam Healy authored
The macro with-ode-integration has been significantly altered, using marrays and symbol macros to make integration forms easier. There are now 10 ode tests, one for each of the supplied steppers.
-
- Jan 25, 2009
-
-
Liam Healy authored
ODE control is now done with GSL objects, including a superclass 'ode-control.
-
- Jan 24, 2009
-
-
Liam Healy authored
Macro defcbstruct and all the macros built on it now simply return the C struct needed by GSL functions instead of binding a special whose name is then passed to the GSL functions. Specials can still be used of course in the standard way like defparameter, but the results can also be bound locally with a let or passed in directly. The name of a callback passed to defmcallback and to defcbstruct in all the macros that expand both is now gensymmed (since it is used only long enough to put in a slot of the cbstruct) instead of taken to be the name of the CL function, in order to make clear the different objects. Unfortunately, there is appears to be a bug in CFFI using defcallback with an uninterned symbol in CCL, so I have put a workaround in. However, there is still another error even with this workaround. Thus test results are: SBCL 64: TOTAL: 1248 assertions passed, 5 failed, 0 execution errors. CCL 64: TOTAL: 1229 assertions passed, 2 failed, 6 execution errors.
-
- Jan 21, 2009
-
-
Liam Healy authored
Defined mobjects 'ode-step and 'ode-evolution; "reset" is the reinitialize-instance method. Test 'ode works.
-
- Jan 19, 2009
-
-
Liam Healy authored
New definition for defmcallback will now convert C array pointers passed to the function by GSL into individual scalar arguments of the CL function, and will take multiple value returns and assign as elements of the return C arrays. Applied to def-ode-functions and the van der Pol oscillator example. Redefined #'maref-function-picker as a macro from a function, eliminating the need for an eval-when form.
-
- Aug 22, 2008
-
-
Liam Healy authored
Port ordinary-differential-equations to "ffa" which is really just a few changes to sizet. The example runs and the results look reasonable.
-
- Jul 25, 2008
-
-
lhealy authored
git-svn-id: svn+ssh://common-lisp.net/project/gsll/svn/trunk@26 af03a46b-e846-0410-96e5-d5653c316fd0
-
- Feb 18, 2008
-
-
liam authored
Rename defun-gsl, defvariable. Clean up markup and header files. :size to size make-tests and assert-numerical-equal git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3295 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jan 29, 2008
-
-
liam authored
hashtable for speed. Fix bug in return value in success-failure and success-continue cases. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3277 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jan 21, 2008
-
-
liam authored
#'def-scalar-function into two macros, #'defmcallback and #'defcbstruct, which are in turn used in other macros #'def-solver-functions, #'def-minimization-functions, and #'def-ode-functions. Minor bug fixes. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3270 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jan 16, 2008
-
-
liam authored
'success returns the GSL_SUCCESS code, required for many callback definitions. Introduced macros vref and mref (setfable) to get components of GSL vector doubles and matrix doubles directly from the pointers. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3265 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Jan 06, 2008
-
-
liam authored
application to Monte Carlo, simulated annealing, ordinary differential equations. Simulated annealing still does not work. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3258 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Oct 01, 2007
-
-
liam authored
Allocating stepper causes memory fault. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3234 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Sep 30, 2007
-
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3233 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Sep 25, 2007
-
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3230 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
liam authored
ordinary-differential-equations. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3229 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
liam authored
git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3228 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-
- Sep 16, 2007
-
-
liam authored
ordinary-differential-equations (started). Change *-to-cl from functions into macros, eliminate obsolete definitions. Update descriptions. git-svn-id: svn+ssh://pop/opt/space/mathematics/gsl/trunk@3226 a3d8a0fb-c1db-0310-ace7-a616afeb9e30
-